beaker-rspec 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OThkNDU1YzJkYWQwNDdhZDg1Zjk3ODg4NmIyYjI2NzU3NTE1ZmQ1ZA==
4
+ N2M0Mzc5ZjhlN2JjZTY3NGI5ZGMwZGUyN2UxM2UyNjA1ZTliMGE2Zg==
5
5
  data.tar.gz: !binary |-
6
- MmRlMmUzNjkyY2E1MmUwZjE1MjcwMDcwMjIzYWQ1NzcwMmJkZTRjYQ==
6
+ NGMyZmU0NzhkNzY0Y2VhNzgzMDE1NWJiMjRhMzIyZDFkNDQ1ZGFhNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWY1NWEyYjdmMzUwMjhiNGU3MGRhODlhZGNmNmUwOTAzNGU2OWM1YWUyYmY1
10
- Y2FiYjJkMjAzMzk4OGQ0NGQwMzU5MDMwOTdlNDQ1MDc3YmIxZWU3M2I1OWQ1
11
- NzNjNzljY2Q1ZjVjMmI0NjkxZmVkN2UxODE0ZGIyYjZiNGRiM2Q=
9
+ MGFhNGM3ZDFlZjE5OTEyM2RkZGEyZGVmZDg2YzBkZGI5M2M1YjVjYmVhZDll
10
+ YWQzNWEwODcyMjVkN2IyYzFiODE0MTU2MDA5NWEzZTk4NDhiMzgzZjVlMjAx
11
+ YTNmZjVmOTRkNGY4NGE2MTA4YjczMDhhMGYwMTY0ZTM5NWUwODg=
12
12
  data.tar.gz: !binary |-
13
- NGU0NzZmNWYzNWJmMzA2NDYwNzFmMDlhMjkzNGI2MDFkNTUyNWMwMjczMGJl
14
- ZmViMzExMDc5MDk0ZmE1YzdiY2ZjYjVmZDNhNDJkNzQ5ODE4ZWIxODM5YjFk
15
- YTEzYWJiN2NmYzg2NzAzZDFiNGViMzY5ZmYyYjhlNGM5MmI5ZjM=
13
+ ZjBkNWFlNzgwYTI5OGNjNjA4NWQ1YTNjNWZmNWVlNTJiMDQ4MzliNmI4N2Qz
14
+ MzkwMjdjYTg2MWVmOTMxZGY2OTVlM2E3NjQ3MGNlMzRjMzEwM2Q0YmYzODdj
15
+ YTY4ZGJiNWYwNTI3NzFkYjVhOTUxMGQ4MGU3Mzk0NTk3ZWZlNmU=
data/beaker-rspec.gemspec CHANGED
@@ -6,7 +6,7 @@ less_than_one_nine = ruby_conf['MAJOR'].to_i == 1 && ruby_conf['MINOR'].to_i < 9
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "beaker-rspec"
9
- s.version = '1.0.0'
9
+ s.version = '2.0.0'
10
10
  s.authors = ["Puppetlabs"]
11
11
  s.email = ["sqa@puppetlabs.com"]
12
12
  s.homepage = "https://github.com/puppetlabs/beaker-rspec"
@@ -10,11 +10,11 @@ RSpec.configure do |c|
10
10
  c.add_setting :hosts, :default => []
11
11
 
12
12
  # Defined target nodeset
13
- nodeset = ENV['RSPEC_SET'] || 'default'
14
- nodesetfile = ENV['RSPEC_SETFILE'] || File.join('spec/acceptance/nodesets',"#{nodeset}.yml")
13
+ nodeset = ENV['RS_SET'] || 'default'
14
+ nodesetfile = ENV['RS_SETFILE'] || File.join('spec/acceptance/nodesets',"#{nodeset}.yml")
15
15
 
16
- preserve = ENV['RSPEC_DESTROY'] ? '--preserve-hosts' : ''
17
- fresh_nodes = ENV['RSPEC_NO_PROVISION'] ? '--no-provision' : ''
16
+ preserve = ENV['RS_DESTROY'] == 'no' ? '--preserve-hosts' : ''
17
+ fresh_nodes = ENV['RS_PROVISION'] == 'no' ? '--no-provision' : ''
18
18
 
19
19
  # Configure all nodes in nodeset
20
20
  c.setup([preserve, fresh_nodes, '--type','git','--hosts', nodesetfile])
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,3 @@
1
- ENV['RSPEC_SETFILE'] = 'sample.cfg'
1
+ ENV['RS_SETFILE'] = 'sample.cfg'
2
2
 
3
3
  require "beaker-rspec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2013-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec