action_interceptor 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTZmOTJjOTJlOTgxNGMzM2MzMmRmMjFiZTdjNTFiOTEyMTRiN2MxZA==
5
- data.tar.gz: !binary |-
6
- NzY5ZTBlODU5MWMwZWZiM2U4NmFhMjNiNjM4YTQwZmFiNDcxMzJjNw==
2
+ SHA1:
3
+ metadata.gz: e30847d9a2e6ea20d342f3918d23b212798dc4ea
4
+ data.tar.gz: aa57554d707375797e2b1fcd2bcafa500444d10b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzdjZmFkOTFiNmMyNjA5MmVmNjU5MGVmNjg3ZDY0NzAwZWU1OWNiZWYzODRj
10
- ZTQ1OGFlNGQwNDEzNjZmZDI3ZTRhOGJjOGUwMjc3N2YxNmUwMzcwNGViNDMw
11
- YTQ0Zjc0ODIwZDgxNDUxNjBlZjliZjQyMmIxODA5NjY5M2I1NzM=
12
- data.tar.gz: !binary |-
13
- M2NmYmJkNjE0Y2VjMDI1Mjk0MzdmY2VhNjA4Mjg1MWYwODAxNTdiM2M2YTky
14
- Yjk4MzQwMmJlYTQ0Njk4MTA2YjA0OGM4NDBhZjEyNGFhNWZmN2VmNzYwN2Ri
15
- ZDFmNmE1MWVjYzBhMjFiNGQ4NzZlMTMxYmE4NzRjOGVlYmZmNmU=
6
+ metadata.gz: 54711c762162aa9fa7ef868f940dc31d6bb51ba3cf8338485acab177ea1941a051bb8f038801e4c3ebb4116e9fca8432846d337c8568c21b0cb08f68d6481b7f
7
+ data.tar.gz: 849ca09e50ad0e3fb996c7502c693055184dccf205def3e8af3c4eb3bc18e0d422abac7969fc0a02fe01505bd305775e40b40223dd4de6f06d03958c8f5225d2
@@ -93,6 +93,9 @@ module ActionInterceptor
93
93
 
94
94
  skip_before_filter :delete_intercepted_url
95
95
 
96
+ # Ensure that we always store the intercepted url
97
+ before_filter :intercepted_url
98
+
96
99
  helper_method :intercepted_url, :intercepted_url_hash
97
100
 
98
101
  protected
@@ -1,4 +1,4 @@
1
1
  module ActionInterceptor
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_interceptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Action Interceptor provides controllers that require users to perform
@@ -125,12 +125,12 @@ require_paths:
125
125
  - lib
126
126
  required_ruby_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ! '>='
128
+ - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - ! '>='
133
+ - - ">="
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []