serverspec-runner 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/serverspec-runner/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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: 3e4c88240b3693b54b38a400cb6c5d81b7fc9ea3
|
|
4
|
+
data.tar.gz: cee598c858a66ba84dc8fe882a2036fe17cef5a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e312f8c2486768aed4437048ecfc9d0634e0bf3f09a5a08d73e9405431dc6c1da247df95b0b568dfefe60819f44c98a5ee6566abe8ea4b4220b9494bdeb16aa9
|
|
7
|
+
data.tar.gz: d35b82a1b1c09767c58c12971057e73de81589a2de27f46dcb9ca3f08d03e1ca8c618e5e659f53c9addf6778fa607c45bd1707615ca3d269a52b819de9b1f3c6
|
data/README.md
CHANGED
|
@@ -78,6 +78,7 @@ end
|
|
|
78
78
|
You can get the following outputs.
|
|
79
79
|
|
|
80
80
|
* serverspec-runner -t aa : asci-art table(default)
|
|
81
|
+
|
|
81
82
|
```
|
|
82
83
|
+-------------------------------------------+
|
|
83
84
|
|description | result |
|
|
@@ -102,6 +103,7 @@ You can get the following outputs.
|
|
|
102
103
|
```
|
|
103
104
|
|
|
104
105
|
* serverspec-runner -t mkd : markdown table format
|
|
106
|
+
|
|
105
107
|
```
|
|
106
108
|
|description | result |
|
|
107
109
|
|:---------------------------------|:------:|
|
|
@@ -136,14 +138,20 @@ this example parsed for markdown to that(use -e long option)
|
|
|
136
138
|
| nginx File "/etc/logrotate.d/nginx" should be file | OK |
|
|
137
139
|
| nginx File "/etc/logrotate.d/nginx" should contain "rotate 14" | NG |
|
|
138
140
|
|
|
139
|
-
* serverspec-runner -t bool : only 'ok' or 'ng'
|
|
141
|
+
* serverspec-runner -t bool : only 'ok' or 'ng' string
|
|
142
|
+
|
|
140
143
|
You can use for cluster monitoring system health.
|
|
141
144
|
|
|
145
|
+
```
|
|
146
|
+
ok
|
|
147
|
+
```
|
|
148
|
+
|
|
142
149
|
```
|
|
143
150
|
ng
|
|
144
151
|
```
|
|
145
152
|
|
|
146
153
|
* serverspec-runner -t csv : CSV file format
|
|
154
|
+
|
|
147
155
|
You can get result CSV format output and can use redirect to file.
|
|
148
156
|
|
|
149
157
|
```
|
data/spec/spec_helper.rb
CHANGED
|
@@ -93,7 +93,7 @@ RSpec.configure do |c|
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
explains << spacer + spacer_char + RSpec::Matchers.generated_description
|
|
96
|
+
explains << spacer + spacer_char + (RSpec::Matchers.generated_description || '')
|
|
97
97
|
results << (self.example.exception ? 'NG' : 'OK')
|
|
98
98
|
row_num << desc_hierarchy.length + 1
|
|
99
99
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: serverspec-runner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hiracy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: serverspec
|