beaker-rspec 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OThkNDU1YzJkYWQwNDdhZDg1Zjk3ODg4NmIyYjI2NzU3NTE1ZmQ1ZA==
5
+ data.tar.gz: !binary |-
6
+ MmRlMmUzNjkyY2E1MmUwZjE1MjcwMDcwMjIzYWQ1NzcwMmJkZTRjYQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MWY1NWEyYjdmMzUwMjhiNGU3MGRhODlhZGNmNmUwOTAzNGU2OWM1YWUyYmY1
10
+ Y2FiYjJkMjAzMzk4OGQ0NGQwMzU5MDMwOTdlNDQ1MDc3YmIxZWU3M2I1OWQ1
11
+ NzNjNzljY2Q1ZjVjMmI0NjkxZmVkN2UxODE0ZGIyYjZiNGRiM2Q=
12
+ data.tar.gz: !binary |-
13
+ NGU0NzZmNWYzNWJmMzA2NDYwNzFmMDlhMjkzNGI2MDFkNTUyNWMwMjczMGJl
14
+ ZmViMzExMDc5MDk0ZmE1YzdiY2ZjYjVmZDNhNDJkNzQ5ODE4ZWIxODM5YjFk
15
+ YTEzYWJiN2NmYzg2NzAzZDFiNGViMzY5ZmYyYjhlNGM5MmI5ZjM=
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ Gemfile.lock
2
+ .bundle
3
+ *.swp
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ gem 'beaker'
data/LICENSE ADDED
@@ -0,0 +1,191 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form, made
34
+ available under the License, as indicated by a copyright notice that is included
35
+ in or attached to the work (an example is provided in the Appendix below).
36
+
37
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
38
+ is based on (or derived from) the Work and for which the editorial revisions,
39
+ annotations, elaborations, or other modifications represent, as a whole, an
40
+ original work of authorship. For the purposes of this License, Derivative Works
41
+ shall not include works that remain separable from, or merely link (or bind by
42
+ name) to the interfaces of, the Work and Derivative Works thereof.
43
+
44
+ "Contribution" shall mean any work of authorship, including the original version
45
+ of the Work and any modifications or additions to that Work or Derivative Works
46
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
47
+ by the copyright owner or by an individual or Legal Entity authorized to submit
48
+ on behalf of the copyright owner. For the purposes of this definition,
49
+ "submitted" means any form of electronic, verbal, or written communication sent
50
+ to the Licensor or its representatives, including but not limited to
51
+ communication on electronic mailing lists, source code control systems, and
52
+ issue tracking systems that are managed by, or on behalf of, the Licensor for
53
+ the purpose of discussing and improving the Work, but excluding communication
54
+ that is conspicuously marked or otherwise designated in writing by the copyright
55
+ owner as "Not a Contribution."
56
+
57
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58
+ of whom a Contribution has been received by Licensor and subsequently
59
+ incorporated within the Work.
60
+
61
+ 2. Grant of Copyright License.
62
+
63
+ Subject to the terms and conditions of this License, each Contributor hereby
64
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
65
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
66
+ publicly display, publicly perform, sublicense, and distribute the Work and such
67
+ Derivative Works in Source or Object form.
68
+
69
+ 3. Grant of Patent License.
70
+
71
+ Subject to the terms and conditions of this License, each Contributor hereby
72
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
73
+ irrevocable (except as stated in this section) patent license to make, have
74
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
75
+ such license applies only to those patent claims licensable by such Contributor
76
+ that are necessarily infringed by their Contribution(s) alone or by combination
77
+ of their Contribution(s) with the Work to which such Contribution(s) was
78
+ submitted. If You institute patent litigation against any entity (including a
79
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
80
+ Contribution incorporated within the Work constitutes direct or contributory
81
+ patent infringement, then any patent licenses granted to You under this License
82
+ for that Work shall terminate as of the date such litigation is filed.
83
+
84
+ 4. Redistribution.
85
+
86
+ You may reproduce and distribute copies of the Work or Derivative Works thereof
87
+ in any medium, with or without modifications, and in Source or Object form,
88
+ provided that You meet the following conditions:
89
+
90
+ You must give any other recipients of the Work or Derivative Works a copy of
91
+ this License; and
92
+ You must cause any modified files to carry prominent notices stating that You
93
+ changed the files; and
94
+ You must retain, in the Source form of any Derivative Works that You distribute,
95
+ all copyright, patent, trademark, and attribution notices from the Source form
96
+ of the Work, excluding those notices that do not pertain to any part of the
97
+ Derivative Works; and
98
+ If the Work includes a "NOTICE" text file as part of its distribution, then any
99
+ Derivative Works that You distribute must include a readable copy of the
100
+ attribution notices contained within such NOTICE file, excluding those notices
101
+ that do not pertain to any part of the Derivative Works, in at least one of the
102
+ following places: within a NOTICE text file distributed as part of the
103
+ Derivative Works; within the Source form or documentation, if provided along
104
+ with the Derivative Works; or, within a display generated by the Derivative
105
+ Works, if and wherever such third-party notices normally appear. The contents of
106
+ the NOTICE file are for informational purposes only and do not modify the
107
+ License. You may add Your own attribution notices within Derivative Works that
108
+ You distribute, alongside or as an addendum to the NOTICE text from the Work,
109
+ provided that such additional attribution notices cannot be construed as
110
+ modifying the License.
111
+ You may add Your own copyright statement to Your modifications and may provide
112
+ additional or different license terms and conditions for use, reproduction, or
113
+ distribution of Your modifications, or for any such Derivative Works as a whole,
114
+ provided Your use, reproduction, and distribution of the Work otherwise complies
115
+ with the conditions stated in this License.
116
+
117
+ 5. Submission of Contributions.
118
+
119
+ Unless You explicitly state otherwise, any Contribution intentionally submitted
120
+ for inclusion in the Work by You to the Licensor shall be under the terms and
121
+ conditions of this License, without any additional terms or conditions.
122
+ Notwithstanding the above, nothing herein shall supersede or modify the terms of
123
+ any separate license agreement you may have executed with Licensor regarding
124
+ such Contributions.
125
+
126
+ 6. Trademarks.
127
+
128
+ This License does not grant permission to use the trade names, trademarks,
129
+ service marks, or product names of the Licensor, except as required for
130
+ reasonable and customary use in describing the origin of the Work and
131
+ reproducing the content of the NOTICE file.
132
+
133
+ 7. Disclaimer of Warranty.
134
+
135
+ Unless required by applicable law or agreed to in writing, Licensor provides the
136
+ Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
137
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
138
+ including, without limitation, any warranties or conditions of TITLE,
139
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
140
+ solely responsible for determining the appropriateness of using or
141
+ redistributing the Work and assume any risks associated with Your exercise of
142
+ permissions under this License.
143
+
144
+ 8. Limitation of Liability.
145
+
146
+ In no event and under no legal theory, whether in tort (including negligence),
147
+ contract, or otherwise, unless required by applicable law (such as deliberate
148
+ and grossly negligent acts) or agreed to in writing, shall any Contributor be
149
+ liable to You for damages, including any direct, indirect, special, incidental,
150
+ or consequential damages of any character arising as a result of this License or
151
+ out of the use or inability to use the Work (including but not limited to
152
+ damages for loss of goodwill, work stoppage, computer failure or malfunction, or
153
+ any and all other commercial damages or losses), even if such Contributor has
154
+ been advised of the possibility of such damages.
155
+
156
+ 9. Accepting Warranty or Additional Liability.
157
+
158
+ While redistributing the Work or Derivative Works thereof, You may choose to
159
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
160
+ other liability obligations and/or rights consistent with this License. However,
161
+ in accepting such obligations, You may act only on Your own behalf and on Your
162
+ sole responsibility, not on behalf of any other Contributor, and only if You
163
+ agree to indemnify, defend, and hold each Contributor harmless for any liability
164
+ incurred by, or claims asserted against, such Contributor by reason of your
165
+ accepting any such warranty or additional liability.
166
+
167
+ END OF TERMS AND CONDITIONS
168
+
169
+ APPENDIX: How to apply the Apache License to your work
170
+
171
+ To apply the Apache License to your work, attach the following boilerplate
172
+ notice, with the fields enclosed by brackets "[]" replaced with your own
173
+ identifying information. (Don't include the brackets!) The text should be
174
+ enclosed in the appropriate comment syntax for the file format. We also
175
+ recommend that a file or class name and description of purpose be included on
176
+ the same "printed page" as the copyright notice for easier identification within
177
+ third-party archives.
178
+
179
+ Copyright [yyyy] [name of copyright owner]
180
+
181
+ Licensed under the Apache License, Version 2.0 (the "License");
182
+ you may not use this file except in compliance with the License.
183
+ You may obtain a copy of the License at
184
+
185
+ http://www.apache.org/licenses/LICENSE-2.0
186
+
187
+ Unless required by applicable law or agreed to in writing, software
188
+ distributed under the License is distributed on an "AS IS" BASIS,
189
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190
+ See the License for the specific language governing permissions and
191
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ beaker-rspec
2
+ =======================
3
+
4
+ Bridge between puppet test harness (beaker) and rspec
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require 'rbconfig'
4
+ ruby_conf = defined?(RbConfig) ? RbConfig::CONFIG : Config::CONFIG
5
+ less_than_one_nine = ruby_conf['MAJOR'].to_i == 1 && ruby_conf['MINOR'].to_i < 9
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "beaker-rspec"
9
+ s.version = '1.0.0'
10
+ s.authors = ["Puppetlabs"]
11
+ s.email = ["sqa@puppetlabs.com"]
12
+ s.homepage = "https://github.com/puppetlabs/beaker-rspec"
13
+ s.summary = %q{RSpec bindings for beaker}
14
+ s.description = %q{RSpec bindings for beaker}
15
+ s.license = 'Apache2'
16
+
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
+ s.require_paths = ["lib"]
22
+
23
+ # Testing dependencies
24
+ s.add_development_dependency 'rspec', '2.13.0'
25
+ s.add_development_dependency 'fakefs', '0.4'
26
+ s.add_development_dependency 'specinfra'
27
+ s.add_development_dependency 'serverspec'
28
+ s.add_development_dependency 'rake'
29
+ s.add_development_dependency 'simplecov' unless less_than_one_nine
30
+
31
+ # Documentation dependencies
32
+ s.add_development_dependency 'yard'
33
+ s.add_development_dependency 'markdown' unless less_than_one_nine
34
+ s.add_development_dependency 'thin'
35
+
36
+ # Run time dependencies
37
+ s.add_runtime_dependency 'beaker'
38
+ s.add_runtime_dependency 'rspec'
39
+ end
@@ -0,0 +1,75 @@
1
+ require 'beaker'
2
+
3
+ module BeakerRSpec
4
+ # BeakerShim Module
5
+ #
6
+ # This module provides the connection between rspec and the Beaker DSL.
7
+ # Additional wrappers are provided around commonly executed sets of Beaker
8
+ # commands.
9
+ module BeakerShim
10
+ include Beaker::DSL
11
+
12
+ # Accessor for logger
13
+ # @return Beaker::Logger object
14
+ def logger
15
+ @logger
16
+ end
17
+
18
+ # Accessor for options hash
19
+ # @return Hash options
20
+ def options
21
+ @options
22
+ end
23
+
24
+ # Provision the hosts to run tests on.
25
+ # Assumes #setup has already been called.
26
+ #
27
+ def provision
28
+ @network_manager = Beaker::NetworkManager.new(@options, @logger)
29
+ RSpec.configuration.hosts = @network_manager.provision
30
+ end
31
+
32
+ # Validate that the SUTs are up and correctly configured
33
+ # Assumes #setup and #provision has already been called.
34
+ def validate
35
+ Beaker::Utils::Validator.validate(RSpec.configuration.hosts, @logger)
36
+ end
37
+
38
+ # Setup the testing environment
39
+ # @param [Array<String>] args The argument array of options for configuring Beaker
40
+ # See 'beaker --help' for full list of supported command line options
41
+ def setup(args = [])
42
+ @options_parser = Beaker::Options::Parser.new
43
+ @options = @options_parser.parse_args(args)
44
+ @options[:debug] = true
45
+ @logger = Beaker::Logger.new(@options)
46
+ @options[:logger] = @logger
47
+ RSpec.configuration.hosts = []
48
+ end
49
+
50
+ # Accessor for hosts object
51
+ # @return [Array<Beaker::Host>]
52
+ def hosts
53
+ RSpec.configuration.hosts
54
+ end
55
+
56
+ # Cleanup the testing framework, shut down test boxen and tidy up
57
+ def cleanup
58
+ @network_manager.cleanup
59
+ end
60
+
61
+ # Copy a puppet module from a given source to all hosts under test.
62
+ # Assumes each host under test has an associated 'distmoduledir' (set in the
63
+ # host configuration YAML file).
64
+ #
65
+ # @param opts [Hash]
66
+ # @option opts [String] :source The location on the test runners box where the files are found
67
+ # @option opts [String] :module_name The name of the module to be copied over
68
+ def puppet_module_install opts = {}
69
+ hosts.each do |host|
70
+ scp_to host, opts[:source], File.join(host['distmoduledir'], opts[:module_name])
71
+ end
72
+ end
73
+
74
+ end
75
+ end
@@ -0,0 +1,78 @@
1
+ require 'serverspec'
2
+ require 'specinfra'
3
+ require 'specinfra/backend/exec'
4
+
5
+ module SpecInfra
6
+ # Backend Module
7
+ #
8
+ # Contains the bridge between beaker-rspec and serverspec
9
+ module Backend
10
+ # Class BeakerExec
11
+ #
12
+ # Controls the running of Serverspec commands.
13
+ class BeakerExec < SpecInfra::Backend::Exec
14
+ # Run a command using serverspec. Defaults to running on the 'default' test node, otherwise uses the
15
+ # node specified in @example.metadata[:node]
16
+ # @param [String] cmd The serverspec command to executed
17
+ # @param [Hash] opt No currently supported options
18
+ # @return [Hash] Returns a hash containing :exit_status, :stdout and :stderr
19
+ def run_command(cmd, opt={})
20
+ cmd = build_command(cmd)
21
+ cmd = add_pre_command(cmd)
22
+ ret = ssh_exec!(cmd)
23
+
24
+ if @example
25
+ @example.metadata[:command] = cmd
26
+ @example.metadata[:stdout] = ret[:stdout]
27
+ end
28
+
29
+ ret
30
+ end
31
+
32
+ private
33
+ # Execute the provided ssh command
34
+ # @param [String] command The command to be executed
35
+ # @return [Hash] Returns a hash containing :exit_status, :stdout and :stderr
36
+ def ssh_exec!(command)
37
+ if @example and @example.metadata[:node]
38
+ node = @example.metadata[:node]
39
+ else
40
+ node = default
41
+ end
42
+
43
+ r = on node, command, { :acceptable_exit_codes => (0..127) }
44
+ {
45
+ :exit_status => r.exit_code,
46
+ :stdout => r.stdout,
47
+ :stderr => r.stderr
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+
55
+ module SpecInfra
56
+ # Helper Module
57
+ #
58
+ #
59
+ module Helper
60
+ # BeakerBackend Module
61
+ #
62
+ module BeakerBackend
63
+ # @param commands_object [Object] The command object
64
+ # @return [SpecInfra::Backend::BeakerExec] Returns an instance of SpecInfra::Backend::BeakerExec
65
+ def backend(commands_object=nil)
66
+ if ! respond_to?(:commands)
67
+ commands_object = SpecInfra::Commands::Base.new
68
+ end
69
+ instance = SpecInfra::Backend::BeakerExec.instance
70
+ instance.set_commands(commands_object || commands)
71
+ instance
72
+ end
73
+ end
74
+ end
75
+ end
76
+
77
+ include SpecInfra::Helper::BeakerBackend
78
+ include SpecInfra::Helper::DetectOS
@@ -0,0 +1,28 @@
1
+ require 'beaker-rspec/beaker_shim'
2
+ require "beaker-rspec/helpers/serverspec"
3
+ include BeakerRSpec::BeakerShim
4
+
5
+ RSpec.configure do |c|
6
+ # Enable color
7
+ c.tty = true
8
+
9
+ # Define persistant hosts setting
10
+ c.add_setting :hosts, :default => []
11
+
12
+ # Defined target nodeset
13
+ nodeset = ENV['RSPEC_SET'] || 'default'
14
+ nodesetfile = ENV['RSPEC_SETFILE'] || File.join('spec/acceptance/nodesets',"#{nodeset}.yml")
15
+
16
+ preserve = ENV['RSPEC_DESTROY'] ? '--preserve-hosts' : ''
17
+ fresh_nodes = ENV['RSPEC_NO_PROVISION'] ? '--no-provision' : ''
18
+
19
+ # Configure all nodes in nodeset
20
+ c.setup([preserve, fresh_nodes, '--type','git','--hosts', nodesetfile])
21
+ c.provision
22
+ c.validate
23
+
24
+ # Destroy nodes if no preserve hosts
25
+ c.after :suite do
26
+ c.cleanup
27
+ end
28
+ end
@@ -0,0 +1,7 @@
1
+ module BeakerRSpec
2
+ require 'beaker'
3
+
4
+ require 'beaker-rspec/beaker_shim'
5
+ require 'beaker-rspec/spec_helper'
6
+
7
+ end
data/sample.cfg ADDED
@@ -0,0 +1,25 @@
1
+ HOSTS:
2
+ ubuntu-10-04-4-x64-master:
3
+ roles:
4
+ - master
5
+ - agent
6
+ - dashboard
7
+ - database
8
+ platform: ubuntu-10.04-amd64
9
+ hypervisor: vagrant
10
+ box: ubuntu-server-10044-x64-vbox4210
11
+ box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210.box
12
+ ip: 192.168.20.20
13
+ distmoduledir: .
14
+ ubuntu-10-04-4-x64-agent:
15
+ roles:
16
+ - agent
17
+ platform: ubuntu-10.04-amd64
18
+ hypervisor: vagrant
19
+ box: ubuntu-server-10044-x64-vbox4210
20
+ box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210.box
21
+ ip: 192.168.21.21
22
+ distmoduledir: .
23
+ CONFIG:
24
+ nfs_server: none
25
+ consoleport: 443
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe "ignore" do
4
+
5
+ example "ignore" do
6
+ hosts.each do |host|
7
+ on host, 'echo hello'
8
+ end
9
+ end
10
+
11
+ hosts.each do |node|
12
+ describe service('ssh'), :node => node do
13
+ it { should be_running }
14
+ it { should be_enabled }
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,3 @@
1
+ ENV['RSPEC_SETFILE'] = 'sample.cfg'
2
+
3
+ require "beaker-rspec"
metadata ADDED
@@ -0,0 +1,213 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: beaker-rspec
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Puppetlabs
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.13.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.13.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: fakefs
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: '0.4'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: '0.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: specinfra
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: serverspec
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: rake
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
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: yard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: markdown
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: thin
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: beaker
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: RSpec bindings for beaker
168
+ email:
169
+ - sqa@puppetlabs.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - .gitignore
175
+ - Gemfile
176
+ - LICENSE
177
+ - README.md
178
+ - beaker-rspec.gemspec
179
+ - lib/beaker-rspec.rb
180
+ - lib/beaker-rspec/beaker_shim.rb
181
+ - lib/beaker-rspec/helpers/serverspec.rb
182
+ - lib/beaker-rspec/spec_helper.rb
183
+ - sample.cfg
184
+ - spec/acceptance/example_spec.rb
185
+ - spec/spec_helper.rb
186
+ homepage: https://github.com/puppetlabs/beaker-rspec
187
+ licenses:
188
+ - Apache2
189
+ metadata: {}
190
+ post_install_message:
191
+ rdoc_options: []
192
+ require_paths:
193
+ - lib
194
+ required_ruby_version: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ! '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ! '>='
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ requirements: []
205
+ rubyforge_project:
206
+ rubygems_version: 2.0.6
207
+ signing_key:
208
+ specification_version: 4
209
+ summary: RSpec bindings for beaker
210
+ test_files:
211
+ - spec/acceptance/example_spec.rb
212
+ - spec/spec_helper.rb
213
+ has_rdoc: