serverspec 2.8.2 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverspec/helper/type.rb +1 -1
- data/lib/serverspec/type/bond.rb +11 -0
- data/lib/serverspec/version.rb +1 -1
- data/serverspec.gemspec +3 -3
- data/spec/type/base/package_spec.rb +8 -0
- data/spec/type/linux/bond_spec.rb +12 -0
- data/spec/type/windows/file_spec.rb +0 -1
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99eee99a90e9e41222222a718522c5d1b38e074d
|
4
|
+
data.tar.gz: b78b3e895ff707939cbde5577a4367d173989a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13f3f63e194f396973537d5238cac6c74e09f9b652d9a1a7f34486c2f1d278b148db797c04a93b4682f5087e0d201594b2be22726ad3dfc56e21bb24d8287809
|
7
|
+
data.tar.gz: 7daa4b124262e694441a6560270c5e03938d438f5ded603387bfba221ffb35839787b8f6f42ed5de50d3f3ea9fe7bc54c7a31fa4d8ca46cc5e05fc8549cccdce
|
@@ -2,7 +2,7 @@ module Serverspec
|
|
2
2
|
module Helper
|
3
3
|
module Type
|
4
4
|
types = %w(
|
5
|
-
base bridge cgroup command cron default_gateway file fstab group host
|
5
|
+
base bridge bond cgroup command cron default_gateway file fstab group host
|
6
6
|
iis_website iis_app_pool interface ipfilter ipnat iptables
|
7
7
|
ip6tables kernel_module linux_kernel_parameter lxc mail_alias
|
8
8
|
package php_config port ppa process routing_table selinux
|
data/lib/serverspec/version.rb
CHANGED
data/serverspec.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Serverspec::VERSION
|
9
9
|
spec.authors = ["Gosuke Miyashita"]
|
10
10
|
spec.email = ["gosukenator@gmail.com"]
|
11
|
-
spec.description = %q{RSpec tests for your servers configured by Puppet, Chef or anything else}
|
12
|
-
spec.summary = %q{RSpec tests for your servers configured by Puppet, Chef or anything else}
|
11
|
+
spec.description = %q{RSpec tests for your servers configured by Puppet, Chef, Itamae or anything else}
|
12
|
+
spec.summary = %q{RSpec tests for your servers configured by Puppet, Chef, Itamae or anything else}
|
13
13
|
spec.homepage = "http://serverspec.org/"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency "rspec", "~> 3.0"
|
22
22
|
spec.add_runtime_dependency "rspec-its"
|
23
23
|
spec.add_runtime_dependency "multi_json"
|
24
|
-
spec.add_runtime_dependency "specinfra", "~> 2.
|
24
|
+
spec.add_runtime_dependency "specinfra", "~> 2.15"
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.1.1"
|
27
27
|
end
|
@@ -10,6 +10,14 @@ describe package('jekyll') do
|
|
10
10
|
it { should be_installed.by(:gem).with_version('1.1.1') }
|
11
11
|
end
|
12
12
|
|
13
|
+
describe package('ruby') do
|
14
|
+
it { should be_installed.by(:rvm) }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe package('ruby') do
|
18
|
+
it { should be_installed.by(:rvm).with_version('2.2.0') }
|
19
|
+
end
|
20
|
+
|
13
21
|
describe package('bower') do
|
14
22
|
it { should be_installed.by(:npm) }
|
15
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.15'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.15'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,8 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 10.1.1
|
97
|
-
description: RSpec tests for your servers configured by Puppet, Chef or anything
|
97
|
+
description: RSpec tests for your servers configured by Puppet, Chef, Itamae or anything
|
98
|
+
else
|
98
99
|
email:
|
99
100
|
- gosukenator@gmail.com
|
100
101
|
executables:
|
@@ -139,6 +140,7 @@ files:
|
|
139
140
|
- lib/serverspec/setup.rb
|
140
141
|
- lib/serverspec/subject.rb
|
141
142
|
- lib/serverspec/type/base.rb
|
143
|
+
- lib/serverspec/type/bond.rb
|
142
144
|
- lib/serverspec/type/bridge.rb
|
143
145
|
- lib/serverspec/type/cgroup.rb
|
144
146
|
- lib/serverspec/type/command.rb
|
@@ -221,6 +223,7 @@ files:
|
|
221
223
|
- spec/type/freebsd10/package_spec.rb
|
222
224
|
- spec/type/gentoo/package_spec.rb
|
223
225
|
- spec/type/gentoo/service_spec.rb
|
226
|
+
- spec/type/linux/bond_spec.rb
|
224
227
|
- spec/type/linux/bridge_spec.rb
|
225
228
|
- spec/type/linux/cgroup_spec.rb
|
226
229
|
- spec/type/linux/docker_container_spec.rb
|
@@ -314,7 +317,8 @@ rubyforge_project:
|
|
314
317
|
rubygems_version: 2.2.2
|
315
318
|
signing_key:
|
316
319
|
specification_version: 4
|
317
|
-
summary: RSpec tests for your servers configured by Puppet, Chef or anything
|
320
|
+
summary: RSpec tests for your servers configured by Puppet, Chef, Itamae or anything
|
321
|
+
else
|
318
322
|
test_files:
|
319
323
|
- spec/helper/type_spec.rb
|
320
324
|
- spec/spec_helper.rb
|
@@ -357,6 +361,7 @@ test_files:
|
|
357
361
|
- spec/type/freebsd10/package_spec.rb
|
358
362
|
- spec/type/gentoo/package_spec.rb
|
359
363
|
- spec/type/gentoo/service_spec.rb
|
364
|
+
- spec/type/linux/bond_spec.rb
|
360
365
|
- spec/type/linux/bridge_spec.rb
|
361
366
|
- spec/type/linux/cgroup_spec.rb
|
362
367
|
- spec/type/linux/docker_container_spec.rb
|