authentication-needed-san 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -1
- data/lib/authentication_needed_san.rb +3 -1
- data/rails/init.rb +1 -2
- data/test/test_helper.rb +2 -1
- metadata +19 -7
data/VERSION.yml
CHANGED
data/rails/init.rb
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
require 'authentication_needed_san'
|
2
|
-
ActionController::Base.send(:include, AuthenticationNeededSan)
|
1
|
+
require 'authentication_needed_san'
|
data/test/test_helper.rb
CHANGED
@@ -2,9 +2,10 @@ $:.unshift File.expand_path('../../lib', __FILE__)
|
|
2
2
|
|
3
3
|
begin
|
4
4
|
require 'rubygems'
|
5
|
+
gem 'rails', '< 3.0'
|
5
6
|
rescue LoadError
|
6
7
|
end
|
7
|
-
require 'active_support'
|
8
|
+
require 'active_support/all'
|
8
9
|
require 'action_controller'
|
9
10
|
require 'action_controller/test_case'
|
10
11
|
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authentication-needed-san
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Eloy Duran
|
@@ -9,7 +15,7 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2011-02-23 00:00:00 +01:00
|
13
19
|
default_executable:
|
14
20
|
dependencies: []
|
15
21
|
|
@@ -37,26 +43,32 @@ homepage: http://github.com/Fingertips/authentication-needed-san
|
|
37
43
|
licenses: []
|
38
44
|
|
39
45
|
post_install_message:
|
40
|
-
rdoc_options:
|
41
|
-
|
46
|
+
rdoc_options: []
|
47
|
+
|
42
48
|
require_paths:
|
43
49
|
- lib
|
44
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
45
52
|
requirements:
|
46
53
|
- - ">="
|
47
54
|
- !ruby/object:Gem::Version
|
55
|
+
hash: 3
|
56
|
+
segments:
|
57
|
+
- 0
|
48
58
|
version: "0"
|
49
|
-
version:
|
50
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
51
61
|
requirements:
|
52
62
|
- - ">="
|
53
63
|
- !ruby/object:Gem::Version
|
64
|
+
hash: 3
|
65
|
+
segments:
|
66
|
+
- 0
|
54
67
|
version: "0"
|
55
|
-
version:
|
56
68
|
requirements: []
|
57
69
|
|
58
70
|
rubyforge_project:
|
59
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.5.2
|
60
72
|
signing_key:
|
61
73
|
specification_version: 3
|
62
74
|
summary: A thin wrapper around the Rails `flash' object to assist in redirecting the user `back' after authentication.
|