Browse files

Regenerate gemspec for version 1.4.0

  • Loading branch information...
1 parent 6662921 commit 265a4724a8d9703f8d5ab08ad9323b15462f7759 @olbrich committed Jan 2, 2012
Showing with 14 additions and 3 deletions.
  1. +14 −3 ruby-units.gemspec
View
17 ruby-units.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = "ruby-units"
- s.version = "1.3.2"
+ s.version = "1.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Kevin Olbrich, Ph.D."]
- s.date = "2011-11-25"
+ s.date = "2012-01-02"
s.description = "Provides classes and methods to perform unit math and conversions"
s.email = ["kevin.olbrich+ruby_units@gmail.com"]
s.extra_rdoc_files = [
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
"lib/ruby_units/array.rb",
"lib/ruby_units/cache.rb",
"lib/ruby_units/date.rb",
+ "lib/ruby_units/definition.rb",
"lib/ruby_units/fixnum.rb",
"lib/ruby_units/math.rb",
"lib/ruby_units/numeric.rb",
@@ -38,11 +39,15 @@ Gem::Specification.new do |s|
"lib/ruby_units/time.rb",
"lib/ruby_units/unit.rb",
"lib/ruby_units/unit_definitions.rb",
+ "lib/ruby_units/unit_definitions/base.rb",
+ "lib/ruby_units/unit_definitions/prefix.rb",
+ "lib/ruby_units/unit_definitions/standard.rb",
"lib/ruby_units/version.rb",
"ruby-units.gemspec"
]
s.homepage = "https://github.com/olbrich/ruby-units"
- s.post_install_message = "====================\nDeprecation Warning\n====================\n\nSeveral convenience methods that ruby-units added to the string class have\nbeen deprecated in this release. These methods include String#to, String#from, String#ago, String#before and others.\nIf your code relies on these functions, they can be added back by adding this line to your code.\n\nrequire 'ruby-units/string/extras'\n# note that these methods do not play well with Rails, which is one of the reasons they are being removed.\n\nThe extra functions mostly work the same, but will no longer properly handle cases when they are called with strings..\n\n'min'.from(\"4-1-2011\") # => Exception\n\nPass in a Date, Time, or DateTime object to get the expected result.\n\nThey will probably go away completely in an upcoming release, so it would be a good idea to refactor your code\nto avoid using them. They will also throw deprecation warnings when they are used.\n"
+ s.licenses = ["MIT"]
+ s.post_install_message = "====================\nDeprecation Warning\n====================\n\nSeveral convenience methods that ruby-units added to the string class have\nbeen deprecated in this release. These methods include String#to, String#from, String#ago, String#before and others.\nIf your code relies on these functions, they can be added back by adding this line to your code.\n\nrequire 'ruby-units/string/extras'\n# note that these methods do not play well with Rails, which is one of the reasons they are being removed.\n\nThe extra functions mostly work the same, but will no longer properly handle cases when they are called with strings..\n\n'min'.from(\"4-1-2011\") # => Exception\n\nPass in a Date, Time, or DateTime object to get the expected result.\n\nThey will go away completely in the next release, so it would be a good idea to refactor your code\nto avoid using them. They will also throw deprecation warnings when they are used.\n"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.10"
s.summary = "A class that performs unit conversions and unit math"
@@ -53,6 +58,8 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
s.add_development_dependency(%q<rcov>, [">= 0"])
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
+ s.add_development_dependency(%q<simplecov-html>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<rspec>, ["~> 2.5"])
s.add_development_dependency(%q<autotest>, [">= 0"])
@@ -61,6 +68,8 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<rcov>, [">= 0"])
+ s.add_dependency(%q<simplecov>, [">= 0"])
+ s.add_dependency(%q<simplecov-html>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, ["~> 2.5"])
s.add_dependency(%q<autotest>, [">= 0"])
@@ -70,6 +79,8 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<rcov>, [">= 0"])
+ s.add_dependency(%q<simplecov>, [">= 0"])
+ s.add_dependency(%q<simplecov-html>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, ["~> 2.5"])
s.add_dependency(%q<autotest>, [">= 0"])

0 comments on commit 265a472

Please sign in to comment.