Skip to content

Commit

Permalink
DG-27453 Run integration tests with Ruby 3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
nishatbaig committed May 8, 2024
1 parent f2d77b9 commit da6b631
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 56 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.3
121 changes: 67 additions & 54 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,84 +7,97 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.1)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
bigdecimal (3.1.8)
codeclimate-test-reporter (1.0.7)
simplecov
coderay (1.1.3)
concurrent-ruby (1.1.7)
coveralls_reborn (0.18.0)
simplecov (>= 0.18.1, < 0.20.0)
term-ansicolor (~> 1.6)
thor (>= 0.20.3, < 2.0)
tins (~> 1.16)
crack (0.4.4)
diff-lcs (1.4.4)
docile (1.3.2)
concurrent-ruby (1.2.3)
coveralls_reborn (0.28.0)
simplecov (~> 0.22.0)
term-ansicolor (~> 1.7)
thor (~> 1.2)
tins (~> 1.32)
crack (1.0.0)
bigdecimal
rexml
diff-lcs (1.5.1)
docile (1.4.0)
excon (0.110.0)
faker (2.14.0)
i18n (>= 1.6, < 2)
faker (3.3.1)
i18n (>= 1.8.11, < 2)
git_bpf (1.0.1)
hashdiff (1.0.1)
i18n (1.8.5)
hashdiff (1.1.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
method_source (1.0.0)
parallel (1.19.2)
parser (2.7.2.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
method_source (1.1.0)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
pry (0.13.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (1.8.2)
rexml (3.2.4)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.0)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.0)
public_suffix (5.0.5)
racc (1.7.3)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.0)
rubocop (1.2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.63.4)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 2.7.1.5)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8)
rexml
rubocop-ast (>= 1.0.1)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (1.1.1)
parser (>= 2.7.1.5)
ruby-progressbar (1.10.1)
simplecov (0.19.1)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sync (0.5.0)
term-ansicolor (1.7.1)
term-ansicolor (1.8.0)
tins (~> 1.0)
thor (1.0.1)
tins (1.26.0)
thor (1.3.1)
tins (1.33.0)
bigdecimal
sync
unicode-display_width (1.7.0)
webmock (3.9.4)
addressable (>= 2.3.6)
unicode-display_width (2.5.0)
webmock (3.23.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
yard (0.9.25)
yard (0.9.36)

PLATFORMS
ruby
x86_64-darwin-22

DEPENDENCIES
bundler
Expand All @@ -102,4 +115,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.2.17
2.5.10
2 changes: 1 addition & 1 deletion spec/domains_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
expect(@conn).to receive(:get)
.with("#{path}?limit=7&page=2")
.and_return(domains_data)
@conn.domains.get_all({ limit: 7, page: 2 })
@conn.domains.get_all(limit: 7, page: 2)
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/site_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
expect(@conn).to receive(:get)
.with('/api/v1/sites?show_incomplete=true&stack_id=2&page=1')
.and_return({ 'count' => 0, 'sites' => [] })
@conn.site.site_list({ show_incomplete: true, stack_id: 2 })
@conn.site.site_list(show_incomplete: true, stack_id: 2)
end

it 'returns the error message from the api' do
Expand Down

0 comments on commit da6b631

Please sign in to comment.