devise-links 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,10 +7,12 @@ begin
7
7
  gem.email = "kmandrup@gmail.com"
8
8
  gem.homepage = "http://github.com/kristianmandrup/devise-links"
9
9
  gem.authors = ["Kristian Mandrup"]
10
- gem.add_development_dependency "rspec", "~> 2.0.0"
11
- gem.add_development_dependency "devise", "~> 1.1"
12
- gem.add_dependency 'require_all', "~> 1.1"
13
- gem.add_dependency 'sugar-high', "~> 0.1"
10
+ gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
11
+ gem.add_development_dependency "rspec-action_view", "~> 0.3.1"
12
+
13
+ gem.add_dependency "devise", "~> 1.1.2"
14
+ gem.add_dependency 'require_all', "~> 1.1.0"
15
+ gem.add_dependency 'sugar-high', "~> 0.2.10"
14
16
  end
15
17
  Jeweler::GemcutterTasks.new
16
18
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,75 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{devise-links}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = %q{2010-09-19}
13
+ s.description = %q{Link helpers for Devise actions, including user session and registration links.}
14
+ s.email = %q{kmandrup@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ ".rspec",
23
+ "LICENSE",
24
+ "README.markdown",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "devise-links.gemspec",
28
+ "lib/devise-links.rb",
29
+ "lib/devise-links/link/registration.rb",
30
+ "lib/devise-links/link/session.rb",
31
+ "lib/devise-links/namespaces.rb",
32
+ "lib/devise-links/rails/configure.rb",
33
+ "spec/devise-links/helpers/registration-links_spec.rb",
34
+ "spec/devise-links/helpers/session_links_spec.rb",
35
+ "spec/devise-links/rails/configure_spec.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+ s.homepage = %q{http://github.com/kristianmandrup/devise-links}
39
+ s.rdoc_options = ["--charset=UTF-8"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = %q{1.3.7}
42
+ s.summary = %q{Link helpers for Devise actions}
43
+ s.test_files = [
44
+ "spec/devise-links/helpers/registration-links_spec.rb",
45
+ "spec/devise-links/helpers/session_links_spec.rb",
46
+ "spec/devise-links/rails/configure_spec.rb",
47
+ "spec/spec_helper.rb"
48
+ ]
49
+
50
+ if s.respond_to? :specification_version then
51
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
52
+ s.specification_version = 3
53
+
54
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
+ s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
56
+ s.add_development_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
57
+ s.add_runtime_dependency(%q<devise>, ["~> 1.1.2"])
58
+ s.add_runtime_dependency(%q<require_all>, ["~> 1.1.0"])
59
+ s.add_runtime_dependency(%q<sugar-high>, ["~> 0.2.10"])
60
+ else
61
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
62
+ s.add_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
63
+ s.add_dependency(%q<devise>, ["~> 1.1.2"])
64
+ s.add_dependency(%q<require_all>, ["~> 1.1.0"])
65
+ s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
66
+ end
67
+ else
68
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
69
+ s.add_dependency(%q<rspec-action_view>, ["~> 0.3.1"])
70
+ s.add_dependency(%q<devise>, ["~> 1.1.2"])
71
+ s.add_dependency(%q<require_all>, ["~> 1.1.0"])
72
+ s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
73
+ end
74
+ end
75
+
data/lib/devise-links.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'require_all'
2
2
  require 'sugar-high/module'
3
+ require 'rails3_artifactor'
3
4
  require 'devise-links/namespaces'
4
5
  require_all File.dirname(__FILE__) + '/devise-links/link'
5
6
 
@@ -1,5 +1,7 @@
1
1
  module Devise::Link
2
- module Registration
2
+ module Registration
3
+ include Rails3::Assist::BaseHelper
4
+
3
5
  REGISTRATION_LINKS = {
4
6
  :new_registration => :sign_up,
5
7
  :edit_registration => :edit_profile
@@ -1,4 +1,4 @@
1
- module AuthAssistant::Link
1
+ module Devise::Link
2
2
  module Session
3
3
  SESSION_LINKS = {
4
4
  :sign_out => :log_out,
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'devise-links/link/registration'
3
3
 
4
4
  describe Devise::Link::Registration do
5
-
5
+
6
6
  extend_view_with Devise::Link::Registration
7
7
 
8
8
  describe '#new_registration_link' do
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
- require 'rspec'
2
- require 'rspec/autorun'
1
+ require 'rspec/core'
3
2
  require 'devise-links'
3
+ require 'rspec-action_view'
4
4
 
5
5
  RSpec.configure do |config|
6
6
  config.mock_with :mocha
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
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 00:00:00 +02:00
17
+ date: 2010-09-19 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -29,11 +29,13 @@ dependencies:
29
29
  - 2
30
30
  - 0
31
31
  - 0
32
- version: 2.0.0
32
+ - beta
33
+ - 22
34
+ version: 2.0.0.beta.22
33
35
  type: :development
34
36
  version_requirements: *id001
35
37
  - !ruby/object:Gem::Dependency
36
- name: devise
38
+ name: rspec-action_view
37
39
  prerelease: false
38
40
  requirement: &id002 !ruby/object:Gem::Requirement
39
41
  none: false
@@ -41,13 +43,14 @@ dependencies:
41
43
  - - ~>
42
44
  - !ruby/object:Gem::Version
43
45
  segments:
46
+ - 0
47
+ - 3
44
48
  - 1
45
- - 1
46
- version: "1.1"
49
+ version: 0.3.1
47
50
  type: :development
48
51
  version_requirements: *id002
49
52
  - !ruby/object:Gem::Dependency
50
- name: require_all
53
+ name: devise
51
54
  prerelease: false
52
55
  requirement: &id003 !ruby/object:Gem::Requirement
53
56
  none: false
@@ -57,11 +60,12 @@ dependencies:
57
60
  segments:
58
61
  - 1
59
62
  - 1
60
- version: "1.1"
63
+ - 2
64
+ version: 1.1.2
61
65
  type: :runtime
62
66
  version_requirements: *id003
63
67
  - !ruby/object:Gem::Dependency
64
- name: sugar-high
68
+ name: require_all
65
69
  prerelease: false
66
70
  requirement: &id004 !ruby/object:Gem::Requirement
67
71
  none: false
@@ -69,11 +73,27 @@ dependencies:
69
73
  - - ~>
70
74
  - !ruby/object:Gem::Version
71
75
  segments:
72
- - 0
73
76
  - 1
74
- version: "0.1"
77
+ - 1
78
+ - 0
79
+ version: 1.1.0
75
80
  type: :runtime
76
81
  version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
83
+ name: sugar-high
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ segments:
91
+ - 0
92
+ - 2
93
+ - 10
94
+ version: 0.2.10
95
+ type: :runtime
96
+ version_requirements: *id005
77
97
  description: Link helpers for Devise actions, including user session and registration links.
78
98
  email: kmandrup@gmail.com
79
99
  executables: []
@@ -91,6 +111,7 @@ files:
91
111
  - README.markdown
92
112
  - Rakefile
93
113
  - VERSION
114
+ - devise-links.gemspec
94
115
  - lib/devise-links.rb
95
116
  - lib/devise-links/link/registration.rb
96
117
  - lib/devise-links/link/session.rb