Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 27, 2013
  1. comment out 'mathn' so we can see what breaks

    Kevin Olbrich authored
  2. make some exception messages more consistent and provide more informa…

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

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

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

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

    authored
    Replace deprecated #stub! -> #stub
  7. @JoeStanton
  8. @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
  5. Merge pull request #77 from olbrich/4_best_scaled

    authored
    provide method to get the best prefix
Commits on Jul 18, 2013
  1. add specs and tweak #best_prefix method

    Kevin Olbrich authored
Commits on Jul 17, 2013
  1. first crack at a best prefix algorithm. Works for information and oth…

    Kevin Olbrich authored
    …er kinds of units, but also changes the unit as well
  2. fix kind for conductance, fixes #75

    Kevin Olbrich authored
  3. Merge pull request #76 from olbrich/namespace

    authored
    Namespace support, closes #60
Commits on Jul 6, 2013
  1. add another caveat about the Unit helper

    Kevin Olbrich authored
  2. update readme with information about namespaced classes and how to us…

    Kevin Olbrich authored
    …e them.
    
    See #60
  3. Version bump to 1.4.4

    Kevin Olbrich authored
  4. Don't load 'Unit()' helper if only loading namespaced code. Add travi…

    Kevin Olbrich authored
    …s config for 2.0.0
Something went wrong with that request. Please try again.