Browse files

Regenerate gemspec for version 2.0.0

  • Loading branch information...
1 parent 9233c44 commit a709568d9ac9d887c353931128953960096b9836 @olbrich committed Nov 9, 2015
Showing with 9 additions and 14 deletions.
  1. +9 −14 ruby-units.gemspec
View
23 ruby-units.gemspec
@@ -2,41 +2,37 @@
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile.rb, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
-# stub: ruby-units 1.4.5 ruby lib
+# stub: ruby-units 2.0.0 ruby lib
Gem::Specification.new do |s|
s.name = "ruby-units"
- s.version = "1.4.5"
+ s.version = "2.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Kevin Olbrich, Ph.D."]
- s.date = "2014-02-21"
+ s.date = "2015-11-09"
s.description = "Provides classes and methods to perform unit math and conversions"
s.email = ["kevin.olbrich+ruby_units@gmail.com"]
s.extra_rdoc_files = [
+ "CHANGELOG.txt",
"LICENSE.txt",
- "README.md",
- "TODO"
+ "README.md"
]
s.files = [
"CHANGELOG.txt",
"LICENSE.txt",
"README.md",
"Rakefile.rb",
- "TODO",
"VERSION",
"lib/ruby-units.rb",
- "lib/ruby_units.rb",
"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/namespaced.rb",
"lib/ruby_units/numeric.rb",
- "lib/ruby_units/object.rb",
"lib/ruby_units/string.rb",
"lib/ruby_units/time.rb",
"lib/ruby_units/unit.rb",
@@ -49,8 +45,7 @@ Gem::Specification.new do |s|
]
s.homepage = "https://github.com/olbrich/ruby-units"
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.rubygems_version = "2.2.2"
+ s.rubygems_version = "2.5.0"
s.summary = "A class that performs unit conversions and unit math"
if s.respond_to? :specification_version then
@@ -59,16 +54,16 @@ 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<jeweler>, [">= 0"])
- s.add_development_dependency(%q<pry>, [">= 0"])
+ s.add_development_dependency(%q<pry-byebug>, [">= 0"])
else
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<jeweler>, [">= 0"])
- s.add_dependency(%q<pry>, [">= 0"])
+ s.add_dependency(%q<pry-byebug>, [">= 0"])
end
else
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<jeweler>, [">= 0"])
- s.add_dependency(%q<pry>, [">= 0"])
+ s.add_dependency(%q<pry-byebug>, [">= 0"])
end
end

0 comments on commit a709568

Please sign in to comment.