fastbound-ruby 1.1.10 → 1.1.11

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
  SHA256:
3
- metadata.gz: dfc2310ac4c9b7478211eb6fcc2f46f4a0ddc48a5cb12dc5f6d795e2167fecf0
4
- data.tar.gz: 1dcbf4d3e75f6cd7abd4465da1bb15c138ae189de6d72a890bbc8e398ddd7087
3
+ metadata.gz: 3b73655cd74799a5544706d1cee68d90f624013c6b1d6d14326ae99b68a1ae80
4
+ data.tar.gz: 5b45118be2b77d3583eb016322bd33f38f957f73ff510a17d1c2789d58023ff1
5
5
  SHA512:
6
- metadata.gz: 306bc8caf74e818e96a453300f8681218e22af34b1b9a87c89a43b2a56cbff890fa5c5ade0c791069109bbbaff6b084596373090b7ba3284b9f377c9719d57af
7
- data.tar.gz: fa89195699fa5278e0d6a62494051e74d617c1355483975d1ed78d5c0530237ef73ce8c0ae72f16e46251d796e21d34747653119f5b8717ab0d5290d7e556e24
6
+ metadata.gz: 1107e03904ae397f730cbe151aa4c1d861b1621f8000f2ca820e0ad67ace99ead061746e157efb9465eef319a80b42413cc75cb1ecaac9fb2c66bd59de087844
7
+ data.tar.gz: f120fdb59dcdf8b5b3a16e618c37211653789c7de84233784667a92eed9fa7bf5a14d22ac33fab24d24113948970008f2f9d5f0af65b16fa54af09c5ca6ad2ea
@@ -11,9 +11,7 @@ module FastBound
11
11
  raise FastBound::Error::NotAuthorized.new(@response.body)
12
12
  when Net::HTTPNotFound
13
13
  raise FastBound::Error::NotFound.new(@response.body)
14
- when Net::HTTPNoContent
15
- self.success = true
16
- when Net::HTTPOK, Net::HTTPSuccess
14
+ when Net::HTTPOK, Net::HTTPSuccess, Net::HTTPNoContent, Net::HTTPCreated
17
15
  self.success = true
18
16
  _data = (JSON.parse(@response.body) if @response.body.present?)
19
17
 
@@ -1,3 +1,3 @@
1
1
  module FastBound
2
- VERSION = "1.1.10"
2
+ VERSION = "1.1.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastbound-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Dill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler