coldshoulder 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/bin/coldshoulder CHANGED
@@ -2,5 +2,4 @@
2
2
 
3
3
  require 'coldshoulder'
4
4
 
5
- # Coldshoulder::Commander.new({:command => ARGV[0], :language => ARGV[1], :optional => ARGV[2]})
6
5
  Coldshoulder::Director.new(ARGV).direct!
@@ -28,8 +28,8 @@ module Coldshoulder
28
28
  end
29
29
  end
30
30
 
31
- def parse!
32
- opts.parse!(arguements)
31
+ def parse!(command)
32
+ opts.parse!(command)
33
33
  end
34
34
 
35
35
  protected
@@ -44,7 +44,7 @@ module Coldshoulder
44
44
  command = "--help"
45
45
  end
46
46
  begin
47
- opts.parse!([command])
47
+ parse!([command])
48
48
  rescue OptionParser::ParseError => e
49
49
  puts "Error: #{e.message}"
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module Coldshoulder
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coldshoulder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: