updown 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/CHANGELOG.md +5 -0
- data/lib/updown/check.rb +2 -1
- data/lib/updown/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 249637f64c4c45bcedd86ae0d8864f78cdfcce34
|
4
|
+
data.tar.gz: bf3ec096582a1c3464465adfda9949ae464bb59d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8faad1a654f73d11f052ac54de59df21b3fbb3f0931726c9baa2a2a0e50d091245afb32db8fbdc8dd814f24b14a2d44aa78d292519a85a62c411bba75393f082
|
7
|
+
data.tar.gz: 5b9973e6bbc4e2df538001188bf116e02701aa2f72a916ec91be9c9f224d065181d142ec897604367500d26912effdef6964027d1a02e49c7af36d626e6494ec
|
data/CHANGELOG.md
CHANGED
data/lib/updown/check.rb
CHANGED
@@ -2,7 +2,7 @@ require 'time'
|
|
2
2
|
|
3
3
|
module Updown
|
4
4
|
class Check
|
5
|
-
attr_accessor :token, :url, :last_status, :uptime, :down, :down_since, :error, :period, :apdex_t, :enabled, :published, :last_check_at, :next_check_at, :ssl_tested_at, :ssl_valid, :ssl_error
|
5
|
+
attr_accessor :token, :url, :alias, :last_status, :uptime, :down, :down_since, :error, :period, :apdex_t, :enabled, :published, :last_check_at, :next_check_at, :ssl_tested_at, :ssl_valid, :ssl_error
|
6
6
|
|
7
7
|
def self.all
|
8
8
|
Updown::Call.checks.map do |check|
|
@@ -17,6 +17,7 @@ module Updown
|
|
17
17
|
def initialize(json)
|
18
18
|
@token = json['token']
|
19
19
|
@url = json['url']
|
20
|
+
@alias = json['alias']
|
20
21
|
@last_status = json['last_status']
|
21
22
|
@enabled = json['enabled']
|
22
23
|
@period = json['period']
|
data/lib/updown/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: updown
|
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
|
- Aske Hansen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -143,3 +143,4 @@ signing_key:
|
|
143
143
|
specification_version: 4
|
144
144
|
summary: updown.io API wrapper
|
145
145
|
test_files: []
|
146
|
+
has_rdoc:
|