nrename 0.2.2 → 0.2.3
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/nrename/options.rb +5 -2
- data/lib/nrename/version.rb +1 -1
- metadata +2 -2
data/lib/nrename/options.rb
CHANGED
@@ -120,8 +120,11 @@ module Nrename
|
|
120
120
|
if options.recursive
|
121
121
|
dirs.dup.each do |dir|
|
122
122
|
# Workaround: every other engine except jruby does not
|
123
|
-
# work with unescaped path
|
124
|
-
|
123
|
+
# work with unescaped path, also mri-1.8 does not have
|
124
|
+
# constant RUBY_ENGINE defined.
|
125
|
+
unless defined? RUBY_ENGINE and RUBY_ENGINE == 'jruby'
|
126
|
+
dir = dir.shellescape
|
127
|
+
end
|
125
128
|
|
126
129
|
Dir.glob(File.join dir, '**/') do |subdir|
|
127
130
|
dirs << subdir.chomp('/')
|
data/lib/nrename/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nrename
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
segments:
|
133
133
|
- 0
|
134
|
-
hash:
|
134
|
+
hash: -821845461691458616
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
none: false
|
137
137
|
requirements:
|