liquefied 0.1.0 → 0.2.0

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: d4d2b366587f41600a910b0c82ac82240b681796
4
- data.tar.gz: 469c2944864fdea289b59b873173822261eaaf75
3
+ metadata.gz: 1406ce0b4bb4029278bce630fc3c55eb56b891c7
4
+ data.tar.gz: 6881bd07128f1facfd993b38f235352fd4b525dd
5
5
  SHA512:
6
- metadata.gz: 455e56a607ceb5e6be3c5507e75f7255a13b57db87a6f24b62000ee3c52acdb3cc45c99fc4080b2439c234ed8f4258799cb9500dd4c417968f01a8a76e4c3c8d
7
- data.tar.gz: 6a023cb24f13ba8799d09d06c3800504a4376345aacd8fe169ca545bb71b2e33ce74a4ff4eb99fbbd94b35571f112a3887563e2556af85d63373fb3dfd56c5df
6
+ metadata.gz: 9f522192dd9ff7dbce349fb2f648920ac83e7ed5f15d6e2ee6561f6d2fcdd1553e89c5ae8eb8635782a0c9353129e0642700b87770226902b5f44f995d121fa8
7
+ data.tar.gz: f2822bdc9abb522dba3b0e6dff4508322d7ae326c1e1b946da4b1c2f3b23a4b1299b3ff124fe8c20bdbae17a480ee8694fd2230e0bb2cbe919a116aa129db5a0
@@ -1,3 +1,3 @@
1
1
  class Liquefied < BasicObject
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/liquefied.rb CHANGED
@@ -51,11 +51,11 @@ class Liquefied < BasicObject
51
51
  end
52
52
 
53
53
  def _finalize!(*args, &block)
54
- args = @default_args if args.empty?
55
54
  block = block || @default_block
56
55
  if block
57
56
  block.call(@original, *args)
58
57
  else
58
+ args = @default_args if args.empty?
59
59
  @original.public_send(@finalizer, *args, &block)
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquefied
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Vit
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-22 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler