rspec-puppet-womble 0.1.6.womble1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/rspec-puppet-init +20 -0
  2. metadata +64 -0
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
4
+
5
+ require 'rspec-puppet'
6
+ require 'optparse'
7
+
8
+ options = {
9
+ :module_name => nil,
10
+ }
11
+
12
+ OptionParser.new do |opts|
13
+ opts.banner = "Usage: rspec-puppet-init [options]"
14
+
15
+ opts.on('-n', '--name NAME', 'The name of the module (override autodetection)') do |v|
16
+ options[:module_name] = v
17
+ end
18
+ end.parse!
19
+
20
+ RSpec::Puppet::Setup.run(options[:module_name])
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rspec-puppet-womble
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.6.womble1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Tim Sharpe
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-11-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: RSpec tests for your Puppet manifests. This is a forked gem, containing
31
+ features merged but not yet released in the gems provided by the primary author.
32
+ email: tim@sharpe.id.au
33
+ executables:
34
+ - rspec-puppet-init
35
+ extensions: []
36
+ extra_rdoc_files: []
37
+ files:
38
+ - bin/rspec-puppet-init
39
+ homepage: https://github.com/mpalmer/rspec-puppet
40
+ licenses: []
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>'
55
+ - !ruby/object:Gem::Version
56
+ version: 1.3.1
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 1.8.23
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: RSpec tests for your Puppet manifests (updated by womble)
63
+ test_files: []
64
+ has_rdoc: