endow 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/endow/endpoint.rb +2 -2
- data/lib/endow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e4dee70c02dfd75e914e2b31d6c7422cc5fc9a
|
4
|
+
data.tar.gz: 5d0c083aa74a98d1bd9708bc5cfe3a531884c02d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e309448c60f8bee9cdfe5c72725d9536e3de10953020176098c4ac8250a6cae51ab433b4b14ef77d041586e506779cabdafa7f7488a94bbda3db4bd4b61aed0
|
7
|
+
data.tar.gz: 43a36588cf4d0e84c11b59ce91d72bc8fbb67820be3890044e93e3723ef0aae269e46cfbad2888cf6ffa8304dc387379647223b4737dc94dba210b0cffd1e962
|
data/lib/endow/endpoint.rb
CHANGED
@@ -111,12 +111,12 @@ module Endow
|
|
111
111
|
def _handle_unsuccessful_response
|
112
112
|
custom_handler_method = "handle_unsuccessful_response_#{response.code}"
|
113
113
|
|
114
|
-
unless respond_to?( custom_handler_method )
|
114
|
+
unless respond_to?( custom_handler_method, true )
|
115
115
|
handle_unsuccessful_response
|
116
116
|
return
|
117
117
|
end
|
118
118
|
|
119
|
-
send( custom_handler_method )
|
119
|
+
send( custom_handler_method, response )
|
120
120
|
end
|
121
121
|
|
122
122
|
def set_content( content )
|
data/lib/endow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: endow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Harrelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|