Skip to content

Commit ac59058

Browse files
author
Jin Huang
committed
Move the contents of Gemfile to common.rb
1 parent b940ed3 commit ac59058

File tree

7 files changed

+44
-228
lines changed

7 files changed

+44
-228
lines changed

Gemfile.2.7

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 0.79.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

Gemfile.3.0

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 1.13.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

Gemfile.3.1

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 1.13.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

Gemfile.3.2

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 1.13.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

Gemfile.3.3

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 1.13.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

Gemfile.jruby-9.4

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1 @@
1-
source 'https://rubygems.org'
2-
3-
gem "jruby-openssl", platforms: :jruby
4-
gem "mini_mime"
5-
gem "rake"
6-
gem "addressable", ">= 2.8.0"
7-
gem "yard"
8-
gem "json", ">= 2.3.0", platforms: :ruby
9-
gem "scrub_rb"
10-
11-
gem "rubocop", "~> 1.13.0", require: false # Handling of Ruby 2.7 syntax
12-
13-
group :test do
14-
gem "webmock"
15-
gem "vcr", "~> 6.0"
16-
17-
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18-
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19-
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20-
gem "rspec-support", "3.10.3"
21-
gem "rspec-core", "3.10.1"
22-
gem "rspec-expectations", "3.10.2"
23-
gem "rspec-mocks", "3.10.2"
24-
gem "rspec", "3.10.0"
25-
26-
# only used for uploads testing
27-
gem "actionpack", ">= 5.2.4.6"
28-
end
29-
30-
group :dev do
31-
gem "bump"
32-
end
33-
34-
group :dev, :test do
35-
gem "byebug", platforms: :ruby
36-
end
37-
38-
gemspec
1+
eval_gemfile('common.rb')

common.rb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
source 'https://rubygems.org'
2+
3+
gem "jruby-openssl", platforms: :jruby
4+
gem "mini_mime"
5+
gem "rake"
6+
gem "addressable", ">= 2.8.0"
7+
gem "yard"
8+
gem "json", ">= 2.3.0", platforms: :ruby
9+
gem "scrub_rb"
10+
11+
gem "rubocop", "~> 0.79.0", require: false # Handling of Ruby 2.7 syntax
12+
13+
group :test do
14+
gem "webmock"
15+
gem "vcr", "~> 6.0"
16+
17+
# Hardcoding these gems as the newer version makes the tests fail in Ruby 3
18+
# See https://github.com/zendesk/zendesk_api_client_rb/runs/5013748785?check_suite_focus=true#step:4:59
19+
# NOTE: This affects previous build re-runs because we don't store Gemfile.lock
20+
gem "rspec-support", "3.10.3"
21+
gem "rspec-core", "3.10.1"
22+
gem "rspec-expectations", "3.10.2"
23+
gem "rspec-mocks", "3.10.2"
24+
gem "rspec", "3.10.0"
25+
26+
# only used for uploads testing
27+
gem "actionpack", ">= 5.2.4.6"
28+
end
29+
30+
group :dev do
31+
gem "bump"
32+
end
33+
34+
group :dev, :test do
35+
gem "byebug", platforms: :ruby
36+
end
37+
38+
gemspec

0 commit comments

Comments
 (0)