action_interceptor 0.4.0 → 0.4.1

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: 91fc5da27aa7c29f7251f8e2eab3118ff37a276a
4
- data.tar.gz: 2981fdd570f8d5ef6aacecfcb61152943f791d02
3
+ metadata.gz: 4891e6cb0fb40f238f11d9bf6a1e04534eca5096
4
+ data.tar.gz: bc9bfe976bcfee12092c7334a60862f3d2b688d7
5
5
  SHA512:
6
- metadata.gz: 10a8bc701038b757e287fef7c14970f5dacbdb4b836d6599dce8327e1a9a50dbb00cf241c05e92ab94000a1660753dddd7ca92a8c95af4090c30a92e437151db
7
- data.tar.gz: 21f27ea5f58e8ac0d25d1de9278510b286a62bb6a60441bd82a3ea890d88eb9e3687412e8e02dd24100268865a0ae2580d422af743160c42848c3a3e581c3eed
6
+ metadata.gz: aaa8d5deec9489d6fa45f313f8a8cc421c46a6c55dc131ed3ca5516b2c5645413099f1f45419cd55f3a47ff89961cbde154328b6f8ff07a3f975d0ae73507181
7
+ data.tar.gz: f60501e94fcc23b33ffab8f569b270e8b156d9faacd5d3739e6b4965dcda1f877d48e6f655f7f9caaf40290ea5c0ca2051c57bfa1dc0e4b4e8b2957bfe7a78e6
@@ -20,6 +20,10 @@ module ActionInterceptor
20
20
  base.extend(ClassMethods)
21
21
  end
22
22
 
23
+ def _compute_redirect_to_location(options)
24
+ url_for(super)
25
+ end
26
+
23
27
  protected
24
28
 
25
29
  def current_page?(url)
@@ -47,12 +51,6 @@ module ActionInterceptor
47
51
  session.delete(ActionInterceptor.intercepted_url_key)
48
52
  end
49
53
 
50
- private
51
-
52
- def _compute_redirect_to_location(options)
53
- url_for(super)
54
- end
55
-
56
54
  module ClassMethods
57
55
 
58
56
  def interceptor(*interceptor_names, &block)
@@ -1,3 +1,3 @@
1
1
  module ActionInterceptor
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_interceptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares