lock_and_cache 0.0.3 → 0.0.4

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: 93e7bac8ff5246d258e7d92fcb0b7f6af1b85054
4
- data.tar.gz: 642a47eef9d3eb08acbcaba89f7286ecd9f98c61
3
+ metadata.gz: 21d17e2c8ff95fb3fd66d96f0650d50621193108
4
+ data.tar.gz: ea18fa126b940341107b04b86c39775b968fd2bd
5
5
  SHA512:
6
- metadata.gz: 78177a3803b36f89eca2f9f8972f00caf186b0da784954249aaab8df2f2ef76d8d60ad8563e3bb32128ed8b6d67b1eeebd1e44f4e922bd1657dc8b7e80c86440
7
- data.tar.gz: 15643bb1fb0225c948af1967bc769725788c4c869554f3d6cfbc3fc2a1295976f0f06d1fad6e1f551bd70a8b1328146b8962767efd1c401beb730421527bb24b
6
+ metadata.gz: 3273a8c796feffc24eb7628c6617888ce17c009c2db56fb442ef04671f30e9fb6688757e2d6ca6f69f5c38e72461921aa50996ca15f29b6177b03b7c262c0a96
7
+ data.tar.gz: d15442362206917ac53a4a396bcf8249f7f0bf346dfdefcb59be473ab2e2184923df80155888b85619cd7e39f4e5764bcf8b7f91dd8407a6e5b409a399785d58
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.0.4 / 2014-12-12
2
+
3
+ * Bug fixes
4
+
5
+ * Pass arguments while caching method results
6
+
1
7
  0.0.3 / 2014-12-12
2
8
 
3
9
  * Enhancements
@@ -20,7 +20,7 @@ module LockAndCache
20
20
  if cache_method_cached?(method_id, args)
21
21
  send method_id, *args # which will be the cached version
22
22
  else
23
- send unlocked_method_id
23
+ send unlocked_method_id, *args
24
24
  end
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module LockAndCache
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lock_and_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere