specinfra 1.5.1 → 1.6.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/smartos.rb +4 -0
- data/lib/specinfra/version.rb +1 -1
- data/wercker.yml +14 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6361a10be88cbdefe56f1f3c81c75d56bf1e7566
|
4
|
+
data.tar.gz: 2be2105e1659881aeac93bd9aef68b827361b4d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65ae10325e47408b2e000aae8ab16db791674740c34d9ade192e1f377d6187b901ea6e319241c7fdb6d4b644000115e2b6f31742a93e483cb179dc90d675433b
|
7
|
+
data.tar.gz: 39a52e6dda5d5cfe71b8b127cc5f47ffdb92de49ad98a87c1326e7e827572224bb608a5ff1850962ef4ee6917307b19952d8259fb0ef20a7010fc9ebfa82661b
|
@@ -16,6 +16,10 @@ module SpecInfra
|
|
16
16
|
def check_running(service)
|
17
17
|
"svcs -l #{escape(service)} status 2> /dev/null |grep -wx '^state.*online$'"
|
18
18
|
end
|
19
|
+
|
20
|
+
def get_package_version(package, opts=nil)
|
21
|
+
"pkgin list | cut -f 1 -d ' ' | grep -E '^#{escape(package)}-([^-])+$' | grep -Eo '(\\.|\\w)+$'"
|
22
|
+
end
|
19
23
|
end
|
20
24
|
end
|
21
25
|
end
|
data/lib/specinfra/version.rb
CHANGED
data/wercker.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
box:
|
1
|
+
box: mizzy/serverspec-base
|
2
2
|
build:
|
3
3
|
steps:
|
4
4
|
- script:
|
@@ -30,11 +30,23 @@ build:
|
|
30
30
|
name: Run rake spec:centos65
|
31
31
|
code: rake spec:centos65
|
32
32
|
cwd: $WORKING_DIR
|
33
|
+
- script:
|
34
|
+
name: Run vagrant up ubuntu1310
|
35
|
+
code: vagrant up ubuntu1310 --provider=digital_ocean
|
36
|
+
cwd: $WORKING_DIR
|
37
|
+
- script:
|
38
|
+
name: Run rake spec:ubuntu1310
|
39
|
+
code: rake spec:ubuntu1310
|
40
|
+
cwd: $WORKING_DIR
|
33
41
|
|
34
42
|
after-steps:
|
35
43
|
- script:
|
36
|
-
name: Run vagrant destroy
|
44
|
+
name: Run vagrant destroy centos65
|
37
45
|
code: vagrant destroy centos65 --force
|
38
46
|
cwd: $WORKING_DIR
|
47
|
+
- script:
|
48
|
+
name: Run vagrant destroy ubuntu1310
|
49
|
+
code: vagrant destroy ubuntu1310 --force
|
50
|
+
cwd: $WORKING_DIR
|
39
51
|
- 1syo/idobata-notify@0.1.1:
|
40
52
|
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.6.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-04-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|