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 +4 -4
- data/lib/authentise/api/warehouse.rb +1 -1
- data/lib/authentise/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7a26d475c0b0fe96481597cafe89a96a90ebe71
|
4
|
+
data.tar.gz: 3ff0e7e199d5de18027f152352d58e4056df2c42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/authentise/version.rb
CHANGED
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.
|
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:
|
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:
|