jump_back 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jump_back/redirect_back.rb +15 -32
- data/lib/jump_back/redirection_determiner.rb +13 -0
- data/lib/jump_back/referer_interpreter.rb +34 -0
- data/lib/jump_back/return_to_referer.rb +1 -0
- data/lib/jump_back/version.rb +1 -1
- data/spec/controller/tests_controller_spec.rb +32 -0
- data/spec/dummy/app/controllers/tests_controller.rb +3 -3
- data/spec/dummy/log/development.log +5 -0
- data/spec/dummy/log/test.log +4488 -0
- metadata +4 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jump_back
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Debelak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -80,6 +80,8 @@ files:
|
|
80
80
|
- lib/jump_back.rb
|
81
81
|
- lib/jump_back/engine.rb
|
82
82
|
- lib/jump_back/redirect_back.rb
|
83
|
+
- lib/jump_back/redirection_determiner.rb
|
84
|
+
- lib/jump_back/referer_interpreter.rb
|
83
85
|
- lib/jump_back/return_to_referer.rb
|
84
86
|
- lib/jump_back/version.rb
|
85
87
|
- lib/tasks/jump_back_tasks.rake
|