conman 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/conman +5 -6
  2. metadata +17 -4
data/bin/conman CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
- # conman -r /my/recipes/folder /path/to/a1.sendhub.net.rb
3
+ # conman -i /my/ingredients/folder /path/to/recipe.rb
4
4
 
5
5
  $:.unshift(File.join File.dirname(__FILE__), '..', 'lib')
6
6
  #require 'rubygems'
@@ -9,10 +9,9 @@ require 'optparse'
9
9
 
10
10
  options = {}
11
11
  OptionParser.new do |opts|
12
- opts.banner = "Usage: conman [-r /my/recipes/folder] /path/to/script.rb"
13
- opts.on("-r", "--recipes RECIPES_FOLDER", "Recipes folder") do |r|
14
- puts r
15
- options[:recipes] = r
12
+ opts.banner = "Usage: conman [-i /my/ingredients/folder] /path/to/script.rb"
13
+ opts.on("-i", "--ingredients INGREDIENTS_FOLDER", "Ingredients folder") do |i|
14
+ options[:ingredients] = i
16
15
  end
17
16
  opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
18
17
  options[:verbose] = v
@@ -21,5 +20,5 @@ end.parse!
21
20
 
22
21
  options[:script] = ARGV.last
23
22
 
24
- Conman.init(:recipes => options[:recipes])
23
+ Conman.init(:ingredients => options[:ingredients])
25
24
  Conman.run(:script => options[:script])
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ hash: 31
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 2
10
+ version: 0.1.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Richard Taylor
@@ -27,6 +33,7 @@ files:
27
33
  - lib/conman.rb
28
34
  - lib/conman/ingredient.rb
29
35
  - lib/conman/recipe.rb
36
+ - bin/conman
30
37
  has_rdoc: true
31
38
  homepage: http://github.com/moocode/conman
32
39
  licenses: []
@@ -38,21 +45,27 @@ rdoc_options:
38
45
  require_paths:
39
46
  - lib
40
47
  required_ruby_version: !ruby/object:Gem::Requirement
48
+ none: false
41
49
  requirements:
42
50
  - - ">="
43
51
  - !ruby/object:Gem::Version
52
+ hash: 3
53
+ segments:
54
+ - 0
44
55
  version: "0"
45
- version:
46
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
47
58
  requirements:
48
59
  - - ">="
49
60
  - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
50
64
  version: "0"
51
- version:
52
65
  requirements: []
53
66
 
54
67
  rubyforge_project: conman
55
- rubygems_version: 1.3.5
68
+ rubygems_version: 1.3.7
56
69
  signing_key:
57
70
  specification_version: 3
58
71
  summary: conman is a server configuration management library