rails-units 1.4.1 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/RakeFile +1 -1
  2. data/lib/rails-units.rb +14 -0
  3. data/lib/{ruby_units → rails_units}/array.rb +0 -0
  4. data/lib/{ruby_units → rails_units}/cache.rb +0 -0
  5. data/lib/{ruby_units → rails_units}/date.rb +0 -0
  6. data/lib/{ruby_units → rails_units}/fixnum.rb +0 -0
  7. data/lib/{ruby_units → rails_units}/math.rb +0 -0
  8. data/lib/{ruby_units → rails_units}/numeric.rb +0 -0
  9. data/lib/{ruby_units → rails_units}/object.rb +0 -0
  10. data/lib/rails_units/string.rb +122 -0
  11. data/lib/{ruby_units → rails_units}/time.rb +0 -0
  12. data/lib/{ruby_units → rails_units}/unit.rb +0 -0
  13. data/lib/{ruby_units → rails_units}/unit_definitions.rb +0 -0
  14. data/lib/{ruby_units → rails_units}/version.rb +0 -0
  15. data/rails-units-1.3.1.gem +0 -0
  16. data/rails-units-1.4.1.gem +0 -0
  17. data/rails-units.gemspec +26 -24
  18. data/spec/{ruby-units → rails-units}/array_spec.rb +0 -0
  19. data/spec/{ruby-units → rails-units}/complex_spec.rb +0 -0
  20. data/spec/{ruby-units → rails-units}/date_spec.rb +0 -0
  21. data/spec/{ruby-units → rails-units}/math_spec.rb +0 -0
  22. data/spec/{ruby-units → rails-units}/numeric_spec.rb +0 -0
  23. data/spec/{ruby-units → rails-units}/object_spec.rb +0 -0
  24. data/spec/{ruby-units → rails-units}/string_spec.rb +0 -0
  25. data/spec/{ruby-units → rails-units}/time_spec.rb +0 -0
  26. data/spec/{ruby-units → rails-units}/unit_spec.rb +0 -0
  27. data/spec/spec_helper.rb +1 -1
  28. data/test/{test_ruby-units.rb → test_rails-units.rb} +189 -189
  29. metadata +34 -32
  30. data/lib/ruby-units.rb +0 -14
  31. data/lib/ruby_units.rb +0 -14
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-units
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &70338106271520 !ruby/object:Gem::Requirement
16
+ requirement: &70269109490980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70338106271520
24
+ version_requirements: *70269109490980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rcov
27
- requirement: &70338106271000 !ruby/object:Gem::Requirement
27
+ requirement: &70269109490440 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70338106271000
35
+ version_requirements: *70269109490440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &70338106270460 !ruby/object:Gem::Requirement
38
+ requirement: &70269109489940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70338106270460
46
+ version_requirements: *70269109489940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70338106269960 !ruby/object:Gem::Requirement
49
+ requirement: &70269109489440 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '2.5'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70338106269960
57
+ version_requirements: *70269109489440
58
58
  description: Provides classes and methods to perform unit math and conversions
59
59
  email:
60
60
  - spike@scpike.net
@@ -73,33 +73,35 @@ files:
73
73
  - RakeFile
74
74
  - TODO
75
75
  - VERSION
76
- - lib/ruby-units.rb
77
- - lib/ruby_units.rb
78
- - lib/ruby_units/array.rb
79
- - lib/ruby_units/cache.rb
80
- - lib/ruby_units/date.rb
81
- - lib/ruby_units/fixnum.rb
82
- - lib/ruby_units/math.rb
83
- - lib/ruby_units/numeric.rb
84
- - lib/ruby_units/object.rb
76
+ - lib/rails-units.rb
77
+ - lib/rails_units/array.rb
78
+ - lib/rails_units/cache.rb
79
+ - lib/rails_units/date.rb
80
+ - lib/rails_units/fixnum.rb
81
+ - lib/rails_units/math.rb
82
+ - lib/rails_units/numeric.rb
83
+ - lib/rails_units/object.rb
84
+ - lib/rails_units/string.rb
85
+ - lib/rails_units/time.rb
86
+ - lib/rails_units/unit.rb
87
+ - lib/rails_units/unit_definitions.rb
88
+ - lib/rails_units/version.rb
85
89
  - lib/ruby_units/string.rb
86
- - lib/ruby_units/time.rb
87
- - lib/ruby_units/unit.rb
88
- - lib/ruby_units/unit_definitions.rb
89
- - lib/ruby_units/version.rb
90
+ - rails-units-1.3.1.gem
91
+ - rails-units-1.4.1.gem
90
92
  - rails-units.gemspec
91
- - spec/ruby-units/array_spec.rb
92
- - spec/ruby-units/complex_spec.rb
93
- - spec/ruby-units/date_spec.rb
94
- - spec/ruby-units/math_spec.rb
95
- - spec/ruby-units/numeric_spec.rb
96
- - spec/ruby-units/object_spec.rb
97
- - spec/ruby-units/string_spec.rb
98
- - spec/ruby-units/time_spec.rb
99
- - spec/ruby-units/unit_spec.rb
93
+ - spec/rails-units/array_spec.rb
94
+ - spec/rails-units/complex_spec.rb
95
+ - spec/rails-units/date_spec.rb
96
+ - spec/rails-units/math_spec.rb
97
+ - spec/rails-units/numeric_spec.rb
98
+ - spec/rails-units/object_spec.rb
99
+ - spec/rails-units/string_spec.rb
100
+ - spec/rails-units/time_spec.rb
101
+ - spec/rails-units/unit_spec.rb
100
102
  - spec/spec_helper.rb
101
103
  - test/test_cache.rb
102
- - test/test_ruby-units.rb
104
+ - test/test_rails-units.rb
103
105
  homepage: https://github.com/scpiek/rails-units
104
106
  licenses: []
105
107
  post_install_message:
@@ -1,14 +0,0 @@
1
- $LOAD_PATH << File.dirname(__FILE__)
2
- require "ruby_units/version"
3
- require "ruby_units/cache"
4
- require 'ruby_units/array'
5
- require 'ruby_units/date'
6
- require 'ruby_units/time'
7
- require 'ruby_units/math'
8
- require 'ruby_units/numeric'
9
- require 'ruby_units/object'
10
- require 'ruby_units/string'
11
- require 'ruby_units/unit_definitions'
12
- require 'ruby_units/unit'
13
- require 'ruby_units/fixnum'
14
-
@@ -1,14 +0,0 @@
1
- $LOAD_PATH << File.dirname(__FILE__)
2
- require "ruby_units/version"
3
- require "ruby_units/cache"
4
- require 'ruby_units/array'
5
- require 'ruby_units/date'
6
- require 'ruby_units/time'
7
- require 'ruby_units/math'
8
- require 'ruby_units/numeric'
9
- require 'ruby_units/object'
10
- require 'ruby_units/string'
11
- require 'ruby_units/unit_definitions'
12
- require 'ruby_units/unit'
13
- require 'ruby_units/fixnum'
14
-