Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Update Cucumber in Gemfile.lock #294

Merged
merged 1 commit into from
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.2.7] - 2022-10-06
### Security
- Upgrade cucumber (2.99.0 -> 7.1.0) and aruba (1.1.2 -> 2.0.0)
to resolve medium severity security issue on Snyk
[cyberark/conjur-service-broker#294](https://github.com/cyberark/conjur-service-broker/pull/294)

## [1.2.6] - 2022-08-16
### Security
- Updated tzinfo to 1.2.10 in Gemfile.lock and test/integration/test-app/Gemfile.lock to
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ gem 'puma', '5.6.4'
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'cucumber', '~> 2'
gem 'cucumber', '~> 7.1.0'
gem 'json_spec', '~> 1.1.5'
gem 'aruba'
gem 'rspec', '~> 3'
Expand Down
51 changes: 36 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ GEM
tzinfo (~> 1.1)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
aruba (1.1.2)
aruba (2.0.0)
bundler (>= 1.17, < 3.0)
childprocess (>= 2.0, < 5.0)
contracts (>= 0.16.0, < 0.18.0)
cucumber (>= 2.4, < 7.0)
cucumber (>= 4.0, < 8.0)
rspec-expectations (~> 3.4)
thor (~> 1.0)
builder (3.2.4)
Expand All @@ -47,23 +47,42 @@ GEM
rest-client
contracts (0.16.1)
crass (1.0.6)
cucumber (2.99.0)
builder (>= 2.1.2)
cucumber-core (~> 1.5.0)
cucumber-wire (~> 0.0.1)
diff-lcs (>= 1.1.3)
gherkin (~> 4.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (1.5.0)
gherkin (~> 4.0)
cucumber-wire (0.0.1)
cucumber (7.1.0)
builder (~> 3.2, >= 3.2.4)
cucumber-core (~> 10.1, >= 10.1.0)
cucumber-create-meta (~> 6.0, >= 6.0.1)
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
cucumber-gherkin (~> 22.0, >= 22.0.0)
cucumber-html-formatter (~> 17.0, >= 17.0.0)
cucumber-messages (~> 17.1, >= 17.1.1)
cucumber-wire (~> 6.2, >= 6.2.0)
diff-lcs (~> 1.4, >= 1.4.4)
mime-types (~> 3.3, >= 3.3.1)
multi_test (~> 0.1, >= 0.1.2)
sys-uname (~> 1.2, >= 1.2.2)
cucumber-core (10.1.0)
cucumber-gherkin (~> 22.0, >= 22.0.0)
cucumber-messages (~> 17.1, >= 17.1.1)
cucumber-tag-expressions (~> 4.0, >= 4.0.2)
cucumber-create-meta (6.0.4)
cucumber-messages (~> 17.1, >= 17.1.1)
sys-uname (~> 1.2, >= 1.2.2)
cucumber-cucumber-expressions (14.0.0)
cucumber-gherkin (22.0.0)
cucumber-messages (~> 17.1, >= 17.1.1)
cucumber-html-formatter (17.0.0)
cucumber-messages (~> 17.1, >= 17.1.0)
cucumber-messages (17.1.1)
cucumber-tag-expressions (4.1.0)
cucumber-wire (6.2.0)
cucumber-core (~> 10.1, >= 10.1.0)
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
cucumber-messages (~> 17.1, >= 17.1.1)
diff-lcs (1.5.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
erubi (1.10.0)
ffi (1.15.5)
gherkin (4.1.3)
http-accept (1.7.0)
http-cookie (1.0.4)
domain_name (~> 0.5)
Expand Down Expand Up @@ -164,6 +183,8 @@ GEM
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sys-uname (1.2.2)
ffi (~> 1.1)
thor (1.0.1)
thread_safe (0.3.6)
tomlrb (2.0.1)
Expand All @@ -187,7 +208,7 @@ DEPENDENCIES
byebug
ci_reporter_rspec (~> 1)
conjur-api (~> 5.3.4)
cucumber (~> 2)
cucumber (~> 7.1.0)
json-schema (= 2.8.0)
json_spec (~> 1.1.5)
license_finder
Expand Down
6 changes: 3 additions & 3 deletions dev/dev_env_menu
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function sub_menu() {
}

function dry_run() {
cucumber --dry-run --tags "~@integration" --format pretty --quiet
cucumber --dry-run --tags "not @integration" --format pretty --quiet
}

function unit_test() {
Expand All @@ -93,7 +93,7 @@ function integration_test() {
cucumber \
--format junit \
--out features/reports \
--tags "~@integration" \
--tags "not @integration" \
--format pretty \
--backtrace \
--verbose
Expand All @@ -105,7 +105,7 @@ function test_by_name() {
cucumber \
--format junit \
--out features/reports \
--tags "~@integration" \
--tags "not @integration" \
--format pretty \
--backtrace \
--verbose \
Expand Down
2 changes: 1 addition & 1 deletion dev/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function runTests() {
cucumber \
--format junit \
--out features/reports \
--tags "~@integration" \
--tags "not @integration" \
--format pretty \
--backtrace \
--verbose
Expand Down
2 changes: 1 addition & 1 deletion features/support/hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
@space_host_enabled = true
end

Before("~@enable-space-host") do
Before("not @enable-space-host") do
@space_host_enabled = false
end
3 changes: 3 additions & 0 deletions features/support/world.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
require 'uri'
require 'securerandom'

require_relative 'cf_helper'
require_relative 'http_helper'
require_relative 'conjur_helper'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems weird to me that you should have to require these as cucumber (I believe) usually loads all your helper files for you. It may be related to this breaking change in v4. In any case I think this change is fine. If it is related to the v4 change and this is all it takes to use the new loading scheme, then that's great.

Nitpick, but could you please remove the extra spaces below these require_relatives?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good! i'm confident this new loading scheme was necessary as RuntimeErrors would pop up without it – which is still weird as it seemingly looks like Ruby does do the auto-loading for you


module ServiceBrokerWorld
include CfHelper
Expand Down