beaker-rspec 5.4.0 → 5.5.0

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDYxN2NmZWJkNTMyMGNlNGNkMWI5NTcwMzQ2YzU0YzYxZjI5OTZlYw==
4
+ NzNlNGE4ZmRlMjk4OTg1NDU1ODk2NTk2NTdiZjI3ZWFjNTVhNzViMA==
5
5
  data.tar.gz: !binary |-
6
- YzkxZjg3YTA1NWExYjU1OWQ5Zjg3OWU4MWRiNWY1NDNlMGY4YTE5NA==
6
+ YmQzYTExZjZlNDZmZWM4Mjc5MWMwMWY5YmM0NmZkZGViZWQ3YTU2MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDNhYWUyNjMzZGFjOWYyODViNTJlOGQ3ZWRiN2JiZmVkM2I2YjFhYzRlNWNj
10
- YjNhNTg3ZjM3YTdkNzM2YzdkNDQ5YzI1ZWY5OTNmYzU0Y2Q3ZWVjNTE0MjY3
11
- OWY1YjJmOTc2N2ExODZiNjNmMzFhYTA5ZTM3Zjc1MjQzMjcwMjU=
9
+ N2Y0ZGMxMTJhZTU2NmZmMmU0ODBlY2U2YTQ3YmRkY2Q2ZjNiZTIzM2U0MGVi
10
+ YjBlYjc3ODI0ZTY4MWYyZDdmOTY1MWFmZWFhNmJkZTU1ODRmOTEyM2Q0ZTYx
11
+ YWVhMjhmYTc1NjJkMTRiOWJkMzhhYjFkZDYxMDM1YTM4NmJjYjM=
12
12
  data.tar.gz: !binary |-
13
- Nzk0MWU5NDdhY2VkODlmOTEyZjAwOWI4NzcyMDRiYzgxZjJkMGM5ZTVmYjZi
14
- ZGI3YjU1NjQwZjU4YTU0YzEzZTY4MTc3Y2IyMTBjN2M3MTA0ODhkZWQzMzQ2
15
- MTQxOGVkYjQ0ZjFlM2VkZTExYzViZTUyMjVhMmFmZjIxNWQ4NGI=
13
+ MGEzNWY1MDk1MDQ4NzZmZWY2NzNhZTIyZWYyODYwMTVmNjA3NjE5ZmE0MjQ4
14
+ M2I4ODY3Mzc3OTk5YjQ3MjQzZTE5OWVkNmZiZGY5YmEwYTQxOTY3YmJiMGJj
15
+ ZTdhZTk3OGJlODNlOWU0NTBlMWIwYzM5ZDhkMmJhYzk2NGRhY2U=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 9 Jun, 2016 (a25f1e77)](#LATEST)
3
+ * [LATEST - 23 Jun, 2016 (2d2f126e)](#LATEST)
4
+ * [5.4.0 - 9 Jun, 2016 (f030a8b5)](#5.4.0)
4
5
  * [5.3.0 - 13 Oct, 2015 (2efeb932)](#5.3.0)
5
6
  * [5.2.2 - 3 Sep, 2015 (69980e14)](#5.2.2)
6
7
  * [5.2.1 - 27 Aug, 2015 (49c45f61)](#5.2.1)
@@ -24,7 +25,65 @@
24
25
  * [beaker-rspec1.0.0 - 3 Dec, 2013 (65e89ec9)](#beaker-rspec1.0.0)
25
26
 
26
27
  ## Details
27
- ### <a name = "LATEST">LATEST - 9 Jun, 2016 (a25f1e77)
28
+ ### <a name = "LATEST">LATEST - 23 Jun, 2016 (2d2f126e)
29
+
30
+ * (GEM) update beaker-rspec version to 5.5.0 (2d2f126e)
31
+
32
+ * Merge pull request #82 from kevpl/maint_specinfra_gem_issue (ab82b011)
33
+
34
+
35
+ ```
36
+ Merge pull request #82 from kevpl/maint_specinfra_gem_issue
37
+
38
+ (MAINT) pinning specinfra to pass testing
39
+ ```
40
+ * Merge pull request #80 from Ajedi32/patch-1 (9ab0b19f)
41
+
42
+
43
+ ```
44
+ Merge pull request #80 from Ajedi32/patch-1
45
+
46
+ Fix broken link to Vagrant node examples in README
47
+ ```
48
+ * Merge pull request #81 from Ajedi32/patch-2 (04a9ae52)
49
+
50
+
51
+ ```
52
+ Merge pull request #81 from Ajedi32/patch-2
53
+
54
+ Fix example spec file in README
55
+ ```
56
+ * (MAINT) pinning specinfra to pass testing (d1f49991)
57
+
58
+
59
+ ```
60
+ (MAINT) pinning specinfra to pass testing
61
+
62
+ Specinfra's newer versions (>=2.59.1) inspect classes and use
63
+ their name method. Hocon shadows the class.name method, and
64
+ breaks as such. There's a separate issue to fix the hocon
65
+ problem (https://github.com/puppetlabs/ruby-hocon/issues/75).
66
+ specinfra has decided to not use the name method either
67
+ (https://github.com/mizzy/specinfra/pull/561).
68
+ Once that's merged & released, this should be reverted.
69
+ ```
70
+ * Fix example spec file in README (3af2c1a0)
71
+
72
+
73
+ ```
74
+ Fix example spec file in README
75
+
76
+ While following this example, I needed this change to get the tests to pass.
77
+
78
+ [The documentation for beaker](http://www.rubydoc.info/github/puppetlabs/beaker/Beaker%2FDSL%2FHelpers%2FPuppetHelpers%3Aapply_manifest_on) explains why:
79
+
80
+ > `:catch_failures` (Boolean) — default: `false` — By default `puppet -apply` will exit with 0, which does not count as a test failure, even if there were errors or changes when applying the manifest. This option enables detailed exit codes and causes a test failure if `puppet -apply` indicates there was a failure during its execution.
81
+ ```
82
+ * Fix broken link to Vagrant node examples in README (d53be837)
83
+
84
+ ### <a name = "5.4.0">5.4.0 - 9 Jun, 2016 (f030a8b5)
85
+
86
+ * (HISTORY) update beaker-rspec history for gem release 5.4.0 (f030a8b5)
28
87
 
29
88
  * (GEM) update beaker-rspec version to 5.4.0 (a25f1e77)
30
89
 
data/README.md CHANGED
@@ -63,7 +63,7 @@ Nodes are pulled from [Puppet Labs Vagrant Boxes](https://vagrantcloud.com/puppe
63
63
 
64
64
  Example node files can be found here:
65
65
 
66
- * [Puppet Labs example Vagrant node files](https://github.com/puppetlabs/beaker/blob/master/docs/Example-Vagrant-Hosts-Files.md)
66
+ * [Puppet Labs example Vagrant node files](https://github.com/puppetlabs/beaker/blob/master/docs/hypervisors/vagrant_hosts_file_examples.md)
67
67
 
68
68
  Create the nodesets directory. From module's top level directory:
69
69
 
@@ -122,7 +122,7 @@ describe 'mysql::server::account_security class' do
122
122
  }
123
123
 
124
124
  it 'should run without errors' do
125
- result = apply_manifest(manifest)
125
+ result = apply_manifest(manifest, :catch_failures => true)
126
126
  expect(@result.exit_code).to eq 2
127
127
  end
128
128
 
@@ -137,7 +137,7 @@ describe 'mysql::server::account_security class' do
137
137
  end
138
138
 
139
139
  it 'should run a second time without changes' do
140
- result = apply_manifest(manifest)
140
+ result = apply_manifest(manifest, :catch_failures => true)
141
141
  expect(@result.exit_code).to eq 0
142
142
  end
143
143
 
data/beaker-rspec.gemspec CHANGED
@@ -37,5 +37,5 @@ Gem::Specification.new do |s|
37
37
  s.add_runtime_dependency 'beaker', '~> 2.0'
38
38
  s.add_runtime_dependency 'rspec'
39
39
  s.add_runtime_dependency 'serverspec', '~> 2'
40
- s.add_runtime_dependency 'specinfra', '~> 2'
40
+ s.add_runtime_dependency 'specinfra', '= 2.59.0'
41
41
  end
@@ -1,5 +1,5 @@
1
1
  module BeakerRSpec
2
2
  module Version
3
- STRING = '5.4.0'
3
+ STRING = '5.5.0'
4
4
  end
5
5
  end
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: 5.4.0
4
+ version: 5.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2016-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: specinfra
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: '2'
159
+ version: 2.59.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: '2'
166
+ version: 2.59.0
167
167
  description: RSpec bindings for beaker, see https://github.com/puppetlabs/beaker
168
168
  email:
169
169
  - sqa@puppetlabs.com