Permalink
Browse files

Metadata cleanup

This commit:

* Adds a Gemfile so that Bundler can be used to install dependencies.
* Puts Gemfile.lock in .gitignore, since that file shouldn't be in source
  control.
* Specifies Shoulda as a development dependency in the gemspec file.
* Converts tabs to spaces in the gemspec file.
  • Loading branch information...
1 parent 83f1987 commit b4d430dc0417c50d5da1c37ac0a64ce822405f12 Aaron Beckerman committed Sep 25, 2012
Showing with 17 additions and 12 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 Gemfile
  3. +13 −12 finance.gemspec
View
@@ -2,3 +2,4 @@
doc/
coverage/
*.gem
+Gemfile.lock
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
@@ -2,19 +2,20 @@ require 'rubygems'
require 'rake'
SPEC = Gem::Specification.new do |s|
- s.name = "finance"
- s.version = "1.1.2"
- s.author = "Bill Kranec"
- s.email = "wkranec@gmail.com"
- s.platform = Gem::Platform::RUBY
- s.summary = "a library for financial modelling in Ruby."
- s.description = "The finance library provides a Ruby interface for working with interest rates, mortgage amortization, and cashflows (NPV, IRR, etc.)."
- s.homepage = "https://rubygems.org/gems/finance"
+ s.name = "finance"
+ s.version = "1.1.2"
+ s.author = "Bill Kranec"
+ s.email = "wkranec@gmail.com"
+ s.platform = Gem::Platform::RUBY
+ s.summary = "a library for financial modelling in Ruby."
+ s.description = "The finance library provides a Ruby interface for working with interest rates, mortgage amortization, and cashflows (NPV, IRR, etc.)."
+ s.homepage = "https://rubygems.org/gems/finance"
s.required_ruby_version = '>=1.9'
- s.add_dependency 'flt', '>=1.3.0'
- s.files = FileList['README', 'COPYING', 'COPYING.LESSER', 'HISTORY', 'lib/**/*.rb', 'test/**/*.rb'].to_a
+ s.add_dependency 'flt', '>=1.3.0'
+ s.add_development_dependency 'shoulda', '3.1.1'
+ s.files = FileList['README', 'COPYING', 'COPYING.LESSER', 'HISTORY', 'lib/**/*.rb', 'test/**/*.rb'].to_a
- s.has_rdoc = true
- s.extra_rdoc_files = ['README', 'COPYING', 'COPYING.LESSER', 'HISTORY']
+ s.has_rdoc = true
+ s.extra_rdoc_files = ['README', 'COPYING', 'COPYING.LESSER', 'HISTORY']
end

0 comments on commit b4d430d

Please sign in to comment.