tacky 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tacky.rb +1 -1
  3. data/tacky.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f359078e7fe3507487d2882ca7b2e4b258ceb1f2ccbbe7b037de55a96f4e4270
4
- data.tar.gz: d3c24621a7e5931b33b9ae06d1e77739a266779b75b67ffc501b1b53b98b253c
3
+ metadata.gz: 03d965839596661b75b8176fa89c5d77339a8c743c7165aa446823e958f74cf4
4
+ data.tar.gz: ec5baa6265880b4dfd58f248ef37460836ae4a9e73f6a4b148cad1b5ccd1199d
5
5
  SHA512:
6
- metadata.gz: 4adb311efb6ce79791a2bf7b3516ebfb859f99fa8fde8787c6ce79383c58912b7075c0ed8d2195a05b8c216dbe72f7df26e6f47f6875bb4c2d80edb5e015c9cd
7
- data.tar.gz: 0fb6b8402435241da058421978d4dc073b8c16d10b621f65128267fbede32df300527fa79bf546b234ffe3c9eafc5203fbfd6cc8c2821bb5ab8a9f1e07037740
6
+ metadata.gz: c60aa81aa2308a87af1411ce40857ced608f1a85489fd8a038953a6b4f2b5dcf9c049ecfd38ac6c45a4c62f429953cb1b9111a174d8c40cf7e9fc4914f25f174
7
+ data.tar.gz: 7ca17f05bdf02a5f46a2ea1b9b12463b239000d7e13c400987a56109514782022e671bb4c3d019ded16e5c41e836345b8381c714cf08b5568b7220b819b20814
data/lib/tacky.rb CHANGED
@@ -47,7 +47,7 @@ class Tacky
47
47
  @cache[args] = @origin.__send__(*args) do |*a|
48
48
  yield(*a) if block_given?
49
49
  end
50
- @cache[args] = Tacky.new(@cache[args]) if @deep
50
+ @cache[args] = Tacky.new(@cache[args], deep: @deep) if @deep
51
51
  end
52
52
  @cache[args]
53
53
  end
data/tacky.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.rubygems_version = '2.3.3'
32
32
  s.required_ruby_version = '>=2.3'
33
33
  s.name = 'tacky'
34
- s.version = '0.3.0'
34
+ s.version = '0.3.1'
35
35
  s.license = 'MIT'
36
36
  s.summary = 'Primitive Object Memoization for Ruby'
37
37
  s.description = 'Decorate your existing Ruby object with Tacky
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tacky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko