right_data 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/main.rb +4 -4
- metadata +3 -3
data/lib/main.rb
CHANGED
@@ -107,18 +107,18 @@ module RightData
|
|
107
107
|
def self.cache_not_working_on_write(master)
|
108
108
|
master_cache = File.join(master,".rightPruneCache")
|
109
109
|
if File.exist?(master_cache)
|
110
|
-
puts "Master cache FOUND at #{master_cache}."
|
110
|
+
puts "# Master cache FOUND at #{master_cache}."
|
111
111
|
master_index = File.open(master_cache) do |f|
|
112
112
|
YAML::load(f)
|
113
113
|
end
|
114
114
|
else
|
115
|
-
puts "Master cache not found at #{master_cache}."
|
115
|
+
puts "# Master cache not found at #{master_cache}."
|
116
116
|
master_index = index_by_size(master)
|
117
|
-
puts "Writing #{master_cache}."
|
117
|
+
puts "# Writing #{master_cache}."
|
118
118
|
File.open(master_cache, "w") do |f|
|
119
119
|
YAML.dump(master_index, f)
|
120
120
|
end
|
121
|
-
puts "Wrote #{master_cache}."
|
121
|
+
puts "# Wrote #{master_cache}."
|
122
122
|
end
|
123
123
|
master_index
|
124
124
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Siegel
|