authentise 0.2.3 → 0.2.4

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: 8831efc0f80e0d3cbc488c684dba2cf68c084380
4
- data.tar.gz: 685b461ee213f942ed733faf08c5a90a0f2b5749
3
+ metadata.gz: e7a26d475c0b0fe96481597cafe89a96a90ebe71
4
+ data.tar.gz: 3ff0e7e199d5de18027f152352d58e4056df2c42
5
5
  SHA512:
6
- metadata.gz: 059140001e9dce738fd90447531375cacfec7f3c6bee96eee3adbabf804462780f98906f3a74dcc3a0193b632c5042eb5089ef150df623316ca9f7298d2fb424
7
- data.tar.gz: 0cb7c4ce7993280a175c8ee928bb75ef2caa5c5ae24fd130d68a7cd14807e97c979af9cc0b21cf97d99396bafdae47d36e957f40d2fddbad91dd5cef3ab22bce
6
+ metadata.gz: d4840dec975ff3b9a85c4ca6fec8c1f0b5666137ed603c0b2b53f05156da6eaeb121f794f8b4ce1491fdb4e2951038e894c4530ec77a7765d4d99e96580a77bb
7
+ data.tar.gz: 91e31c5f4bd5d9e58d4d9182eebcc7dc1145c13863646b5927d2866b3a116944efef3c34a403463f62abe6260c4b4def69b0d067ce5ca3fe8bece4bf63f94bfd
@@ -60,7 +60,7 @@ module Authentise
60
60
  timeout: 2,
61
61
  }
62
62
  RestClient.put(url, file, options) do |response, _request, _result|
63
- if response.code == 200
63
+ if response.code == 200 || response.code == 204
64
64
  true
65
65
  else
66
66
  fail UnknownResponseCodeError.new(response.code, response)
@@ -1,3 +1,3 @@
1
1
  module Authentise
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Ripert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-09 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -135,3 +135,4 @@ test_files:
135
135
  - spec/spec_helper.rb
136
136
  - spec/upload_spec.rb
137
137
  - spec/user_spec.rb
138
+ has_rdoc: