--- !ruby/object:Gem::Specification name: ruby-units version: !ruby/object:Gem::Version version: 1.4.3 prerelease: platform: ruby authors: - Kevin Olbrich, Ph.D. autorequire: bindir: bin cert_chain: [] date: 2013-06-12 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bundler requirement: !ruby/object:Gem::Requirement none: false requirements: - - ~> - !ruby/object:Gem::Version version: '1.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement none: false requirements: - - ~> - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: jeweler requirement: !ruby/object:Gem::Requirement none: false requirements: - - ! '>=' - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement none: false requirements: - - ! '>=' - !ruby/object:Gem::Version version: '0' description: Provides classes and methods to perform unit math and conversions email: - kevin.olbrich+ruby_units@gmail.com executables: [] extensions: [] extra_rdoc_files: - LICENSE.txt - README.md - TODO 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/numeric.rb - lib/ruby_units/object.rb - lib/ruby_units/string.rb - 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 homepage: https://github.com/olbrich/ruby-units licenses: - MIT post_install_message: ! '==================== Deprecation Warning ==================== Several convenience methods that ruby-units added to the string class have been deprecated in this release. These methods include String#to, String#from, String#ago, String#before and others. If your code relies on these functions, they can be added back by adding this line to your code. require ''ruby-units/string/extras'' # note that these methods do not play well with Rails, which is one of the reasons they are being removed. The extra functions mostly work the same, but will no longer properly handle cases when they are called with strings.. ''min''.from("4-1-2011") # => Exception Pass in a Date, Time, or DateTime object to get the expected result. They will go away completely in the next release, so it would be a good idea to refactor your code to avoid using them. They will also throw deprecation warnings when they are used. ' rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement none: false requirements: - - ! '>=' - !ruby/object:Gem::Version version: '0' segments: - 0 hash: -240639428179076096 required_rubygems_version: !ruby/object:Gem::Requirement none: false requirements: - - ! '>=' - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: rubygems_version: 1.8.25 signing_key: specification_version: 3 summary: A class that performs unit conversions and unit math test_files: []