phys-units 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/lib/phys/units/load_units.rb +5 -105
- data/lib/phys/units/parse.rb +12 -4
- data/lib/phys/units/parse.y +13 -5
- data/lib/phys/units/quantity.rb +56 -35
- data/lib/phys/units/unit.rb +22 -18
- data/lib/phys/units/unit_class.rb +6 -5
- data/lib/phys/units/version.rb +1 -1
- data/spec/helper.rb +22 -0
- data/spec/units_dat_spec.rb +6983 -0
- metadata +4 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phys-units
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro TANAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- spec/helper.rb
|
68
68
|
- spec/quantity_spec.rb
|
69
69
|
- spec/unit_spec.rb
|
70
|
+
- spec/units_dat_spec.rb
|
70
71
|
- spec/utils_spec.rb
|
71
72
|
homepage: https://github.com/masa16/phys-units
|
72
73
|
licenses:
|
@@ -96,5 +97,6 @@ test_files:
|
|
96
97
|
- spec/helper.rb
|
97
98
|
- spec/quantity_spec.rb
|
98
99
|
- spec/unit_spec.rb
|
100
|
+
- spec/units_dat_spec.rb
|
99
101
|
- spec/utils_spec.rb
|
100
102
|
has_rdoc:
|