ruminate 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +4 -0
- data/lib/ruminate.rb +2 -2
- metadata +2 -2
data/History.md
CHANGED
data/lib/ruminate.rb
CHANGED
@@ -76,8 +76,8 @@ ruminate(
|
|
76
76
|
full_plugin_dir = File.expand_path(plugin_dir)
|
77
77
|
Dir["#{munin_plugin_dir}/*"].each do |plugin_file|
|
78
78
|
next unless File.symlink?(plugin_file)
|
79
|
-
dest = File.readlink(plugin_file)
|
80
|
-
if File.dirname(dest).end_with?(plugin_dir)
|
79
|
+
dest = File.readlink(plugin_file) rescue nil
|
80
|
+
if !dest || File.dirname(dest).end_with?(plugin_dir)
|
81
81
|
puts "Removing #{plugin_file}"
|
82
82
|
FileUtils.rm_f(plugin_file)
|
83
83
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruminate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rumx
|