renumber 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/renumber +2 -3
- data/lib/renumber/version.rb +1 -1
- data/lib/renumber.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0484ee1edd9df0f5ca9747b016acd838a76d0cce
|
4
|
+
data.tar.gz: 0a97f062e3b4f1dec265c525ac9cb4ab4a8d98f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 349d2da78fee9e2910691ad2192edd9768d4dfd6d122f813f07a3f65d7195fbcdb93be9af1cbb6c7cef2572206e7cc8ddbda48c4b1e7e5334bf3d25a15d2cb95
|
7
|
+
data.tar.gz: 83ed3f7af2f0d9ed2d0a849479a3b9ae94fc543228527d3a726bcbf080d4afde2beee9e607f8e9df13e724d10a35c4df59e7f3f40dfde85c963b2d9e103f7706
|
data/bin/renumber
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
3
|
+
puts 'Usage: renumber directory_name [prefix] [suffix]' and exit unless ARGV[0]
|
4
4
|
|
5
|
+
require 'renumber'
|
5
6
|
include Renumber
|
6
7
|
|
7
|
-
puts 'Usage: renumber directory_name [prefix] [suffix]' and return unless ARGV[0]
|
8
|
-
|
9
8
|
begin
|
10
9
|
change_files ARGV[0], ARGV[1], ARGV[2]
|
11
10
|
rescue ArgumentError => e
|
data/lib/renumber/version.rb
CHANGED
data/lib/renumber.rb
CHANGED