devise_invitable 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +22 -0
- data/LICENSE +20 -0
- data/README.rdoc +18 -0
- data/Rakefile +54 -0
- data/VERSION +1 -0
- data/app/controllers/invitations_controller.rb +48 -0
- data/app/views/devise_mailer/invitation.html.erb +8 -0
- data/app/views/invitations/edit.html.erb +14 -0
- data/app/views/invitations/new.html.erb +10 -0
- data/devise_invitable.gemspec +121 -0
- data/init.rb +1 -0
- data/lib/devise/controllers/url_helpers.rb +20 -0
- data/lib/devise/models/invitable.rb +143 -0
- data/lib/devise_invitable.rb +14 -0
- data/lib/devise_invitable/locales/en.yml +5 -0
- data/lib/devise_invitable/mailer.rb +9 -0
- data/lib/devise_invitable/rails.rb +3 -0
- data/lib/devise_invitable/routes.rb +28 -0
- data/lib/devise_invitable/schema.rb +11 -0
- data/rails/init.rb +1 -0
- data/test/integration/invitable_test.rb +122 -0
- data/test/integration_tests_helper.rb +38 -0
- data/test/mailers/invitation_test.rb +62 -0
- data/test/model_tests_helper.rb +59 -0
- data/test/models/invitable_test.rb +164 -0
- data/test/models_test.rb +35 -0
- data/test/rails_app/app/controllers/admins_controller.rb +6 -0
- data/test/rails_app/app/controllers/application_controller.rb +10 -0
- data/test/rails_app/app/controllers/home_controller.rb +4 -0
- data/test/rails_app/app/controllers/users_controller.rb +12 -0
- data/test/rails_app/app/helpers/application_helper.rb +3 -0
- data/test/rails_app/app/models/user.rb +4 -0
- data/test/rails_app/app/views/home/index.html.erb +0 -0
- data/test/rails_app/config/boot.rb +110 -0
- data/test/rails_app/config/database.yml +22 -0
- data/test/rails_app/config/environment.rb +44 -0
- data/test/rails_app/config/environments/development.rb +17 -0
- data/test/rails_app/config/environments/production.rb +28 -0
- data/test/rails_app/config/environments/test.rb +28 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_app/config/initializers/inflections.rb +2 -0
- data/test/rails_app/config/initializers/new_rails_defaults.rb +21 -0
- data/test/rails_app/config/initializers/session_store.rb +15 -0
- data/test/rails_app/config/routes.rb +3 -0
- data/test/rails_app/vendor/plugins/devise_invitable/init.rb +1 -0
- data/test/routes_test.rb +20 -0
- data/test/test_helper.rb +58 -0
- metadata +156 -0
metadata
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: devise_invitable
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sergio Cambra
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-10 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: mocha
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: webrat
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: devise
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.7.1
|
44
|
+
version:
|
45
|
+
description: It adds support for send invitations by email (it requires to be authenticated) and accept the invitation setting the password
|
46
|
+
email: sergio@entrecables.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files:
|
52
|
+
- LICENSE
|
53
|
+
- README.rdoc
|
54
|
+
files:
|
55
|
+
- .document
|
56
|
+
- .gitignore
|
57
|
+
- LICENSE
|
58
|
+
- README.rdoc
|
59
|
+
- Rakefile
|
60
|
+
- VERSION
|
61
|
+
- app/controllers/invitations_controller.rb
|
62
|
+
- app/views/devise_mailer/invitation.html.erb
|
63
|
+
- app/views/invitations/edit.html.erb
|
64
|
+
- app/views/invitations/new.html.erb
|
65
|
+
- devise_invitable.gemspec
|
66
|
+
- init.rb
|
67
|
+
- lib/devise/controllers/url_helpers.rb
|
68
|
+
- lib/devise/models/invitable.rb
|
69
|
+
- lib/devise_invitable.rb
|
70
|
+
- lib/devise_invitable/locales/en.yml
|
71
|
+
- lib/devise_invitable/mailer.rb
|
72
|
+
- lib/devise_invitable/rails.rb
|
73
|
+
- lib/devise_invitable/routes.rb
|
74
|
+
- lib/devise_invitable/schema.rb
|
75
|
+
- rails/init.rb
|
76
|
+
- test/integration/invitable_test.rb
|
77
|
+
- test/integration_tests_helper.rb
|
78
|
+
- test/mailers/invitation_test.rb
|
79
|
+
- test/model_tests_helper.rb
|
80
|
+
- test/models/invitable_test.rb
|
81
|
+
- test/models_test.rb
|
82
|
+
- test/rails_app/app/controllers/admins_controller.rb
|
83
|
+
- test/rails_app/app/controllers/application_controller.rb
|
84
|
+
- test/rails_app/app/controllers/home_controller.rb
|
85
|
+
- test/rails_app/app/controllers/users_controller.rb
|
86
|
+
- test/rails_app/app/helpers/application_helper.rb
|
87
|
+
- test/rails_app/app/models/user.rb
|
88
|
+
- test/rails_app/app/views/home/index.html.erb
|
89
|
+
- test/rails_app/config/boot.rb
|
90
|
+
- test/rails_app/config/database.yml
|
91
|
+
- test/rails_app/config/environment.rb
|
92
|
+
- test/rails_app/config/environments/development.rb
|
93
|
+
- test/rails_app/config/environments/production.rb
|
94
|
+
- test/rails_app/config/environments/test.rb
|
95
|
+
- test/rails_app/config/initializers/backtrace_silencers.rb
|
96
|
+
- test/rails_app/config/initializers/inflections.rb
|
97
|
+
- test/rails_app/config/initializers/new_rails_defaults.rb
|
98
|
+
- test/rails_app/config/initializers/session_store.rb
|
99
|
+
- test/rails_app/config/routes.rb
|
100
|
+
- test/rails_app/vendor/plugins/devise_invitable/init.rb
|
101
|
+
- test/routes_test.rb
|
102
|
+
- test/test_helper.rb
|
103
|
+
has_rdoc: true
|
104
|
+
homepage: http://github.com/scambra/devise_invitable
|
105
|
+
licenses: []
|
106
|
+
|
107
|
+
post_install_message:
|
108
|
+
rdoc_options:
|
109
|
+
- --charset=UTF-8
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: "0"
|
117
|
+
version:
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: "0"
|
123
|
+
version:
|
124
|
+
requirements: []
|
125
|
+
|
126
|
+
rubyforge_project:
|
127
|
+
rubygems_version: 1.3.5
|
128
|
+
signing_key:
|
129
|
+
specification_version: 3
|
130
|
+
summary: An invitation strategy for devise
|
131
|
+
test_files:
|
132
|
+
- test/model_tests_helper.rb
|
133
|
+
- test/integration_tests_helper.rb
|
134
|
+
- test/models_test.rb
|
135
|
+
- test/mailers/invitation_test.rb
|
136
|
+
- test/routes_test.rb
|
137
|
+
- test/integration/invitable_test.rb
|
138
|
+
- test/models/invitable_test.rb
|
139
|
+
- test/test_helper.rb
|
140
|
+
- test/rails_app/app/controllers/application_controller.rb
|
141
|
+
- test/rails_app/app/controllers/admins_controller.rb
|
142
|
+
- test/rails_app/app/controllers/home_controller.rb
|
143
|
+
- test/rails_app/app/controllers/users_controller.rb
|
144
|
+
- test/rails_app/app/models/user.rb
|
145
|
+
- test/rails_app/app/helpers/application_helper.rb
|
146
|
+
- test/rails_app/config/routes.rb
|
147
|
+
- test/rails_app/config/initializers/backtrace_silencers.rb
|
148
|
+
- test/rails_app/config/initializers/new_rails_defaults.rb
|
149
|
+
- test/rails_app/config/initializers/session_store.rb
|
150
|
+
- test/rails_app/config/initializers/inflections.rb
|
151
|
+
- test/rails_app/config/environments/test.rb
|
152
|
+
- test/rails_app/config/environments/development.rb
|
153
|
+
- test/rails_app/config/environments/production.rb
|
154
|
+
- test/rails_app/config/environment.rb
|
155
|
+
- test/rails_app/config/boot.rb
|
156
|
+
- test/rails_app/vendor/plugins/devise_invitable/init.rb
|