right_data 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/FileSystemItem.rb +3 -3
- metadata +3 -3
data/lib/FileSystemItem.rb
CHANGED
@@ -128,17 +128,17 @@ module RightData
|
|
128
128
|
msg = "# dup(#{n.duplicates.count})" if n.duplicate?
|
129
129
|
msg = "# ign" if n.ignorable?
|
130
130
|
if msg
|
131
|
-
puts "#{pre}'#{n.path}' #{msg}" # Remove the dups/igns!
|
131
|
+
puts "#{pre}'#{n.path.gsub(/'/,"\\'")}' #{msg}" # Remove the dups/igns!
|
132
132
|
else
|
133
133
|
puts "# #{n.path} unique"
|
134
134
|
end
|
135
135
|
false # Don't traverse deeper!
|
136
136
|
else
|
137
137
|
if n.duplicate_children + n.ignore_children == n.children.size
|
138
|
-
puts "#{pre}'#{n.path}' # #{n.duplicate_children} dups / #{n.ignore_children} ignores"
|
138
|
+
puts "#{pre}'#{n.path.gsub(/'/,"\\'")}' # #{n.duplicate_children} dups / #{n.ignore_children} ignores"
|
139
139
|
false # Don't traverse deeper!
|
140
140
|
elsif n.children.size == 0
|
141
|
-
puts "#{pre}'#{n.path}' # Empty... "
|
141
|
+
puts "#{pre}'#{n.path.gsub(/'/,"\\'")}' # Empty... "
|
142
142
|
false
|
143
143
|
else
|
144
144
|
puts "# #{n.path} # Not #{n.duplicate_children} dup/ #{n.ignore_children} ign / #{n.other_children} other "
|
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: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 7
|
10
|
+
version: 0.5.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Siegel
|