mothership 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class Mothership
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
data/lib/mothership.rb CHANGED
@@ -10,7 +10,7 @@ class Mothership
10
10
  @@global = Command.new(self, "(global options)")
11
11
 
12
12
  # [Mothershp::Inputs] inputs from global options
13
- @@inputs = nil
13
+ @@inputs = Inputs.new(@@global)
14
14
 
15
15
  # [Fixnum] exit status; reassign as appropriate error code (e.g. 1)
16
16
  @@exit_status = 0
@@ -27,8 +27,6 @@ class Mothership
27
27
  # arguments and flags can be in any order; all flags will be parsed out
28
28
  # first, and the bits left over will be treated as arguments
29
29
  def start(argv)
30
- @@inputs = Inputs.new(@@global)
31
-
32
30
  name, *argv =
33
31
  Parser.new(@@global).parse_flags(
34
32
  @@inputs.inputs,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mothership
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 12
10
- version: 0.0.12
9
+ - 13
10
+ version: 0.0.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Suraci
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-26 00:00:00 Z
18
+ date: 2012-08-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake
@@ -48,7 +48,7 @@ dependencies:
48
48
  version_requirements: *id002
49
49
  description:
50
50
  email:
51
- - asuraci@vmware.com
51
+ - suraci.alex@gmail.com
52
52
  executables: []
53
53
 
54
54
  extensions: []
@@ -74,7 +74,7 @@ files:
74
74
  - spec/flags_spec.rb
75
75
  - spec/helpers.rb
76
76
  - spec/Rakefile
77
- homepage: http://cloudfoundry.com/
77
+ homepage: https://github.com/vito/mothership
78
78
  licenses: []
79
79
 
80
80
  post_install_message:
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
 
105
105
  rubyforge_project: mothership
106
- rubygems_version: 1.8.23
106
+ rubygems_version: 1.8.24
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: Command-line library for big honkin' CLI apps.