Skip to content
Commits on Apr 25, 2011
  1. @olbrich
  2. @olbrich
Commits on Apr 24, 2011
  1. @olbrich

    improve support for running code coverage.

    olbrich committed Apr 24, 2011
    Add specs to improve code coverage.
  2. @olbrich

    exlude .* files from gem

    olbrich committed Apr 24, 2011
Commits on Apr 23, 2011
  1. @olbrich

    other minor changes

    olbrich committed Apr 23, 2011
  2. @olbrich

    update VERSION

    olbrich committed Apr 23, 2011
  3. @olbrich

    some changes to adjust for jruby

    olbrich committed Apr 23, 2011
  4. @olbrich
  5. @olbrich

    update parser to directly perform the conversion to a complex for rub…

    olbrich committed Apr 23, 2011
    …ies that don't define it on string (like 1.8)
  6. @olbrich

    move stuff around, tweak regex used to recognize numbers so that it w…

    olbrich committed Apr 23, 2011
    …ill handle units with only one character right.
  7. @olbrich

    add #pred to be consistent with #succ

    olbrich committed Apr 23, 2011
    add specs
  8. @olbrich
  9. @olbrich
  10. @olbrich
Commits on Apr 22, 2011
  1. @olbrich

    add specs for inverse

    olbrich committed Apr 22, 2011
    minor error message updates and internal re-organization
  2. @olbrich

    add specs for power and root

    olbrich committed Apr 22, 2011
  3. @olbrich

    * improve regex for Rational numbers used during parsing so that it c…

    olbrich committed Apr 22, 2011
    …orrectly captures signs,
    
    * some internal cleanup for style.
    * add a mod operator
    * throw an exception when raising a unit to a complex power.  This may be doable, but it's just not implemented at this point
    * temperature conversions use rational numbers when possible for improved accuracy
    * add specs for temperature conversions and exponentiation
    * change specs for Complex... in ruby < 1.9 complex numbers are comparable, in 1.9+ they are not
  4. @olbrich

    add support to fixnum so that expressions like 10 / Unit("5 m") work …

    olbrich committed Apr 22, 2011
    …in Ruby 1.8 and rubinius
  5. @olbrich
Commits on Apr 21, 2011
  1. @olbrich
Commits on Apr 18, 2011
  1. @olbrich

    *consolidate regex used for detecting temperatures and degrees

    olbrich committed Apr 17, 2011
    *fix bug with caching that sometimes tripped up units with rational scalars
  2. @olbrich

    add more math specs

    olbrich committed Apr 17, 2011
  3. @olbrich

    add specs around equivalence, equality, and comparisons.

    olbrich committed Apr 17, 2011
    One significant change is that comparing incompatible types will return false instead of raising an exception.
Commits on Apr 17, 2011
  1. @olbrich

    make scalars for units integers when possible,

    olbrich committed Apr 16, 2011
    update unit definitions to use rationals when possible
    update specs
    
    fixes #7,#9,#12
Commits on Apr 16, 2011
  1. @olbrich

    add specs related to Numerics

    olbrich committed Apr 16, 2011
  2. @olbrich

    update copyright, subtracting Date and Time from a unit now causes an…

    olbrich committed Apr 16, 2011
    … exception...
    
    "1 day".unit - Time.now doesn't make any sense.
  3. @olbrich

    make method checks safe for a variety of rubies since they don't all …

    olbrich committed Apr 16, 2011
    …return .instance_methods the same way.
  4. @olbrich
  5. @olbrich
  6. @olbrich

    ignore .rvmrc

    olbrich committed Apr 16, 2011
  7. @olbrich

    Add some specs for Unit

    olbrich committed Apr 16, 2011
  8. @olbrich

    undo some caching changes, a couple of minor bugfixes and some method…

    olbrich committed Apr 16, 2011
    … aliases for readability
  9. @olbrich
Commits on Apr 9, 2011
  1. @olbrich
  2. @olbrich
Something went wrong with that request. Please try again.