minitest-chef-handler 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ebfaf627cf64862dbd67e15c6f64064838ed6f0
4
- data.tar.gz: ead2bc2350ef2a05ba97f57df2b4eb6edae7d49f
3
+ metadata.gz: ea2be5c03762df50f21d9355fe0da6163a9e3b93
4
+ data.tar.gz: 4e2ea4848379c8d552dcf15daac729b94cbd4f62
5
5
  SHA512:
6
- metadata.gz: 327876035dfcbbfc1a9a9860a1126cdffaeebe0b436bfd369897c40e5c2bc89089516c3b56174545becc48e810fc8e2704214f8e8231523b3ef502f2c9448d03
7
- data.tar.gz: 80b15ee3416a6a760c8554e993f4c034c4fa145e2a64a55cfd4cb118a6389d9132727147e07b33e5cb0d5c16cdcdb2d00acfdcc8835a98df2aa99d07446a3a1e
6
+ metadata.gz: 220e9e359312ead5687277d8a7232c2a912cc9eaaf441c795cfc472abdcb29cad59dd0fd109090318a25a62fb94708876c8162453c2b76e421f34c0695f09e2d
7
+ data.tar.gz: a7e5157fca349a9e00fac9c2add2abb953e18238b5280bf5d436c72dc3c8535b939c65f54b01f833a6fab8b0ff90dea99a036401613ac283dae55c5a3de9468c
@@ -1,2 +1,2 @@
1
1
  rvm:
2
- - 1.9.3
2
+ - 2.0.0
@@ -169,6 +169,10 @@ describe_recipe 'spec_examples::default' do
169
169
  user("root").must_have(:uid, 0)
170
170
  end
171
171
 
172
+ it "has the expected gid" do
173
+ user("root").must_have(:gid, 0)
174
+ end
175
+
172
176
  # = Groups =
173
177
 
174
178
  it "creates the users group" do
@@ -20,7 +20,7 @@ module MiniTest
20
20
  if Gem::Version.new(::Chef::VERSION) < Gem::Version.new("10.14.0")
21
21
  provider = ::Chef::Platform.provider_for_resource(res)
22
22
  else
23
- provider = ::Chef::Platform.provider_for_resource(res, :create)
23
+ provider = res.provider_for_action(:create)
24
24
  end
25
25
 
26
26
  provider.load_current_resource
@@ -11,11 +11,11 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
12
12
  gem.name = "minitest-chef-handler"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = '1.0.3'
14
+ gem.version = '1.1.0'
15
15
 
16
16
  gem.add_dependency('minitest', '~> 4.7.3')
17
- gem.add_dependency('chef', '>= 10.12.0')
18
17
  gem.add_dependency('ci_reporter', '< 2.0')
18
+ gem.add_development_dependency('chef', '>= 10.12.0')
19
19
  gem.add_development_dependency "rake"
20
20
  gem.add_development_dependency "mocha"
21
21
  gem.add_development_dependency "appraisal"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-chef-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Calavera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2015-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -25,33 +25,33 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.7.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: chef
28
+ name: ci_reporter
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: 10.12.0
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "<"
39
39
  - !ruby/object:Gem::Version
40
- version: 10.12.0
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: ci_reporter
42
+ name: chef
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "<"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '2.0'
48
- type: :runtime
47
+ version: 10.12.0
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "<"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '2.0'
54
+ version: 10.12.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  requirements: []
214
214
  rubyforge_project:
215
- rubygems_version: 2.2.2
215
+ rubygems_version: 2.4.6
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: Run Minitest suites as Chef report handlers
219
- test_files:
220
- - spec/minitest-chef-handler/assertions_spec.rb
221
- - spec/minitest-chef-handler/infections_spec.rb
222
- - spec/minitest-chef-handler/lookup_spec.rb
223
- - spec/minitest-chef-handler/resources_spec.rb
224
- - spec/minitest-chef-handler/spec_spec.rb
225
- - spec/spec_helper.rb
219
+ test_files: []