depralyzer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/depralyzer +3 -5
- data/lib/depralyzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b510d4e5c3a666cd31b7b5a878268b15c317f5022c55763ba69b237bd9f19d51
|
4
|
+
data.tar.gz: 998efba992e9ccf1384efff35c6750df981856c8f287cf833a064cce2e87ff6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ec32ecb0252db280fd1341b86f51d86cc5de603b8267b7f172e3cb70d6cbf3bcec21b1893cd6b39820e6a810c4852cd6a4d37efd0414a9cef83837acd13dbd6
|
7
|
+
data.tar.gz: 23041a5964e05353493ed1eee45b002e801c6d0f770babea0e68a316256e970bc4a51d710543d266d1772b974f29edb9d92383eaf85f3ecae042f6c2ff66429e
|
data/bin/depralyzer
CHANGED
@@ -8,13 +8,11 @@ require 'depralyzer/version'
|
|
8
8
|
require 'depralyzer/generator'
|
9
9
|
|
10
10
|
print_version = false
|
11
|
-
spec_dir = './spec'
|
12
|
-
exc_spec_dir = nil
|
13
11
|
|
14
12
|
opt = OptionParser.new
|
15
13
|
|
16
|
-
opt.on('-o VAL', 'Output file') { |
|
17
|
-
opt.on('--output-file VAL', '') { |
|
14
|
+
opt.on('-o VAL', 'Output file') { |file| outfile = file }
|
15
|
+
opt.on('--output-file VAL', '') { |file| outfile = file }
|
18
16
|
|
19
17
|
opt.on('-v', 'Print version') { |_| print_version = true }
|
20
18
|
opt.on('--version', '') { |_| print_version = true }
|
@@ -32,6 +30,6 @@ if dir_or_file.nil?
|
|
32
30
|
exit 1
|
33
31
|
end
|
34
32
|
|
35
|
-
generator = Depralyzer::Generator.new(
|
33
|
+
generator = Depralyzer::Generator.new(dir_or_file)
|
36
34
|
generator.process
|
37
35
|
|
data/lib/depralyzer/version.rb
CHANGED