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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6463593c7f7805f8c93995a21142e04eefe28ccd
4
- data.tar.gz: 63420a1eb10c1207bc8ae1b2c4d8c854205f9cff
3
+ metadata.gz: 249637f64c4c45bcedd86ae0d8864f78cdfcce34
4
+ data.tar.gz: bf3ec096582a1c3464465adfda9949ae464bb59d
5
5
  SHA512:
6
- metadata.gz: 0ab500f91acea1d7a4d6a1561b4f82c3976631a6eec2539cbe0998bf0fcffbb341db70a90fde9e3565137494aaaef0a303bf0d54c701dc4b327abb966ff7d82a
7
- data.tar.gz: 58a8a1124049490f4c7bf73152cd4ae671d7efa0a1293451f1361498cd7de04451778106d07441d0ca051151e16aecd4e02969e9a2edcc22f9dea380b15a85fa
6
+ metadata.gz: 8faad1a654f73d11f052ac54de59df21b3fbb3f0931726c9baa2a2a0e50d091245afb32db8fbdc8dd814f24b14a2d44aa78d292519a85a62c411bba75393f082
7
+ data.tar.gz: 5b9973e6bbc4e2df538001188bf116e02701aa2f72a916ec91be9c9f224d065181d142ec897604367500d26912effdef6964027d1a02e49c7af36d626e6494ec
@@ -1,3 +1,8 @@
1
+ ### 0.2.2
2
+ _2015-06-28_
3
+
4
+ * Added support for the new 'alias' attribute (Check)
5
+
1
6
  ### 0.2.1
2
7
  _2015-05-20_
3
8
 
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module Updown
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-05-20 00:00:00.000000000 Z
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: