phraseapp-ruby 1.3.1 → 1.3.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: 2b2cc9b3d292a34cf2e853776ebbe2b7fdd4008f
4
- data.tar.gz: 38ef695b8c4b67444b4584bc78df64fb4340016d
3
+ metadata.gz: 1aa7f0ac5ccd202703bbac9de61694c907418ad8
4
+ data.tar.gz: d45f7314f13beb0b9a95a4a615da10e58bc312db
5
5
  SHA512:
6
- metadata.gz: 585390ba61d7ea26020a04f2a0cb9c5c548412056330da57f8a2cb2e8ac635aa90d68adefc40f31f551ef8006436f694eae8e607922b333c8056c9a90d52b0fc
7
- data.tar.gz: 4521e8871f084f904e3df7ae4c26fc90e2ff5f39d6c107b29425a7bd96f64c5e20f5f9824bdb7d3e81364c5825c36050aceaf30b69bb068a9a7b979412bc8d31
6
+ metadata.gz: 199de16186f3af5d5e5687b5df1c0790c105943f4638f394a3d4269ffba85917c5c11206c6d0f494cfc9a98d2121000034a1bc880289f6a7703da82afa9bff2b
7
+ data.tar.gz: 5a22b972f9f09883a2d4db34995135ea7d189d899e64947d16d9d6b7e1fc94e676c085935a6a5c39c0ad7c067a0b536049ceb1dcf59f0eb0730f548f9e8f54a4
@@ -1,6 +1,6 @@
1
1
 
2
- # revision_docs:e5ee68f42b4e4c5990df830df68cd6b57800aa30
3
- # revision_generator:8509abb5f6ffe365e0c33db40f00f3db0a450671
2
+ # revision_docs:22719e50d32eec5ea61ce7b1233b3c8931e93334
3
+ # revision_generator:HEAD/2016-10-24T105550/sacry1
4
4
  require 'ostruct'
5
5
  require 'net/https'
6
6
  require 'uri'
@@ -5,7 +5,7 @@ module PhraseApp
5
5
  API_CLIENT_IDENTIFIER = "PhraseApp Ruby #{VERSION}"
6
6
 
7
7
  module RequestErrors
8
- class ErrorResponse
8
+ class ErrorResponse < StandardError
9
9
  attr_reader :message
10
10
 
11
11
  def initialize(http_response)
@@ -16,7 +16,7 @@ module PhraseApp
16
16
  alias_method :error, :message
17
17
  end
18
18
 
19
- class ValidationErrorResponse
19
+ class ValidationErrorResponse < StandardError
20
20
  attr_reader :message
21
21
  attr_reader :errors
22
22
 
@@ -27,7 +27,7 @@ module PhraseApp
27
27
  end
28
28
  end
29
29
 
30
- class ValidationErrorMessage
30
+ class ValidationErrorMessage < StandardError
31
31
  attr_reader :resource, :field, :message
32
32
 
33
33
  def initialize(error)
@@ -41,7 +41,7 @@ module PhraseApp
41
41
  end
42
42
  end
43
43
 
44
- class RateLimitingError
44
+ class RateLimitingError < StandardError
45
45
  attr_reader :limit, :remaining, :reset
46
46
 
47
47
  def initialize(resp)
@@ -1,3 +1,3 @@
1
1
  module PhraseApp
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhraseApp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-11 00:00:00.000000000 Z
11
+ date: 2016-11-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: PhraseApp API client libary
14
14
  email: