pack_rat 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pack_rat.rb +5 -1
- data/pack_rat.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/pack_rat.rb
CHANGED
@@ -17,7 +17,11 @@ module PackRat
|
|
17
17
|
calling_method = caller[0][/`([^']*)'/, 1]
|
18
18
|
key << calling_method << '/'
|
19
19
|
key << self.cache_key << '/'
|
20
|
-
|
20
|
+
if self.is_a? Class
|
21
|
+
key << self.file_digest
|
22
|
+
else
|
23
|
+
key << self.class.file_digest
|
24
|
+
end
|
21
25
|
end
|
22
26
|
puts key if options[:debug]
|
23
27
|
filtered_options = options.except(:overwrite_key, :debug)
|
data/pack_rat.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pack_rat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brian Goff
|
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
segments:
|
126
126
|
- 0
|
127
|
-
hash:
|
127
|
+
hash: 3747594770950936656
|
128
128
|
none: false
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|