updown 0.2.0 → 0.2.1
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/CHANGELOG.md +12 -0
- data/lib/updown/check.rb +3 -1
- data/lib/updown/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6463593c7f7805f8c93995a21142e04eefe28ccd
|
|
4
|
+
data.tar.gz: 63420a1eb10c1207bc8ae1b2c4d8c854205f9cff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ab500f91acea1d7a4d6a1561b4f82c3976631a6eec2539cbe0998bf0fcffbb341db70a90fde9e3565137494aaaef0a303bf0d54c701dc4b327abb966ff7d82a
|
|
7
|
+
data.tar.gz: 58a8a1124049490f4c7bf73152cd4ae671d7efa0a1293451f1361498cd7de04451778106d07441d0ca051151e16aecd4e02969e9a2edcc22f9dea380b15a85fa
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
### 0.2.1
|
|
2
|
+
_2015-05-20_
|
|
3
|
+
|
|
4
|
+
* Added missing require time in check.rb — https://github.com/askehansen/updown-ruby/pull/3
|
|
5
|
+
|
|
6
|
+
### 0.2.0
|
|
7
|
+
_2015-05-14_
|
|
8
|
+
|
|
9
|
+
* Updated for latest API changes
|
|
10
|
+
* Converts time fields to ruby Time
|
|
11
|
+
* Better error handling
|
|
12
|
+
* Added infos and colors in CLI
|
data/lib/updown/check.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'time'
|
|
2
|
+
|
|
1
3
|
module Updown
|
|
2
4
|
class Check
|
|
3
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
|
|
@@ -45,4 +47,4 @@ module Updown
|
|
|
45
47
|
Updown::Call.destroy_check(@token)['deleted']
|
|
46
48
|
end
|
|
47
49
|
end
|
|
48
|
-
end
|
|
50
|
+
end
|
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.1
|
|
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-05-
|
|
12
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -105,6 +105,7 @@ extensions: []
|
|
|
105
105
|
extra_rdoc_files: []
|
|
106
106
|
files:
|
|
107
107
|
- ".gitignore"
|
|
108
|
+
- CHANGELOG.md
|
|
108
109
|
- Gemfile
|
|
109
110
|
- LICENSE.txt
|
|
110
111
|
- README.md
|
|
@@ -137,9 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
138
|
version: '0'
|
|
138
139
|
requirements: []
|
|
139
140
|
rubyforge_project:
|
|
140
|
-
rubygems_version: 2.
|
|
141
|
+
rubygems_version: 2.4.5
|
|
141
142
|
signing_key:
|
|
142
143
|
specification_version: 4
|
|
143
144
|
summary: updown.io API wrapper
|
|
144
145
|
test_files: []
|
|
145
|
-
has_rdoc:
|