Skip to content

Commit 28ed481

Browse files
committed
update tests to use ruby 3.2.0 and newer gems versions
1 parent f0c8344 commit 28ed481

File tree

3 files changed

+34
-26
lines changed

3 files changed

+34
-26
lines changed

test/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22

3-
ruby '2.1.2'
3+
ruby '3.2.0'
44

55
gem 'rake'
66

test/Gemfile.lock

+32-24
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,59 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
Platform (0.4.0)
5-
addressable (2.3.8)
6-
byebug (6.0.2)
7-
cookiejar (0.3.2)
8-
diff-lcs (1.2.5)
9-
em-eventsource (0.2.1)
4+
Platform (0.4.2)
5+
addressable (2.8.1)
6+
public_suffix (>= 2.0.2, < 6.0)
7+
byebug (11.1.3)
8+
cookiejar (0.3.3)
9+
diff-lcs (1.5.0)
10+
em-eventsource (0.3.2)
1011
em-http-request (~> 1.0)
1112
eventmachine (~> 1.0)
12-
em-http-request (1.1.2)
13+
em-http-request (1.1.7)
1314
addressable (>= 2.3.4)
14-
cookiejar
15+
cookiejar (!= 0.3.1)
1516
em-socksify (>= 0.3)
1617
eventmachine (>= 1.0.3)
1718
http_parser.rb (>= 0.6.0)
18-
em-socksify (0.3.1)
19+
em-socksify (0.3.2)
1920
eventmachine (>= 1.0.0.beta.4)
20-
eventmachine (1.0.8)
21-
http_parser.rb (0.6.0)
21+
eventmachine (1.2.7)
22+
http_parser.rb (0.8.0)
2223
nginx_test_helper (0.4.1)
2324
popen4
2425
open4 (1.3.4)
2526
popen4 (0.1.2)
2627
Platform (>= 0.4.0)
2728
open4 (>= 0.4.0)
28-
rake (10.4.2)
29-
rspec (3.3.0)
30-
rspec-core (~> 3.3.0)
31-
rspec-expectations (~> 3.3.0)
32-
rspec-mocks (~> 3.3.0)
33-
rspec-core (3.3.2)
34-
rspec-support (~> 3.3.0)
35-
rspec-expectations (3.3.1)
29+
public_suffix (5.0.1)
30+
rake (13.0.6)
31+
rspec (3.12.0)
32+
rspec-core (~> 3.12.0)
33+
rspec-expectations (~> 3.12.0)
34+
rspec-mocks (~> 3.12.0)
35+
rspec-core (3.12.0)
36+
rspec-support (~> 3.12.0)
37+
rspec-expectations (3.12.2)
3638
diff-lcs (>= 1.2.0, < 2.0)
37-
rspec-support (~> 3.3.0)
38-
rspec-mocks (3.3.2)
39+
rspec-support (~> 3.12.0)
40+
rspec-mocks (3.12.3)
3941
diff-lcs (>= 1.2.0, < 2.0)
40-
rspec-support (~> 3.3.0)
41-
rspec-support (3.3.0)
42+
rspec-support (~> 3.12.0)
43+
rspec-support (3.12.0)
4244

4345
PLATFORMS
44-
ruby
46+
x86_64-linux
4547

4648
DEPENDENCIES
4749
byebug
4850
em-eventsource
4951
nginx_test_helper (~> 0.4.0)
5052
rake
5153
rspec
54+
55+
RUBY VERSION
56+
ruby 3.2.0p0
57+
58+
BUNDLED WITH
59+
2.4.1

test/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Set up gems listed in the Gemfile.
44
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', File.dirname(__FILE__))
55

6-
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
6+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
77
Bundler.require(:default, :test) if defined?(Bundler)
88

99
require File.expand_path('nginx_configuration', File.dirname(__FILE__))

0 commit comments

Comments
 (0)