specinfra 1.22.1 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/freebsd.rb +14 -0
- data/lib/specinfra/version.rb +1 -1
- data/specinfra.gemspec +2 -2
- data/wercker.yml +8 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ec2c7682014abab393457ef83047dea603eb7da
|
4
|
+
data.tar.gz: 61bdbdc1d092962baffadc94ab10b112c3b8432f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4717ced55b68dde687585af8e80a900edb0dcd7300364b013a786a89daa5f41aec475ff2f89fd3ce2663a1b46e3a118c92b55be88f3ad0a54bceca233803bf2a
|
7
|
+
data.tar.gz: 75b94cd52a3d539e021f6f98dfcdbdc4c4ab590493a9edd7b507dd976318be38b84768f5df7ff5d7e1ad619f6b3581d19e1147cfa960b44c5f26fae2e6fc6932
|
@@ -23,6 +23,20 @@ module SpecInfra
|
|
23
23
|
"stat -f%Lp #{escape(file)} | grep -- #{escape(regexp)}"
|
24
24
|
end
|
25
25
|
|
26
|
+
def check_owner(file, owner)
|
27
|
+
regexp = "^#{owner}$"
|
28
|
+
"stat -f%Su #{escape(file)} | grep -- #{escape(regexp)}"
|
29
|
+
end
|
30
|
+
|
31
|
+
def check_grouped(file, group)
|
32
|
+
regexp = "^#{group}$"
|
33
|
+
"stat -f%Sg #{escape(file)} | grep -- #{escape(regexp)}"
|
34
|
+
end
|
35
|
+
|
36
|
+
def check_link(link, target)
|
37
|
+
"stat -f%Y #{escape(link)} | grep -- #{escape(target)}"
|
38
|
+
end
|
39
|
+
|
26
40
|
def get_mode(file)
|
27
41
|
"stat -f%Lp #{escape(file)}"
|
28
42
|
end
|
data/lib/specinfra/version.rb
CHANGED
data/specinfra.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = SpecInfra::VERSION
|
9
9
|
spec.authors = ["Gosuke Miyashita"]
|
10
10
|
spec.email = ["gosukenator@gmail.com"]
|
11
|
-
spec.description = %q{Common layer for serverspec and
|
12
|
-
spec.summary = %q{Common layer for serverspec and
|
11
|
+
spec.description = %q{Common layer for serverspec and lightchef}
|
12
|
+
spec.summary = %q{Common layer for serverspec and lightchef}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
data/wercker.yml
CHANGED
@@ -35,16 +35,16 @@ build:
|
|
35
35
|
code: rake spec:centos65
|
36
36
|
cwd: $WORKING_DIR
|
37
37
|
- script:
|
38
|
-
name: Run vagrant up
|
39
|
-
code: vagrant up
|
38
|
+
name: Run vagrant up ubuntu1310
|
39
|
+
code: vagrant up ubuntu1310 --provider=digital_ocean
|
40
40
|
cwd: $WORKING_DIR
|
41
41
|
- script:
|
42
|
-
name: Run vagrant reload
|
43
|
-
code: vagrant reload
|
42
|
+
name: Run vagrant reload ubuntu1310
|
43
|
+
code: vagrant reload ubuntu1310
|
44
44
|
cwd: $WORKING_DIR
|
45
45
|
- script:
|
46
|
-
name: Run rake spec:
|
47
|
-
code: rake spec:
|
46
|
+
name: Run rake spec:ubuntu1310
|
47
|
+
code: rake spec:ubuntu1310
|
48
48
|
cwd: $WORKING_DIR
|
49
49
|
|
50
50
|
after-steps:
|
@@ -53,8 +53,8 @@ build:
|
|
53
53
|
code: vagrant destroy centos65 --force
|
54
54
|
cwd: $WORKING_DIR
|
55
55
|
- script:
|
56
|
-
name: Run vagrant destroy
|
57
|
-
code: vagrant destroy
|
56
|
+
name: Run vagrant destroy ubuntu1310
|
57
|
+
code: vagrant destroy ubuntu1310 --force
|
58
58
|
cwd: $WORKING_DIR
|
59
59
|
- 1syo/idobata-notify@0.1.1:
|
60
60
|
token: $IDOBATA_TOKEN
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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: 2014-
|
11
|
+
date: 2014-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: Common layer for serverspec and
|
55
|
+
description: Common layer for serverspec and lightchef
|
56
56
|
email:
|
57
57
|
- gosukenator@gmail.com
|
58
58
|
executables: []
|
@@ -160,7 +160,7 @@ rubyforge_project:
|
|
160
160
|
rubygems_version: 2.2.2
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
|
-
summary: Common layer for serverspec and
|
163
|
+
summary: Common layer for serverspec and lightchef
|
164
164
|
test_files:
|
165
165
|
- spec/backend/exec/build_command_spec.rb
|
166
166
|
- spec/backend/ssh/build_command_spec.rb
|