lightly 0.1.2 → 0.1.3

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: 982581d19c53866cdda51c45b86dc1c9cc8bacc1
4
- data.tar.gz: 58865bd88aa1e8a8b344efdc1f8269e54ecf889a
3
+ metadata.gz: bef36d86f388cbe55e12b127f37557e3e0ed4b57
4
+ data.tar.gz: 574c9a39af22803d3cd6504079a096ecc5f5dec2
5
5
  SHA512:
6
- metadata.gz: 302df3e4afb8f68a26d33f81e0f8f6bd52af2fd52d4ce84f7daa4fa468aabc71f498088762084d64f19585646eeeefc24ea68edb655f934049748c36423dcbb0
7
- data.tar.gz: 296c6de22c04d8a4fc13e679a6f697912be667691e82e23aeedb3a81319258512201f76d6cac4cf15f2e23427fe4ff6246176bbf6b18ee719cf1df85d97473e4
6
+ metadata.gz: 197dd2356a6066a85ee08cc403bce8b27ec6595c2c1af4a0d5a7d6fa13d2d70bfa0863c08112214ab91c46c925ba5034dd139b0e70f620594f851bd9355b8f36
7
+ data.tar.gz: 81d1e8732d02c5413edbfba0a80a4b69eba1b91bf4e6c72b64daf6b1d396676b46c83504117ddba30907bf6e48420f086dad1873b4c1622f1503f750b0918f52
@@ -30,7 +30,7 @@ class Lightly
30
30
 
31
31
  def cached?(key)
32
32
  path = get_path key
33
- File.exist? path and !expired? path
33
+ File.exist?(path) and !expired?(path)
34
34
  end
35
35
 
36
36
  def enable
@@ -1,3 +1,3 @@
1
1
  class Lightly
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit