You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
565 B
30 lines
565 B
source 'https://rubygems.org' |
|
|
|
# Specify your gem's dependencies in devise_ip_filter.gemspec |
|
gemspec |
|
|
|
rails_version = ENV["RAILS_VERSION"] || "default" |
|
|
|
rails = case rails_version |
|
when "master" |
|
{github: "rails/rails"} |
|
when "default" |
|
"~> 5.1" |
|
else |
|
"~> #{rails_version}" |
|
end |
|
|
|
gem "rails", rails |
|
|
|
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0') |
|
gem "test-unit", "~> 3.0" |
|
end |
|
|
|
group :test, :development do |
|
gem 'sqlite3' |
|
end |
|
|
|
group :test do |
|
gem 'rack_session_access' |
|
gem 'ammeter' |
|
end
|
|
|