Permalink
Switch branches/tags
Nothing to show
Commits on Jun 9, 2015
  1. prepare new version

    minad committed Jun 9, 2015
  2. gitignore

    minad committed Jun 9, 2015
  3. gemspec

    minad committed Jun 9, 2015
  4. fix

    minad committed Jun 9, 2015
  5. update travis

    minad committed Jun 9, 2015
  6. remove legacy code

    minad committed Jun 9, 2015
  7. require 1.9

    minad committed Jun 9, 2015
Commits on Jan 9, 2015
  1. Merge pull request #27 from fordhurley/fix-rspec-error

    fordhurley committed Jan 9, 2015
    Fix failing builds
  2. Use Time.now instead of Date.today

    fordhurley committed Jan 9, 2015
    I believe this will fix builds for ruby 1.8.7 and jrubies. Pushing so
    that travis ci runs it.
Commits on Jan 8, 2015
  1. Merge pull request #26 from fordhurley/fix-rational-to_s

    fordhurley committed Jan 8, 2015
    Better handling of Rational values in #to_s
  2. Fix failing rspec

    fordhurley committed Jan 8, 2015
    As I understand it, rspec was trying to call #to_ary on some numeric
    values for formatting (not sure the details there). This was hitting
    method_missing and trying to convert the method name to a unit. Now
    calls super if the method name isn't defined as a unit.
Commits on Jan 4, 2015
  1. Better handling of Rational values in #to_s

    fordhurley committed Jan 4, 2015
    Added #value_string to parallel #unit_string, which does two things when
    the value is Rational:
    
    - If the denominator is 1, don't show it.
    - Otherwise, wrap the value in parentheses so that it can be parsed
      properly.
    
    Also added specs for two cases that would fail previously.
    
    Should fix #22.
Commits on Apr 20, 2014
  1. test against travis

    minad committed Apr 20, 2014
Commits on Jan 4, 2014
  1. test ruby 2.1.0

    minad committed Jan 4, 2014
Commits on Mar 1, 2013
  1. switch gemfile to https

    minad committed Mar 1, 2013
Commits on Feb 27, 2013
  1. test against 2.0

    minad committed Feb 27, 2013
Commits on Feb 14, 2013
  1. update badge

    minad committed Feb 14, 2013
    [ci skip]
Commits on Jan 25, 2013
  1. Add MIT license to gemspec

    nertzy committed Jan 25, 2013
Commits on Jan 19, 2013
Commits on Jan 17, 2013
  1. Revert "Loading order of units is broken in Ruby 1.8.7"

    minad committed Jan 17, 2013
    This reverts commit 32a8d6f.
  2. Merge pull request #23 from ccashwell/fix_rounding_support

    minad committed Jan 17, 2013
    Fixed rounding support to respect precision.
Commits on Jan 16, 2013
Commits on Jan 5, 2013
  1. update travis.yml

    minad committed Jan 5, 2013
Commits on Oct 19, 2012
  1. add buttons

    minad committed Oct 19, 2012
Commits on Oct 18, 2012
  1. version 0.4.1

    minad committed Oct 18, 2012
  2. fix

    minad committed Oct 18, 2012
  3. fix division by 1

    minad committed Oct 18, 2012