chef-community-zero 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/bin/community-zero +37 -0
  3. metadata +117 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 63f907a1d855946f2da0dce8eb1543ff10d7e839cce64eea92a8aeadca45b42b
4
+ data.tar.gz: 789f7e4134b73bab9092e8791b5c484b7ed36834d5e0cda45147406bb9b11717
5
+ SHA512:
6
+ metadata.gz: 532ad27d4d00008064e07f3c63b667fac538e59e00430931bb8fae3c501e20831f9a5aec12fb2694fd9983dcfba57ba1b02fcfe82cafa87336bc5398c6a5ca46
7
+ data.tar.gz: 4cf520f0842af7306ac19365897503fe99e95a0db86a3018774f36ba61297e4913549b51144888dd3dfbbf4e2e2a0703d4b6a2c39c757daa23752719872dee1c
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # Load paths are hard
4
+ $:.unshift(File.dirname(__FILE__) + '../lib')
5
+
6
+ # Trap interrupts to quit cleanly.
7
+ Signal.trap('INT') { exit 1 }
8
+
9
+ require 'community_zero'
10
+ require 'optparse'
11
+
12
+ options = { :publish => true }
13
+
14
+ OptionParser.new do |opts|
15
+ opts.banner = 'Usage: community-zero [ARGS]'
16
+
17
+ opts.on('-H', '--host HOST', 'Host to bind to (default: 127.0.0.1)') do |value|
18
+ options[:host] = value
19
+ end
20
+
21
+ opts.on('-p', '--port PORT', Integer, 'Port to listen on (default: 3389)') do |value|
22
+ options[:port] = value
23
+ end
24
+
25
+ opts.on_tail('-h', '--help', 'Show this message') do
26
+ puts opts
27
+ exit
28
+ end
29
+
30
+ opts.on_tail('--version', 'Show version') do
31
+ puts CommunityZero::VERSION
32
+ exit
33
+ end
34
+ end.parse!
35
+
36
+ server = CommunityZero::Server.new(options)
37
+ server.start
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chef-community-zero
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.3
5
+ platform: ruby
6
+ authors:
7
+ - Seth Vargo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: cucumber
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: json_spec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Self-contained, easy-setup, fast-start in-memory Chef Community Site
84
+ for testing.
85
+ email: sethvargo@gmail.com
86
+ executables:
87
+ - community-zero
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - bin/community-zero
92
+ homepage: https://github.com/chef/chef-community-zero
93
+ licenses:
94
+ - Apache 2.0
95
+ metadata: {}
96
+ post_install_message:
97
+ rdoc_options: []
98
+ require_paths:
99
+ - lib
100
+ required_ruby_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ required_rubygems_version: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ requirements: []
111
+ rubyforge_project:
112
+ rubygems_version: 2.7.9
113
+ signing_key:
114
+ specification_version: 4
115
+ summary: Self-contained, easy-setup, fast-start in-memory Chef Community Site for
116
+ testing.
117
+ test_files: []