statusio 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/bin/setup +0 -0
- data/lib/statusio/rb/version.rb +1 -1
- data/lib/statusio.rb +3 -5
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af7c8cab129b2bd0b57a28e9fd20d9c1a488d464
|
4
|
+
data.tar.gz: f4dc80b02cbffc20c666ae96d334919f683965c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf478163024c0f0aad64fa79ad85864c0a42954564d5b15dcf6bd49bb685b40d4449f224138fe39bcf8ff3f52d4b4e33690cc1c188943c5ea16813c50ccb769
|
7
|
+
data.tar.gz: 5586220f3c30a2833f622d58ccf3762acba017a7dd8901bac884d98d5b6db822a00c475f680bef36bfb4094d9916f3fb121abc48cb94561954351f3016102c7e
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
Ruby library wrapper for Status.io
|
4
4
|
|
5
|
-
[![Travis CI](https://travis-ci.org/statusio/statusio-ruby.svg)](https://travis-ci.org/statusio/statusio-ruby)
|
6
|
-
|
7
5
|
Ruby library wrapper for Status.io - A Complete Status Platform - Status pages, incident tracking, subscriber notifications and more
|
8
6
|
|
9
7
|
## Installation
|
@@ -29,7 +27,7 @@ Or install it yourself as:
|
|
29
27
|
statusioclient = StatusioClient.new(api_key, api_id)
|
30
28
|
```
|
31
29
|
|
32
|
-
View the
|
30
|
+
View the full API documentation at: http://developers.status.io/
|
33
31
|
|
34
32
|
## Development
|
35
33
|
|
data/bin/setup
CHANGED
File without changes
|
data/lib/statusio/rb/version.rb
CHANGED
data/lib/statusio.rb
CHANGED
@@ -285,8 +285,7 @@ class StatusioClient
|
|
285
285
|
# @param statuspage_id(string) Status page ID
|
286
286
|
# @param maintenance_name(string) A descriptive title for this maintenance
|
287
287
|
# @param maintenance_details(string) Message describing this maintenance
|
288
|
-
# @param
|
289
|
-
# @param containers(array) ID of each affected container
|
288
|
+
# @param infrastructure_affected(array) ID of each affected component and container combo
|
290
289
|
# @param date_planned_start(string) Date maintenance is expected to start
|
291
290
|
# @param time_planned_start(string) Time maintenance is expected to start
|
292
291
|
# @param date_planned_end(string) Date maintenance is expected to end
|
@@ -299,7 +298,7 @@ class StatusioClient
|
|
299
298
|
# @param maintenance_notify_72_hr(int) Notify subscribers 72 hours before scheduled maintenance start time (1 = Send notification)
|
300
299
|
# @return object
|
301
300
|
|
302
|
-
def maintenance_schedule(statuspage_id, maintenance_name, maintenance_details,
|
301
|
+
def maintenance_schedule(statuspage_id, maintenance_name, maintenance_details, infrastructure_affected,
|
303
302
|
date_planned_start, time_planned_start, date_planned_end, time_planned_end,
|
304
303
|
automation = 0, all_infrastructure_affected = 0,
|
305
304
|
maintenance_notify_now = 0, maintenance_notify_1_hr = 0,
|
@@ -308,8 +307,7 @@ class StatusioClient
|
|
308
307
|
data['statuspage_id'] = statuspage_id
|
309
308
|
data['maintenance_name'] = maintenance_name
|
310
309
|
data['maintenance_details'] = maintenance_details
|
311
|
-
data['
|
312
|
-
data['containers'] = containers
|
310
|
+
data['infrastructure_affected'] = infrastructure_affected
|
313
311
|
data['all_infrastructure_affected'] = all_infrastructure_affected
|
314
312
|
data['date_planned_start'] = date_planned_start
|
315
313
|
data['time_planned_start'] = time_planned_start
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statusio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Status.io
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description: Ruby library wrapper for Status.io - A Complete Status Platform - Status
|
@@ -32,9 +32,9 @@ executables: []
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
- .gitignore
|
36
|
-
- .rspec
|
37
|
-
- .travis.yml
|
35
|
+
- ".gitignore"
|
36
|
+
- ".rspec"
|
37
|
+
- ".travis.yml"
|
38
38
|
- Gemfile
|
39
39
|
- README.md
|
40
40
|
- Rakefile
|
@@ -52,17 +52,17 @@ require_paths:
|
|
52
52
|
- lib
|
53
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.6.14
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Ruby library wrapper for Status.io
|