2013-12-06 19:51:55 -05:00
|
|
|
source 'https://rubygems.org'
|
2011-03-30 20:31:39 -04:00
|
|
|
gemspec
|
|
|
|
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'rake'
|
|
|
|
|
2019-05-28 04:56:26 -04:00
|
|
|
rails = ENV['RAILS'] || '6-0-stable'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
2019-08-18 14:43:16 -04:00
|
|
|
gem 'faker', '~> 0.9.5'
|
2019-08-18 14:49:11 -04:00
|
|
|
gem 'sqlite3', ::Gem::Version.new(rails.gsub(/^v/, '')) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
|
2019-08-18 14:56:58 -04:00
|
|
|
gem 'pg', '~> 1.0'
|
2019-08-18 14:43:16 -04:00
|
|
|
gem 'pry', '0.10'
|
|
|
|
gem 'byebug'
|
2014-08-01 01:15:58 -04:00
|
|
|
|
2011-07-17 19:04:00 -04:00
|
|
|
case rails
|
|
|
|
when /\// # A path
|
2013-07-04 10:21:06 -04:00
|
|
|
gem 'activesupport', path: "#{rails}/activesupport"
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', path: "#{rails}/activerecord", require: false
|
2014-06-08 20:59:16 -04:00
|
|
|
gem 'actionpack', path: "#{rails}/actionpack"
|
2011-07-17 19:04:00 -04:00
|
|
|
when /^v/ # A tagged version
|
2019-06-11 06:01:36 -04:00
|
|
|
git 'https://github.com/rails/rails.git', :tag => rails do
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', require: false
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 11:14:30 -04:00
|
|
|
else
|
2019-06-11 06:01:36 -04:00
|
|
|
git 'https://github.com/rails/rails.git', :branch => rails do
|
2011-05-30 11:14:30 -04:00
|
|
|
gem 'activesupport'
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'activemodel'
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', require: false
|
2011-05-30 11:14:30 -04:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2012-01-19 09:06:10 -05:00
|
|
|
end
|
2019-05-28 04:56:48 -04:00
|
|
|
gem 'mysql2', '~> 0.5.2'
|
2014-08-01 02:42:45 -04:00
|
|
|
|
2015-01-07 18:17:33 -05:00
|
|
|
group :test do
|
2019-08-18 14:43:16 -04:00
|
|
|
gem 'machinist', '~> 1.0.6'
|
|
|
|
gem 'rspec', '~> 3'
|
2016-08-07 04:46:01 -04:00
|
|
|
# TestUnit was removed from Ruby 2.2 but still needed for testing Rails 3.x.
|
2015-01-07 18:54:24 -05:00
|
|
|
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'
|
2017-10-09 10:23:51 -04:00
|
|
|
gem 'simplecov', :require => false
|
2015-01-07 18:17:33 -05:00
|
|
|
end
|