Skip to content
This repository
Browse code

Regenerate gemspec for version 1.4.0

  • Loading branch information...
commit 265a4724a8d9703f8d5ab08ad9323b15462f7759 1 parent 6662921
Kevin Olbrich authored

Showing 1 changed file with 14 additions and 3 deletions. Show diff stats Hide diff stats

  1. +14 3 ruby-units.gemspec
17 ruby-units.gemspec
@@ -5,11 +5,11 @@
5 5
6 6 Gem::Specification.new do |s|
7 7 s.name = "ruby-units"
8   - s.version = "1.3.2"
  8 + s.version = "1.4.0"
9 9
10 10 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11 11 s.authors = ["Kevin Olbrich, Ph.D."]
12   - s.date = "2011-11-25"
  12 + s.date = "2012-01-02"
13 13 s.description = "Provides classes and methods to perform unit math and conversions"
14 14 s.email = ["kevin.olbrich+ruby_units@gmail.com"]
15 15 s.extra_rdoc_files = [
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29 29 "lib/ruby_units/array.rb",
30 30 "lib/ruby_units/cache.rb",
31 31 "lib/ruby_units/date.rb",
  32 + "lib/ruby_units/definition.rb",
32 33 "lib/ruby_units/fixnum.rb",
33 34 "lib/ruby_units/math.rb",
34 35 "lib/ruby_units/numeric.rb",
@@ -38,11 +39,15 @@ Gem::Specification.new do |s|
38 39 "lib/ruby_units/time.rb",
39 40 "lib/ruby_units/unit.rb",
40 41 "lib/ruby_units/unit_definitions.rb",
  42 + "lib/ruby_units/unit_definitions/base.rb",
  43 + "lib/ruby_units/unit_definitions/prefix.rb",
  44 + "lib/ruby_units/unit_definitions/standard.rb",
41 45 "lib/ruby_units/version.rb",
42 46 "ruby-units.gemspec"
43 47 ]
44 48 s.homepage = "https://github.com/olbrich/ruby-units"
45   - 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"
  49 + s.licenses = ["MIT"]
  50 + 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"
46 51 s.require_paths = ["lib"]
47 52 s.rubygems_version = "1.8.10"
48 53 s.summary = "A class that performs unit conversions and unit math"
@@ -53,6 +58,8 @@ Gem::Specification.new do |s|
53 58 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54 59 s.add_development_dependency(%q<bundler>, ["~> 1.0"])
55 60 s.add_development_dependency(%q<rcov>, [">= 0"])
  61 + s.add_development_dependency(%q<simplecov>, [">= 0"])
  62 + s.add_development_dependency(%q<simplecov-html>, [">= 0"])
56 63 s.add_development_dependency(%q<jeweler>, [">= 0"])
57 64 s.add_development_dependency(%q<rspec>, ["~> 2.5"])
58 65 s.add_development_dependency(%q<autotest>, [">= 0"])
@@ -61,6 +68,8 @@ Gem::Specification.new do |s|
61 68 else
62 69 s.add_dependency(%q<bundler>, ["~> 1.0"])
63 70 s.add_dependency(%q<rcov>, [">= 0"])
  71 + s.add_dependency(%q<simplecov>, [">= 0"])
  72 + s.add_dependency(%q<simplecov-html>, [">= 0"])
64 73 s.add_dependency(%q<jeweler>, [">= 0"])
65 74 s.add_dependency(%q<rspec>, ["~> 2.5"])
66 75 s.add_dependency(%q<autotest>, [">= 0"])
@@ -70,6 +79,8 @@ Gem::Specification.new do |s|
70 79 else
71 80 s.add_dependency(%q<bundler>, ["~> 1.0"])
72 81 s.add_dependency(%q<rcov>, [">= 0"])
  82 + s.add_dependency(%q<simplecov>, [">= 0"])
  83 + s.add_dependency(%q<simplecov-html>, [">= 0"])
73 84 s.add_dependency(%q<jeweler>, [">= 0"])
74 85 s.add_dependency(%q<rspec>, ["~> 2.5"])
75 86 s.add_dependency(%q<autotest>, [">= 0"])

0 comments on commit 265a472

Please sign in to comment.
Something went wrong with that request. Please try again.