AbsoluteRenamer 1.0.1 → 1.0.2
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/.gitignore +1 -0
- data/AbsoluteRenamer.gemspec +2 -2
- data/VERSION +1 -1
- data/lib/absolute_renamer/core-packages/core-general/parser.rb +4 -0
- metadata +2 -2
data/.gitignore
CHANGED
data/AbsoluteRenamer.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{AbsoluteRenamer}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Simon COURTOIS"]
|
|
12
|
-
s.date = %q{2009-10-
|
|
12
|
+
s.date = %q{2009-10-05}
|
|
13
13
|
s.default_executable = %q{absrenamer}
|
|
14
14
|
s.description = %q{AbsoluteRenamer is a very powerful tool that helps files and directories renaming using the Krename syntax. Unlike many batch renaming tools, AbsoluteRenamer is able to rename folders. AbsoluteRenamer is modular and can be extended to adapt itself to any kind of file or to add new options and features.}
|
|
15
15
|
s.email = %q{happynoff@free.fr}
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
|
@@ -22,11 +22,15 @@ module AbsoluteRenamer
|
|
|
22
22
|
'Format string used as model') do |format|
|
|
23
23
|
options[:format] = format
|
|
24
24
|
@format_given = true
|
|
25
|
+
|
|
26
|
+
raise "Format cannot contain the / character." if format.match(/\//)
|
|
25
27
|
end
|
|
26
28
|
|
|
27
29
|
parser.on('-x', '--ext-format FORMAT',
|
|
28
30
|
'Format string used as model for the extension') do |format|
|
|
29
31
|
options[:ext_format] = format
|
|
32
|
+
|
|
33
|
+
raise "Format cannot contain the / character." if format.match(/\//)
|
|
30
34
|
end
|
|
31
35
|
|
|
32
36
|
parser.on('-R', '--recursive',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: AbsoluteRenamer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon COURTOIS
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-10-
|
|
12
|
+
date: 2009-10-05 00:00:00 +02:00
|
|
13
13
|
default_executable: absrenamer
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|