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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 947c3f82e403eda781c3881fd6f6bb08c5a898984ba4489f6493d7d9f4827ad2
4
- data.tar.gz: ee9d21f855d759da65af3d6bc1208ec4b842801ac095d80d3bb8a5d1bea9d5f4
3
+ metadata.gz: b510d4e5c3a666cd31b7b5a878268b15c317f5022c55763ba69b237bd9f19d51
4
+ data.tar.gz: 998efba992e9ccf1384efff35c6750df981856c8f287cf833a064cce2e87ff6b
5
5
  SHA512:
6
- metadata.gz: 040752a5b4f9b6c635df638d69038d437707214447626b4239975874099d41c19c84ce11e33ff218ae17df8f412831d3d85fbfb02e15d6db57848ffaad6bf8be
7
- data.tar.gz: cc3a5f33f62cc1b74e9370403e2080eeff9fc3333fedcd80429880238f2c08abccd03121364562f7c5d48bdddb2d85dc543781589b09feef7e4e2c716c421e21
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') { |dir| outfile = dir }
17
- opt.on('--output-file VAL', '') { |dir| outfile = dir }
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(outfile)
33
+ generator = Depralyzer::Generator.new(dir_or_file)
36
34
  generator.process
37
35
 
@@ -4,5 +4,5 @@
4
4
  # Gem version
5
5
  #
6
6
  module Depralyzer
7
- VERSION = '0.1.1'
7
+ VERSION = '0.1.2'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: depralyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothy Chambers