sy 2.0.15 → 2.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sy/quantity.rb +3 -3
- data/lib/sy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb410690b2e92f7288bccda84c4ca3cc9a723d74
|
4
|
+
data.tar.gz: 152de97d675381866eb049aec7a81cfdcc5e111c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d970e1667a67997b2d0b0e1b1d917301e60087c2c6ae064d4e7cf20fa570bdbc5c228273daa664a8fca3d98e4387f6ef0599b5bd01ac031234fbaa84c61e2feb
|
7
|
+
data.tar.gz: 5d6f1abdcd1027416f4a6891971de69f612a9683cbef9ba31e59fd84b1d2d6b8294b894c5be2dc1ddb43b5ca92bc6519be011af4c354d2cb25baa85035ab0168
|
data/lib/sy/quantity.rb
CHANGED
@@ -475,11 +475,11 @@ class SY::Quantity
|
|
475
475
|
# enough of preliminaries
|
476
476
|
if not rel then
|
477
477
|
inst = ɴ ? constr_ɴ.( "#{ɴ}#{ʀsuffix}", true ) : constr_anon.( true )
|
478
|
-
inst.aT
|
478
|
+
inst.aT &:relative?
|
479
479
|
elsif ɴ.to_s.ends_with?( ʀsuffix ) && ɴ.size > ʀsuffix.size
|
480
480
|
inst = constr_ɴ.( ɴ.to_s[0..ɴ.size-ʀsuffix.size-1], false )
|
481
|
-
inst.aT
|
482
|
-
else inst = constr_anon.( false ).aT
|
481
|
+
inst.aT &:absolute?
|
482
|
+
else inst = constr_anon.( false ).aT &:absolute? end
|
483
483
|
inst.instance_variable_set :@colleague, self
|
484
484
|
return inst
|
485
485
|
end
|
data/lib/sy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|