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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ce425c07362e27278f0e15f99b72a30c0b02db8
4
- data.tar.gz: 482562cab81333c6221983a151b931713c03d724
3
+ metadata.gz: 23e4dee70c02dfd75e914e2b31d6c7422cc5fc9a
4
+ data.tar.gz: 5d0c083aa74a98d1bd9708bc5cfe3a531884c02d
5
5
  SHA512:
6
- metadata.gz: dba3dd3dc1a8ab943d5853160bc066e91012564decf09a30a9a0c19a0e3b451dc4074044a7d528468e817d5f6cd024d000fa0bf44b1be2307407257a0c7f4648
7
- data.tar.gz: 918e820b543532ed00a19f660ce2f17f9b57036aef175763538730c648841d2841bc0f09c3cd097b6d7e1d5b6e08f3641edb326d269be1089ede574879a2de4a
6
+ metadata.gz: 2e309448c60f8bee9cdfe5c72725d9536e3de10953020176098c4ac8250a6cae51ab433b4b14ef77d041586e506779cabdafa7f7488a94bbda3db4bd4b61aed0
7
+ data.tar.gz: 43a36588cf4d0e84c11b59ce91d72bc8fbb67820be3890044e93e3723ef0aae269e46cfbad2888cf6ffa8304dc387379647223b4737dc94dba210b0cffd1e962
@@ -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 )
@@ -1,3 +1,3 @@
1
1
  module Endow
2
- VERSION = "0.4.0"
2
+ VERSION = "1.0.0"
3
3
  end
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.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-05-08 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport