serverspec-runner 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 662c43c6be1904e3437aa99f9d7d87a9e0787844
4
- data.tar.gz: 12d68d60f317cb795300ee92739f2e445ed7b21a
3
+ metadata.gz: 3e4c88240b3693b54b38a400cb6c5d81b7fc9ea3
4
+ data.tar.gz: cee598c858a66ba84dc8fe882a2036fe17cef5a6
5
5
  SHA512:
6
- metadata.gz: 3e53939cf147edca5d17e957b4ba75dd812afdec47ce8dfa71e52e40cfa4ae21bb024fccb6c46fe1d8274af8196d2740d5e3a6b0c0f8b8cb5595eebca8d6f68b
7
- data.tar.gz: bb1f5862d59b41628d1e01cd9d50a3a2a83eb077beb0d4b1020cf422f18add35d8fe81992e17b2fec4d3328915e19cb0d34adde3e287c4ffa1d6aef9f0f52107
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' result string.t
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
  ```
@@ -1,3 +1,3 @@
1
1
  module ServerspecRunner
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
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.1
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-01-09 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec