dirigible 1.1.2 → 1.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 448efd40eeba4a5c9539777b0044c50088267c33
4
- data.tar.gz: 149bf20af9821a9d73486abec87e8984bb6cb4a7
3
+ metadata.gz: 96034abf3011bc30a6ab3aa92d14863b73ab648b
4
+ data.tar.gz: 6b9284babf16e9505afb2da27e17401b78368f08
5
5
  SHA512:
6
- metadata.gz: 2ec6232ec4c001d8c1bfc387d4cb0a285eb414ee3c79a3922addbb69259de926443c464719b0ecabe8126ba3fdb8829de0724c7ede92267c19e3245ae487003f
7
- data.tar.gz: 7c9c94b87dd5427f5a173ea7ffdee974e8fb06d54c7c602a49e1a7a8157ff68ecd3a157ec858adbad851a26422f34dbac16988ffe1bf53b5b83dde86232428e8
6
+ metadata.gz: af41fd64daaa9798d5882d2edc011e42f29d5794e78d9a0327522f79765c7182116acb4a0448c06901a72fc60682071212a48e84542b5b567fff8a9403d3b8fe
7
+ data.tar.gz: f34c08c981ef06a40dffa5e69f48716f65e612901ffd43eced68929dfeb0540a60bb052c7828fd2e4b5dc09c08367e5664e1281f6d8a6d3f05e4514024215dfa
@@ -16,4 +16,7 @@ module Dirigible
16
16
 
17
17
  # Raised when Urban Airship returns HTTP status code 406
18
18
  class NotAcceptable < Error; end
19
+
20
+ # Raised when Urban Airship returns HTTP status code 503
21
+ class ServiceUnavailable < Error; end
19
22
  end
@@ -10,6 +10,7 @@ module Dirigible
10
10
  when 404 then NotFound
11
11
  when 405 then MethodNotAllowed
12
12
  when 406 then NotAcceptable
13
+ when 503 then ServiceUnavailable
13
14
  else Error
14
15
  end
15
16
 
@@ -1,3 +1,3 @@
1
1
  module Dirigible
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dirigible
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-03 00:00:00.000000000 Z
11
+ date: 2014-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -108,4 +108,3 @@ specification_version: 4
108
108
  summary: Urban Airship REST API client library for Ruby
109
109
  test_files:
110
110
  - spec/.gitkeep
111
- has_rdoc: