mothership 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ class Mothership
37
37
  end
38
38
  elsif Help.has_groups?
39
39
  unless input[:all]
40
- puts "Showing basic command set. Pass --all to list all commands."
40
+ puts "Showing basic command set. Run with 'help --all' to list all commands."
41
41
  puts ""
42
42
  end
43
43
 
@@ -32,7 +32,7 @@ class Mothership
32
32
  end
33
33
 
34
34
  def merge_given(given)
35
- self.class.new(@command, @context, @inputs, @given.merge(given), @global)
35
+ self.class.new(@command, @context, @inputs.dup, @given.merge(given), @global)
36
36
  end
37
37
 
38
38
  def rebase(inputs)
@@ -40,7 +40,7 @@ class Mothership
40
40
  end
41
41
 
42
42
  def rebase_given(given)
43
- self.class.new(@command, @context, @inputs, given.merge(@given), @global)
43
+ self.class.new(@command, @context, @inputs.dup, given.merge(@given), @global)
44
44
  end
45
45
 
46
46
  def without(*names)
@@ -1,3 +1,3 @@
1
1
  class Mothership
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Suraci
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-11 00:00:00 -08:00
19
- default_executable:
18
+ date: 2013-02-20 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rake
@@ -59,23 +58,22 @@ extra_rdoc_files: []
59
58
  files:
60
59
  - LICENSE
61
60
  - Rakefile
62
- - lib/mothership.rb
63
- - lib/mothership/parser.rb
64
61
  - lib/mothership/base.rb
65
- - lib/mothership/inputs.rb
62
+ - lib/mothership/callbacks.rb
63
+ - lib/mothership/command.rb
66
64
  - lib/mothership/errors.rb
67
- - lib/mothership/help/printer.rb
68
65
  - lib/mothership/help/commands.rb
66
+ - lib/mothership/help/printer.rb
69
67
  - lib/mothership/help.rb
70
- - lib/mothership/command.rb
71
- - lib/mothership/callbacks.rb
68
+ - lib/mothership/inputs.rb
69
+ - lib/mothership/parser.rb
72
70
  - lib/mothership/version.rb
73
- - spec/spec_helper.rb
71
+ - lib/mothership.rb
74
72
  - spec/arguments_spec.rb
75
73
  - spec/combination_spec.rb
76
- - spec/Rakefile
77
74
  - spec/flags_spec.rb
78
- has_rdoc: true
75
+ - spec/Rakefile
76
+ - spec/spec_helper.rb
79
77
  homepage: https://github.com/vito/mothership
80
78
  licenses: []
81
79
 
@@ -105,13 +103,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements: []
106
104
 
107
105
  rubyforge_project: mothership
108
- rubygems_version: 1.6.2
106
+ rubygems_version: 1.8.25
109
107
  signing_key:
110
108
  specification_version: 3
111
109
  summary: Command-line library for big honkin' CLI apps.
112
110
  test_files:
113
- - spec/spec_helper.rb
114
111
  - spec/arguments_spec.rb
115
112
  - spec/combination_spec.rb
116
- - spec/Rakefile
117
113
  - spec/flags_spec.rb
114
+ - spec/Rakefile
115
+ - spec/spec_helper.rb