mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Gemfile / gemspec files compatible with Rails 6
This commit is contained in:
parent
10bb732148
commit
ac65dc1780
@ -1 +1 @@
|
||||
2.3.1
|
||||
2.6.3
|
||||
|
||||
2
Gemfile
2
Gemfile
@ -9,7 +9,7 @@ gem 'rails', "#{rails_version}"
|
||||
case rails_version.split('.').first
|
||||
when '3'
|
||||
gem 'strong_parameters'
|
||||
when '4', '5'
|
||||
when '4', '5', '6'
|
||||
gem 'responders'
|
||||
end
|
||||
|
||||
|
||||
@ -13,5 +13,5 @@ Gem::Specification.new do |s|
|
||||
|
||||
s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile"]
|
||||
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.1'
|
||||
end
|
||||
|
||||
@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
||||
|
||||
s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ]
|
||||
|
||||
s.add_dependency 'activesupport', '>= 3.1', '< 6.0'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
||||
s.add_dependency 'activesupport', '>= 3.1', '< 6.1'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.1'
|
||||
s.add_dependency 'json-schema', '~> 2.2'
|
||||
end
|
||||
|
||||
@ -13,6 +13,6 @@ Gem::Specification.new do |s|
|
||||
|
||||
s.files = Dir.glob("{lib,node_modules}/**/*") + ["MIT-LICENSE", "Rakefile" ]
|
||||
|
||||
s.add_dependency 'actionpack', '>=3.1', '< 6.0'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
||||
s.add_dependency 'actionpack', '>=3.1', '< 6.1'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.1'
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user