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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03c905a6a5d6f664c79a57a4cabb98ef99366cff
4
- data.tar.gz: 04c32a7833cbeeedb18e1d9ae24683b56386de9e
3
+ metadata.gz: eb410690b2e92f7288bccda84c4ca3cc9a723d74
4
+ data.tar.gz: 152de97d675381866eb049aec7a81cfdcc5e111c
5
5
  SHA512:
6
- metadata.gz: 5b99d28de71f57ac9243fbb6c03c1ca67a375f2708c0445fe05826105e7de98e0b10f03e27411f586b24af5d306f9c48522f9309e1251a4aa748b507ac370117
7
- data.tar.gz: e50d6453484916e53cb368f7f897423046c239e741c9ba2da0615184f373b34fb2ba9dce6c6f2a62770fa3ba764c2902cc86a8975ab717c89ef5e35f89f6784e
6
+ metadata.gz: d970e1667a67997b2d0b0e1b1d917301e60087c2c6ae064d4e7cf20fa570bdbc5c228273daa664a8fca3d98e4387f6ef0599b5bd01ac031234fbaa84c61e2feb
7
+ data.tar.gz: 5d6f1abdcd1027416f4a6891971de69f612a9683cbef9ba31e59fd84b1d2d6b8294b894c5be2dc1ddb43b5ca92bc6519be011af4c354d2cb25baa85035ab0168
@@ -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 { relative? }
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 { absolute? }
482
- else inst = constr_anon.( false ).aT { absolute? } end
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
@@ -1,5 +1,5 @@
1
1
  module SY
2
- VERSION = "2.0.15"
2
+ VERSION = "2.0.16"
3
3
  DEBUG = false # debug mode switch - sometimes there are lines like
4
4
  # puts "something" if SY::DEBUG
5
5
  end
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.15
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-06-30 00:00:00.000000000 Z
11
+ date: 2013-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport