edit pass over the project Gemfile [ci skip]
* Revises the name of Rails components (they have a space). * Uniform word wrap at column 80.. * Uniform punctuation, according to our guidelines. * Minor edits of details seen in passing.
Showing
... | @@ -5,13 +5,12 @@ gemspec | ... | @@ -5,13 +5,12 @@ gemspec |
# We need a newish Rake since Active Job sets its test tasks' descriptions. | # We need a newish Rake since Active Job sets its test tasks' descriptions. | ||
gem 'rake', '>= 10.3' | gem 'rake', '>= 10.3' | ||
# Active Job depends on the URI::GID::MissingModelIDError, which isn't released yet. | # Active Job depends on URI::GID::MissingModelIDError, which isn't released yet. | ||
gem 'globalid', github: 'rails/globalid', branch: 'master' | gem 'globalid', github: 'rails/globalid', branch: 'master' | ||
gem 'rack', github: 'rack/rack', branch: 'master' | gem 'rack', github: 'rack/rack', branch: 'master' | ||
# This needs to be with require false as it is | # This needs to be with require false to ensure correct loading order, as has to | ||
# loaded after loading the test library to | # be loaded after loading the test library. | ||
# ensure correct loading order | |||
gem 'mocha', '~> 0.14', require: false | gem 'mocha', '~> 0.14', require: false | ||
gem 'rack-cache', '~> 1.2' | gem 'rack-cache', '~> 1.2' | ||
... | @@ -26,15 +25,15 @@ gem 'sprockets-rails', '~> 3.0.0.beta3', github: 'rails/sprockets-rails', branch | ... | @@ -26,15 +25,15 @@ gem 'sprockets-rails', '~> 3.0.0.beta3', github: 'rails/sprockets-rails', branch |
gem 'sass-rails', github: 'rails/sass-rails', branch: 'master' | gem 'sass-rails', github: 'rails/sass-rails', branch: 'master' | ||
# require: false so bcrypt is loaded only when has_secure_password is used. | # require: false so bcrypt is loaded only when has_secure_password is used. | ||
# This is to avoid ActiveModel (and by extension the entire framework) | # This is to avoid Active Model (and by extension the entire framework) | ||
# being dependent on a binary library. | # being dependent on a binary library. | ||
gem 'bcrypt', '~> 3.1.10', require: false | gem 'bcrypt', '~> 3.1.10', require: false | ||
# This needs to be with require false to avoid | # This needs to be with require false to avoid it being automatically loaded by | ||
# it being automatically loaded by sprockets | # sprockets. | ||
gem 'uglifier', '>= 1.3.0', require: false | gem 'uglifier', '>= 1.3.0', require: false | ||
# Track stable branch of sass because it doesn't have circular require warnings | # Track stable branch of sass because it doesn't have circular require warnings. | ||
gem 'sass', github: 'sass/sass', branch: 'stable', require: false | gem 'sass', github: 'sass/sass', branch: 'stable', require: false | ||
group :doc do | group :doc do | ||
... | @@ -44,10 +43,10 @@ group :doc do | ... | @@ -44,10 +43,10 @@ group :doc do |
gem 'kindlerb', '0.1.1' | gem 'kindlerb', '0.1.1' | ||
end | end | ||
# ActiveSupport | # Active Support. | ||
gem 'dalli', '>= 2.2.1' | gem 'dalli', '>= 2.2.1' | ||
# ActiveJob | # Active Job. | ||
group :job do | group :job do | ||
gem 'resque', require: false | gem 'resque', require: false | ||
gem 'resque-scheduler', require: false | gem 'resque-scheduler', require: false | ||
... | @@ -64,12 +63,12 @@ group :job do | ... | @@ -64,12 +63,12 @@ group :job do |
gem 'sequel', require: false | gem 'sequel', require: false | ||
end | end | ||
# Add your own local bundler stuff | # Add your own local bundler stuff. | ||
local_gemfile = File.dirname(__FILE__) + "/.Gemfile" | local_gemfile = File.dirname(__FILE__) + "/.Gemfile" | ||
instance_eval File.read local_gemfile if File.exist? local_gemfile | instance_eval File.read local_gemfile if File.exist? local_gemfile | ||
group :test do | group :test do | ||
# FIX: Our test suite isn't ready to run in random order yet | # FIX: Our test suite isn't ready to run in random order yet. | ||
gem 'minitest', '< 5.3.4' | gem 'minitest', '< 5.3.4' | ||
platforms :mri do | platforms :mri do | ||
... | @@ -83,10 +82,10 @@ end | ... | @@ -83,10 +82,10 @@ end |
platforms :ruby do | platforms :ruby do | ||
gem 'nokogiri', '>= 1.6.7.rc3' | gem 'nokogiri', '>= 1.6.7.rc3' | ||
# Needed for compiling the ActionDispatch::Journey parser | # Needed for compiling the ActionDispatch::Journey parser. | ||
gem 'racc', '>=1.4.6', require: false | gem 'racc', '>=1.4.6', require: false | ||
# ActiveRecord | # Active Record. | ||
gem 'sqlite3', '~> 1.3.6' | gem 'sqlite3', '~> 1.3.6' | ||
group :db do | group :db do | ||
... | @@ -114,12 +113,12 @@ platforms :jruby do | ... | @@ -114,12 +113,12 @@ platforms :jruby do |
end | end | ||
platforms :rbx do | platforms :rbx do | ||
# The rubysl-yaml gem doesn't ship with Psych by default | # The rubysl-yaml gem doesn't ship with Psych by default as it needs | ||
# as it needs libyaml that isn't always available. | # libyaml that isn't always available. | ||
gem 'psych', '~> 2.0' | gem 'psych', '~> 2.0' | ||
end | end | ||
# gems that are necessary for ActiveRecord tests with Oracle database | # Gems that are necessary for Active Record tests with Oracle. | ||
if ENV['ORACLE_ENHANCED'] | if ENV['ORACLE_ENHANCED'] | ||
platforms :ruby do | platforms :ruby do | ||
gem 'ruby-oci8', '~> 2.2' | gem 'ruby-oci8', '~> 2.2' | ||
... | @@ -127,6 +126,6 @@ if ENV['ORACLE_ENHANCED'] | ... | @@ -127,6 +126,6 @@ if ENV['ORACLE_ENHANCED'] |
gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master' | gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master' | ||
end | end | ||
# A gem necessary for ActiveRecord tests with IBM DB | # A gem necessary for Active Record tests with IBM DB. | ||
gem 'ibm_db' if ENV['IBM_DB'] | gem 'ibm_db' if ENV['IBM_DB'] | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] | gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
想要评论请 注册 或 登录