diff options
author | Vinny Diehl <gbchaosmaster926@gmail.com> | 2012-11-08 14:51:18 -0500 |
---|---|---|
committer | Vinny Diehl <gbchaosmaster926@gmail.com> | 2012-11-08 19:09:43 -0500 |
commit | a96a1769302c2974c8e0faf66089c8101807715d (patch) | |
tree | 60992862a6d16ff0986352e9c6a9c733a0bd547f /activerecord | |
parent | 772883c59078484dc8990ffbc509e249e22a6c84 (diff) | |
download | rails-a96a1769302c2974c8e0faf66089c8101807715d.tar.gz rails-a96a1769302c2974c8e0faf66089c8101807715d.tar.bz2 rails-a96a1769302c2974c8e0faf66089c8101807715d.zip |
Clean up gemspecs
Organized the gemspec files a bit.
* Made quotes more consistent (single quotes dominated, so I used
that).
* Moved license line down a line, separating it logically, and removed
the extra whitespace before its = operator.
* Minor whitespace fixes.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/activerecord.gemspec | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/activerecord/activerecord.gemspec b/activerecord/activerecord.gemspec index 53791d96ef..31ddb01123 100644 --- a/activerecord/activerecord.gemspec +++ b/activerecord/activerecord.gemspec @@ -1,4 +1,4 @@ -version = File.read(File.expand_path("../../RAILS_VERSION", __FILE__)).strip +version = File.read(File.expand_path('../../RAILS_VERSION', __FILE__)).strip Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY @@ -8,21 +8,22 @@ Gem::Specification.new do |s| s.description = 'Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.' s.required_ruby_version = '>= 1.9.3' - s.license = 'MIT' - s.author = 'David Heinemeier Hansson' - s.email = 'david@loudthinking.com' - s.homepage = 'http://www.rubyonrails.org' + s.license = 'MIT' + + s.author = 'David Heinemeier Hansson' + s.email = 'david@loudthinking.com' + s.homepage = 'http://www.rubyonrails.org' s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'examples/**/*', 'lib/**/*'] s.require_path = 'lib' - s.extra_rdoc_files = %w( README.rdoc ) + s.extra_rdoc_files = %w(README.rdoc) s.rdoc_options.concat ['--main', 'README.rdoc'] - s.add_dependency('activesupport', version) - s.add_dependency('activemodel', version) - s.add_dependency('arel', '~> 3.0.2') + s.add_dependency 'activesupport', version + s.add_dependency 'activemodel', version - s.add_dependency('activerecord-deprecated_finders', '0.0.1') + s.add_dependency 'arel', '~> 3.0.2' + s.add_dependency 'activerecord-deprecated_finders', '0.0.1' end |