okcomputer 0.7.5 → 1.0.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.markdown +0 -42
- data/lib/ok_computer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce5b21b1d706641cf9b709167a93eddf24701338
|
|
4
|
+
data.tar.gz: 045d6b22a4107d0b643318e3a721cbf1af256709
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79ed0bb362e58c18473688f2e0ffddd42a93de86654231964ecd4df798677af4c66c18ccf1895a5e69bcd5377c370033ede13b91c1cc5c867f0b42d04c8ab412
|
|
7
|
+
data.tar.gz: 0ecb90b754c9d4c2f0d4e5ef68e1ca3814ff9d1569fac57ea582c54ff4d2396f828672796505363244ae0f2343ec2828a865c3f903b4f555976c2b0846b089be
|
data/README.markdown
CHANGED
|
@@ -141,48 +141,6 @@ If you'd like to intentionally count OkComputer requests in your NewRelic analyt
|
|
|
141
141
|
OkComputer.analytics_ignore = false
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
## Deprecations and Breaking Changes
|
|
145
|
-
|
|
146
|
-
#### Namespace change from `OKComputer` to `OkComputer`
|
|
147
|
-
|
|
148
|
-
OkComputer has changed its namespace from `OKComputer` (uppercase K) to `OkComputer` (lowercase k)
|
|
149
|
-
as of version 0.7.0. Please update your configuration accordingly.
|
|
150
|
-
|
|
151
|
-
#### Breaking Changes of JSON Output
|
|
152
|
-
|
|
153
|
-
Versions before 0.6.0 did not include whether a given check succeeded.
|
|
154
|
-
|
|
155
|
-
**before 0.6.0**
|
|
156
|
-
```json
|
|
157
|
-
{"check": "result"}
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
**after 0.6.0**
|
|
161
|
-
```json
|
|
162
|
-
{"check": {"message": "result", "success": true}
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Versions before 0.3.0, when performing multiple checks, returned an Array of
|
|
166
|
-
the check results, each being a JSON object. Starting with 0.3.0, these are
|
|
167
|
-
combined into a single JSON object with each check having its own key. For
|
|
168
|
-
example:
|
|
169
|
-
|
|
170
|
-
**before 0.3.0**
|
|
171
|
-
```json
|
|
172
|
-
[{"check": "result"}, {"other": "result"}]
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
**0.3.0 and above**
|
|
176
|
-
```json
|
|
177
|
-
{"check": "result", "other": "result"}
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
#### Deprecation of Check#call
|
|
181
|
-
|
|
182
|
-
Versions before 0.2.0 implemented a "#call" method which returned the message.
|
|
183
|
-
This was deprecated at the time and removed in 1.0.0. Please define a #check
|
|
184
|
-
method which calls `mark_failure` and `mark_message` as appropriate.
|
|
185
|
-
|
|
186
144
|
## Contributing
|
|
187
145
|
|
|
188
146
|
1. Fork it
|
data/lib/ok_computer/version.rb
CHANGED