Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 1, 2014
  1. make counting and unitless units incompatible

    Kevin Olbrich authored
  2. add 'counting?' check for units, related to issue #67

    Kevin Olbrich authored
  3. add specs and fix check... unitless? is not the right check for count…

    Kevin Olbrich authored
    …ing units
  4. unitless units are only equivalent if they use the same unit name. Th…

    Kevin Olbrich authored
    …is prevents unitless units from incorrectly being detected as equivalent to unrelated units.
  5. Merge pull request #94 from olbrich/83-bug-mixed-fractions

    authored
    83 bug mixed fractions
  6. add better parsing for rationals. Now allows for rationals to be expr…

    Kevin Olbrich authored
    …essed as '-6 1/2'
  7. add pry

    Kevin Olbrich authored
  8. Merge pull request #92 from eostrom/round-complex-units

    authored
    Fixed round/ceil/floor for units with >2 factors.  This looks good.  Thanks for contributing!
Commits on Dec 30, 2013
  1. Merge pull request #93 from eostrom/add-tons-alias

    authored
    Added plural aliases to short-ton unit.
Commits on Dec 29, 2013
  1. @eostrom

    Added plural aliases to short-ton unit.

    eostrom authored
    Also reordered the existing aliases abbreviation-first, because
    that's the kind of guy I am.
Commits on Dec 28, 2013
  1. @eostrom

    Fixed round/ceil/floor for units with >2 factors.

    eostrom authored
    E.g., m^3 or kg*m^2.
    
    Fixes #91.
Commits on Nov 27, 2013
  1. make some exception messages more consistent and provide more informa…

    Kevin Olbrich authored
    …tion. Fixes #65
  2. Merge branch 'master' of github.com:olbrich/ruby-units

    Kevin Olbrich authored
  3. Merge pull request #86 from mutewinter/patch-1

    authored
    Update Namespace Require Examples
  4. Merge pull request #89 from JoeStanton/string-coercion

    authored
    Test for zero? before using to fix Unit <=> string comparisons
  5. Merge pull request #88 from JoeStanton/deprecations

    authored
    Replace deprecated #stub! -> #stub
  6. @JoeStanton
  7. @JoeStanton
Commits on Nov 26, 2013
  1. @JoeStanton
  2. Merge pull request #85 from rage-shadowman/issue-84-fix

    authored
    Fixed point and pica definitions
  3. Swapped pica and point into correct init order

    Ralph Jennings authored
Commits on Nov 25, 2013
  1. @mutewinter

    Update Namespaced Required Examples

    mutewinter authored
    The previous example did not work.
    
    Tested with Ruby 1.9.3-p448 and Ruby 2.0.0-p247
Commits on Nov 22, 2013
  1. Fixed point and pica definitions

    Ralph Jennings authored
Commits on Sep 20, 2013
  1. Merge pull request #82 from gentooboontoo/fix-negative-no-space

    authored
    Fix negative units without spaces
Commits on Sep 12, 2013
  1. @gentooboontoo
Commits on Sep 3, 2013
  1. Merge pull request #81 from badgerious/best_prefix_with_0_scalar

    authored
    Return base unit from #best_prefix if scalar is 0.
Commits on Sep 1, 2013
  1. @badgerious

    Return base unit from #best_prefix if scalar is 0

    badgerious authored
    Without this, #best_prefix will raise FloatDomainError while trying to
    call #floor on '-Infinity' if the scalar is 0.
Commits on Aug 13, 2013
  1. @plantoeat
Commits on Jul 19, 2013
  1. Regenerate gemspec for version 1.4.4

    Kevin Olbrich authored
  2. update changelog

    Kevin Olbrich authored
  3. update documentation

    Kevin Olbrich authored
  4. add specs

    Kevin Olbrich authored
Something went wrong with that request. Please try again.