serverspec 2.31.1 → 2.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/appveyor.yml +3 -0
- data/lib/serverspec/helper/type.rb +1 -1
- data/lib/serverspec/type/php_extension.rb +11 -0
- data/lib/serverspec/version.rb +1 -1
- data/spec/type/base/php_extension_spec.rb +13 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d629e86c428878a40544bc2beff61c6869491a31
|
4
|
+
data.tar.gz: fc3996256189a5636032106fd42d559fd94d702f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc0c442b4fea567318daa7f51bc196fd2825aec1434e1b30dab7cd9bf01a38bc63bbe7d50e7f568073412d1f290a32a4b70aac8c3fb9fc925dd769afe606f789
|
7
|
+
data.tar.gz: 4ed56238b527ee2d589806b4b288842360e9a691492cb89f1faadb01b87476f9e754e3fca1ca0d74c8567e8a687d0a2402bd054380f6a0c62b627cce83524b59
|
data/.travis.yml
CHANGED
data/appveyor.yml
CHANGED
@@ -13,6 +13,7 @@ environment:
|
|
13
13
|
- ruby_version: "200"
|
14
14
|
- ruby_version: "21"
|
15
15
|
- ruby_version: "22"
|
16
|
+
- ruby_version: "23"
|
16
17
|
|
17
18
|
clone_depth: 5
|
18
19
|
|
@@ -25,6 +26,8 @@ cache:
|
|
25
26
|
- C:\Ruby21\bin -> appveyor.yml
|
26
27
|
- C:\Ruby22\lib\ruby\gems\2.2.0 -> appveyor.yml
|
27
28
|
- C:\Ruby22\bin -> appveyor.yml
|
29
|
+
- C:\Ruby23\lib\ruby\gems\2.2.0 -> appveyor.yml
|
30
|
+
- C:\Ruby23\bin -> appveyor.yml
|
28
31
|
|
29
32
|
install:
|
30
33
|
- git submodule update --init --recursive
|
@@ -10,7 +10,7 @@ module Serverspec
|
|
10
10
|
windows_feature windows_hot_fix windows_registry_key
|
11
11
|
windows_scheduled_task zfs docker_base docker_image
|
12
12
|
docker_container x509_certificate x509_private_key
|
13
|
-
linux_audit_system hadoop_config
|
13
|
+
linux_audit_system hadoop_config php_extension
|
14
14
|
)
|
15
15
|
|
16
16
|
types.each {|type| require "serverspec/type/#{type}" }
|
data/lib/serverspec/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
set :os, :family => 'base'
|
4
|
+
|
5
|
+
describe php_extension('tillext') do
|
6
|
+
let(:exit_status) { 1 }
|
7
|
+
it { should_not be_loaded }
|
8
|
+
end
|
9
|
+
|
10
|
+
describe php_extension('session') do
|
11
|
+
let(:exit_status) { 0 }
|
12
|
+
it { should be_loaded }
|
13
|
+
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.32.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: 2016-04-
|
11
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- lib/serverspec/type/mysql_config.rb
|
174
174
|
- lib/serverspec/type/package.rb
|
175
175
|
- lib/serverspec/type/php_config.rb
|
176
|
+
- lib/serverspec/type/php_extension.rb
|
176
177
|
- lib/serverspec/type/port.rb
|
177
178
|
- lib/serverspec/type/ppa.rb
|
178
179
|
- lib/serverspec/type/process.rb
|
@@ -212,6 +213,7 @@ files:
|
|
212
213
|
- spec/type/base/mysql_config_spec.rb
|
213
214
|
- spec/type/base/package_spec.rb
|
214
215
|
- spec/type/base/php_config_spec.rb
|
216
|
+
- spec/type/base/php_extension_spec.rb
|
215
217
|
- spec/type/base/port_spec.rb
|
216
218
|
- spec/type/base/process_spec.rb
|
217
219
|
- spec/type/base/routing_table_spec.rb
|
@@ -355,6 +357,7 @@ test_files:
|
|
355
357
|
- spec/type/base/mysql_config_spec.rb
|
356
358
|
- spec/type/base/package_spec.rb
|
357
359
|
- spec/type/base/php_config_spec.rb
|
360
|
+
- spec/type/base/php_extension_spec.rb
|
358
361
|
- spec/type/base/port_spec.rb
|
359
362
|
- spec/type/base/process_spec.rb
|
360
363
|
- spec/type/base/routing_table_spec.rb
|