devise-links 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -3
- data/VERSION +1 -1
- data/devise-links.gemspec +11 -8
- data/lib/devise-links.rb +1 -0
- data/lib/devise-links/rails/configure.rb +9 -0
- data/spec/devise-links/rails/configure_spec.rb +8 -1
- metadata +22 -7
data/Rakefile
CHANGED
@@ -10,9 +10,10 @@ begin
|
|
10
10
|
gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
|
11
11
|
gem.add_development_dependency "rspec-action_view", "~> 0.3.1"
|
12
12
|
|
13
|
-
gem.add_dependency "devise",
|
14
|
-
gem.add_dependency 'require_all',
|
15
|
-
gem.add_dependency 'sugar-high',
|
13
|
+
gem.add_dependency "devise", "~> 1.2.0"
|
14
|
+
gem.add_dependency 'require_all', "~> 1.2.0"
|
15
|
+
gem.add_dependency 'sugar-high', "~> 0.2.10"
|
16
|
+
gem.add_dependency 'r3_plugin_toolbox', "~> 0.3.6"
|
16
17
|
end
|
17
18
|
Jeweler::GemcutterTasks.new
|
18
19
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/devise-links.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{devise-links}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2010-09-
|
12
|
+
s.date = %q{2010-09-25}
|
13
13
|
s.description = %q{Link helpers for Devise actions, including user session and registration links.}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -54,22 +54,25 @@ Gem::Specification.new do |s|
|
|
54
54
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
55
|
s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
56
56
|
s.add_development_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
|
57
|
-
s.add_runtime_dependency(%q<devise>, ["~> 1.
|
58
|
-
s.add_runtime_dependency(%q<require_all>, ["~> 1.
|
57
|
+
s.add_runtime_dependency(%q<devise>, ["~> 1.2.0"])
|
58
|
+
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
59
59
|
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.2.10"])
|
60
|
+
s.add_runtime_dependency(%q<r3_plugin_toolbox>, ["~> 0.3.6"])
|
60
61
|
else
|
61
62
|
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
62
63
|
s.add_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
|
63
|
-
s.add_dependency(%q<devise>, ["~> 1.
|
64
|
-
s.add_dependency(%q<require_all>, ["~> 1.
|
64
|
+
s.add_dependency(%q<devise>, ["~> 1.2.0"])
|
65
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
65
66
|
s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
|
67
|
+
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.3.6"])
|
66
68
|
end
|
67
69
|
else
|
68
70
|
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
69
71
|
s.add_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
|
70
|
-
s.add_dependency(%q<devise>, ["~> 1.
|
71
|
-
s.add_dependency(%q<require_all>, ["~> 1.
|
72
|
+
s.add_dependency(%q<devise>, ["~> 1.2.0"])
|
73
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
72
74
|
s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
|
75
|
+
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.3.6"])
|
73
76
|
end
|
74
77
|
end
|
75
78
|
|
data/lib/devise-links.rb
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'devise-links/rails/configure'
|
3
3
|
|
4
|
+
module Minimal
|
5
|
+
class Application < Rails::Application
|
6
|
+
config.active_support.deprecation = :log
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
|
4
11
|
describe 'Devise links Rails 3 view extensions' do
|
5
12
|
it "should extend Action View with Devise link helpers" do
|
6
13
|
after_init :view do
|
7
|
-
:view.should be_extended_with Devise::
|
14
|
+
:view.should be_extended_with Devise::Link, :session, :registration
|
8
15
|
end
|
9
16
|
|
10
17
|
init_app_railties :minimal, :view
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kristian Mandrup
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-25 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -59,9 +59,9 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
segments:
|
61
61
|
- 1
|
62
|
-
- 1
|
63
62
|
- 2
|
64
|
-
|
63
|
+
- 0
|
64
|
+
version: 1.2.0
|
65
65
|
type: :runtime
|
66
66
|
version_requirements: *id003
|
67
67
|
- !ruby/object:Gem::Dependency
|
@@ -74,9 +74,9 @@ dependencies:
|
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
segments:
|
76
76
|
- 1
|
77
|
-
-
|
77
|
+
- 2
|
78
78
|
- 0
|
79
|
-
version: 1.
|
79
|
+
version: 1.2.0
|
80
80
|
type: :runtime
|
81
81
|
version_requirements: *id004
|
82
82
|
- !ruby/object:Gem::Dependency
|
@@ -94,6 +94,21 @@ dependencies:
|
|
94
94
|
version: 0.2.10
|
95
95
|
type: :runtime
|
96
96
|
version_requirements: *id005
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: r3_plugin_toolbox
|
99
|
+
prerelease: false
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
- 3
|
108
|
+
- 6
|
109
|
+
version: 0.3.6
|
110
|
+
type: :runtime
|
111
|
+
version_requirements: *id006
|
97
112
|
description: Link helpers for Devise actions, including user session and registration links.
|
98
113
|
email: kmandrup@gmail.com
|
99
114
|
executables: []
|