devise_invitable 0.3.4 → 0.6.1
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/README.rdoc +124 -43
- data/app/controllers/devise/invitations_controller.rb +36 -9
- data/app/views/devise/invitations/new.html.erb +1 -1
- data/config/locales/en.yml +5 -3
- data/lib/devise_invitable/controllers/helpers.rb +1 -6
- data/lib/devise_invitable/inviter.rb +39 -0
- data/lib/devise_invitable/mailer.rb +4 -3
- data/lib/devise_invitable/model.rb +109 -44
- data/lib/devise_invitable/model.rb~ +210 -0
- data/lib/devise_invitable/rails.rb +5 -2
- data/lib/devise_invitable/routes.rb +8 -5
- data/lib/devise_invitable/schema.rb +29 -2
- data/lib/devise_invitable/version.rb +3 -0
- data/lib/devise_invitable.rb +48 -6
- data/lib/generators/active_record/templates/migration.rb +15 -7
- data/lib/generators/devise_invitable/devise_invitable_generator.rb +4 -0
- data/lib/generators/devise_invitable/install_generator.rb +21 -2
- data/lib/generators/devise_invitable/views_generator.rb +11 -2
- data/lib/generators/mongoid/devise_invitable_generator.rb +8 -0
- metadata +62 -148
- data/.document +0 -5
- data/.gitignore +0 -22
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -108
- data/Rakefile +0 -55
- data/VERSION +0 -1
- data/devise_invitable.gemspec +0 -146
- data/test/generators_test.rb +0 -45
- data/test/integration/invitable_test.rb +0 -109
- data/test/integration_tests_helper.rb +0 -58
- data/test/mailers/invitation_test.rb +0 -62
- data/test/model_tests_helper.rb +0 -41
- data/test/models/invitable_test.rb +0 -188
- data/test/models_test.rb +0 -31
- data/test/rails_app/app/controllers/admins_controller.rb +0 -6
- data/test/rails_app/app/controllers/application_controller.rb +0 -3
- data/test/rails_app/app/controllers/home_controller.rb +0 -4
- data/test/rails_app/app/controllers/users_controller.rb +0 -12
- data/test/rails_app/app/helpers/application_helper.rb +0 -2
- data/test/rails_app/app/models/octopussy.rb +0 -11
- data/test/rails_app/app/models/user.rb +0 -4
- data/test/rails_app/app/views/home/index.html.erb +0 -0
- data/test/rails_app/app/views/layouts/application.html.erb +0 -15
- data/test/rails_app/app/views/users/invitations/new.html.erb +0 -15
- data/test/rails_app/config/application.rb +0 -46
- data/test/rails_app/config/boot.rb +0 -13
- data/test/rails_app/config/database.yml +0 -22
- data/test/rails_app/config/environment.rb +0 -5
- data/test/rails_app/config/environments/development.rb +0 -26
- data/test/rails_app/config/environments/production.rb +0 -49
- data/test/rails_app/config/environments/test.rb +0 -35
- data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test/rails_app/config/initializers/devise.rb +0 -144
- data/test/rails_app/config/initializers/inflections.rb +0 -10
- data/test/rails_app/config/initializers/mime_types.rb +0 -5
- data/test/rails_app/config/initializers/secret_token.rb +0 -7
- data/test/rails_app/config/initializers/session_store.rb +0 -8
- data/test/rails_app/config/locales/en.yml +0 -5
- data/test/rails_app/config/routes.rb +0 -4
- data/test/rails_app/config.ru +0 -4
- data/test/rails_app/script/rails +0 -6
- data/test/routes_test.rb +0 -20
- data/test/test_helper.rb +0 -30
- /data/app/views/devise/mailer/{invitation.html.erb → invitation_instructions.html.erb} +0 -0
|
@@ -2,9 +2,18 @@ require 'generators/devise/views_generator'
|
|
|
2
2
|
|
|
3
3
|
module DeviseInvitable
|
|
4
4
|
module Generators
|
|
5
|
-
class ViewsGenerator <
|
|
6
|
-
source_root File.expand_path("../../../../app/views", __FILE__)
|
|
5
|
+
class ViewsGenerator < Rails::Generators::Base
|
|
7
6
|
desc 'Copies all DeviseInvitable views to your application.'
|
|
7
|
+
|
|
8
|
+
argument :scope, :required => false, :default => nil,
|
|
9
|
+
:desc => "The scope to copy views to"
|
|
10
|
+
|
|
11
|
+
include ::Devise::Generators::ViewPathTemplates
|
|
12
|
+
source_root File.expand_path("../../../../app/views/devise", __FILE__)
|
|
13
|
+
def copy_views
|
|
14
|
+
view_directory :invitations
|
|
15
|
+
view_directory :mailer
|
|
16
|
+
end
|
|
8
17
|
end
|
|
9
18
|
end
|
|
10
19
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_invitable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 5
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 6
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.6.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sergio Cambra
|
|
@@ -15,166 +15,104 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-12-27 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
name:
|
|
21
|
+
name: bundler
|
|
23
22
|
prerelease: false
|
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
24
|
none: false
|
|
26
25
|
requirements:
|
|
27
|
-
- -
|
|
26
|
+
- - ~>
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash:
|
|
28
|
+
hash: 25
|
|
30
29
|
segments:
|
|
30
|
+
- 1
|
|
31
31
|
- 0
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
version: 0.9.8
|
|
32
|
+
- 7
|
|
33
|
+
version: 1.0.7
|
|
35
34
|
type: :development
|
|
36
35
|
version_requirements: *id001
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
38
|
-
name: capybara
|
|
39
|
-
prerelease: false
|
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- - ">="
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
hash: 1
|
|
46
|
-
segments:
|
|
47
|
-
- 0
|
|
48
|
-
- 3
|
|
49
|
-
- 9
|
|
50
|
-
version: 0.3.9
|
|
51
|
-
type: :development
|
|
52
|
-
version_requirements: *id002
|
|
53
36
|
- !ruby/object:Gem::Dependency
|
|
54
37
|
name: rails
|
|
55
38
|
prerelease: false
|
|
56
|
-
requirement: &
|
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
57
40
|
none: false
|
|
58
41
|
requirements:
|
|
59
42
|
- - ~>
|
|
60
43
|
- !ruby/object:Gem::Version
|
|
61
|
-
hash:
|
|
44
|
+
hash: 3
|
|
62
45
|
segments:
|
|
63
46
|
- 3
|
|
47
|
+
- 1
|
|
64
48
|
- 0
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
version_requirements: *id003
|
|
49
|
+
version: 3.1.0
|
|
50
|
+
type: :runtime
|
|
51
|
+
version_requirements: *id002
|
|
69
52
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
53
|
+
name: devise
|
|
71
54
|
prerelease: false
|
|
72
|
-
requirement: &
|
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
73
56
|
none: false
|
|
74
57
|
requirements:
|
|
75
58
|
- - ">="
|
|
76
59
|
- !ruby/object:Gem::Version
|
|
77
|
-
hash:
|
|
60
|
+
hash: 11
|
|
78
61
|
segments:
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
name: devise
|
|
85
|
-
prerelease: false
|
|
86
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
|
87
|
-
none: false
|
|
88
|
-
requirements:
|
|
89
|
-
- - ~>
|
|
62
|
+
- 1
|
|
63
|
+
- 4
|
|
64
|
+
- 6
|
|
65
|
+
version: 1.4.6
|
|
66
|
+
- - <
|
|
90
67
|
- !ruby/object:Gem::Version
|
|
91
|
-
hash:
|
|
68
|
+
hash: 3
|
|
92
69
|
segments:
|
|
93
70
|
- 1
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
version: 1.1.0
|
|
71
|
+
- 6
|
|
72
|
+
version: "1.6"
|
|
97
73
|
type: :runtime
|
|
98
|
-
version_requirements: *
|
|
99
|
-
description: It adds support for send invitations by email (it requires to be authenticated) and accept the invitation setting
|
|
100
|
-
email:
|
|
74
|
+
version_requirements: *id003
|
|
75
|
+
description: It adds support for send invitations by email (it requires to be authenticated) and accept the invitation by setting a password.
|
|
76
|
+
email:
|
|
77
|
+
- sergio@entrecables.com
|
|
101
78
|
executables: []
|
|
102
79
|
|
|
103
80
|
extensions: []
|
|
104
81
|
|
|
105
|
-
extra_rdoc_files:
|
|
106
|
-
|
|
107
|
-
- README.rdoc
|
|
82
|
+
extra_rdoc_files: []
|
|
83
|
+
|
|
108
84
|
files:
|
|
109
|
-
- .document
|
|
110
|
-
- .gitignore
|
|
111
|
-
- Gemfile
|
|
112
|
-
- Gemfile.lock
|
|
113
|
-
- LICENSE
|
|
114
|
-
- README.rdoc
|
|
115
|
-
- Rakefile
|
|
116
|
-
- VERSION
|
|
117
85
|
- app/controllers/devise/invitations_controller.rb
|
|
118
86
|
- app/views/devise/invitations/edit.html.erb
|
|
119
87
|
- app/views/devise/invitations/new.html.erb
|
|
120
|
-
- app/views/devise/mailer/
|
|
88
|
+
- app/views/devise/mailer/invitation_instructions.html.erb
|
|
121
89
|
- config/locales/en.yml
|
|
122
|
-
- devise_invitable.gemspec
|
|
123
90
|
- lib/devise_invitable.rb
|
|
124
|
-
- lib/devise_invitable/controllers/helpers.rb
|
|
125
|
-
- lib/devise_invitable/controllers/url_helpers.rb
|
|
126
91
|
- lib/devise_invitable/mailer.rb
|
|
127
92
|
- lib/devise_invitable/model.rb
|
|
128
93
|
- lib/devise_invitable/rails.rb
|
|
129
94
|
- lib/devise_invitable/routes.rb
|
|
130
95
|
- lib/devise_invitable/schema.rb
|
|
96
|
+
- lib/devise_invitable/controllers/helpers.rb
|
|
97
|
+
- lib/devise_invitable/controllers/url_helpers.rb
|
|
98
|
+
- lib/devise_invitable/version.rb
|
|
99
|
+
- lib/devise_invitable/inviter.rb
|
|
100
|
+
- lib/devise_invitable/model.rb~
|
|
131
101
|
- lib/generators/active_record/devise_invitable_generator.rb
|
|
132
102
|
- lib/generators/active_record/templates/migration.rb
|
|
103
|
+
- lib/generators/devise_invitable/views_generator.rb
|
|
133
104
|
- lib/generators/devise_invitable/devise_invitable_generator.rb
|
|
134
105
|
- lib/generators/devise_invitable/install_generator.rb
|
|
135
|
-
- lib/generators/
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
- test/mailers/invitation_test.rb
|
|
140
|
-
- test/model_tests_helper.rb
|
|
141
|
-
- test/models/invitable_test.rb
|
|
142
|
-
- test/models_test.rb
|
|
143
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
|
144
|
-
- test/rails_app/app/controllers/application_controller.rb
|
|
145
|
-
- test/rails_app/app/controllers/home_controller.rb
|
|
146
|
-
- test/rails_app/app/controllers/users_controller.rb
|
|
147
|
-
- test/rails_app/app/helpers/application_helper.rb
|
|
148
|
-
- test/rails_app/app/models/octopussy.rb
|
|
149
|
-
- test/rails_app/app/models/user.rb
|
|
150
|
-
- test/rails_app/app/views/home/index.html.erb
|
|
151
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
|
152
|
-
- test/rails_app/app/views/users/invitations/new.html.erb
|
|
153
|
-
- test/rails_app/config.ru
|
|
154
|
-
- test/rails_app/config/application.rb
|
|
155
|
-
- test/rails_app/config/boot.rb
|
|
156
|
-
- test/rails_app/config/database.yml
|
|
157
|
-
- test/rails_app/config/environment.rb
|
|
158
|
-
- test/rails_app/config/environments/development.rb
|
|
159
|
-
- test/rails_app/config/environments/production.rb
|
|
160
|
-
- test/rails_app/config/environments/test.rb
|
|
161
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
|
162
|
-
- test/rails_app/config/initializers/devise.rb
|
|
163
|
-
- test/rails_app/config/initializers/inflections.rb
|
|
164
|
-
- test/rails_app/config/initializers/mime_types.rb
|
|
165
|
-
- test/rails_app/config/initializers/secret_token.rb
|
|
166
|
-
- test/rails_app/config/initializers/session_store.rb
|
|
167
|
-
- test/rails_app/config/locales/en.yml
|
|
168
|
-
- test/rails_app/config/routes.rb
|
|
169
|
-
- test/rails_app/script/rails
|
|
170
|
-
- test/routes_test.rb
|
|
171
|
-
- test/test_helper.rb
|
|
172
|
-
has_rdoc: true
|
|
173
|
-
homepage: http://github.com/scambra/devise_invitable
|
|
106
|
+
- lib/generators/mongoid/devise_invitable_generator.rb
|
|
107
|
+
- LICENSE
|
|
108
|
+
- README.rdoc
|
|
109
|
+
homepage: https://github.com/scambra/devise_invitable
|
|
174
110
|
licenses: []
|
|
175
111
|
|
|
176
112
|
post_install_message:
|
|
177
113
|
rdoc_options:
|
|
114
|
+
- --main
|
|
115
|
+
- README.rdoc
|
|
178
116
|
- --charset=UTF-8
|
|
179
117
|
require_paths:
|
|
180
118
|
- lib
|
|
@@ -183,53 +121,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
183
121
|
requirements:
|
|
184
122
|
- - ">="
|
|
185
123
|
- !ruby/object:Gem::Version
|
|
186
|
-
hash:
|
|
124
|
+
hash: 59
|
|
187
125
|
segments:
|
|
188
|
-
-
|
|
189
|
-
|
|
126
|
+
- 1
|
|
127
|
+
- 8
|
|
128
|
+
- 6
|
|
129
|
+
version: 1.8.6
|
|
190
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
131
|
none: false
|
|
192
132
|
requirements:
|
|
193
133
|
- - ">="
|
|
194
134
|
- !ruby/object:Gem::Version
|
|
195
|
-
hash:
|
|
135
|
+
hash: 23
|
|
196
136
|
segments:
|
|
197
|
-
-
|
|
198
|
-
|
|
137
|
+
- 1
|
|
138
|
+
- 3
|
|
139
|
+
- 6
|
|
140
|
+
version: 1.3.6
|
|
199
141
|
requirements: []
|
|
200
142
|
|
|
201
143
|
rubyforge_project:
|
|
202
|
-
rubygems_version: 1.
|
|
144
|
+
rubygems_version: 1.8.10
|
|
203
145
|
signing_key:
|
|
204
146
|
specification_version: 3
|
|
205
|
-
summary: An invitation strategy for
|
|
206
|
-
test_files:
|
|
207
|
-
|
|
208
|
-
- test/test_helper.rb
|
|
209
|
-
- test/integration/invitable_test.rb
|
|
210
|
-
- test/routes_test.rb
|
|
211
|
-
- test/rails_app/app/helpers/application_helper.rb
|
|
212
|
-
- test/rails_app/app/models/octopussy.rb
|
|
213
|
-
- test/rails_app/app/models/user.rb
|
|
214
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
|
215
|
-
- test/rails_app/app/controllers/application_controller.rb
|
|
216
|
-
- test/rails_app/app/controllers/home_controller.rb
|
|
217
|
-
- test/rails_app/app/controllers/users_controller.rb
|
|
218
|
-
- test/rails_app/config/initializers/devise.rb
|
|
219
|
-
- test/rails_app/config/initializers/inflections.rb
|
|
220
|
-
- test/rails_app/config/initializers/mime_types.rb
|
|
221
|
-
- test/rails_app/config/initializers/secret_token.rb
|
|
222
|
-
- test/rails_app/config/initializers/session_store.rb
|
|
223
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
|
224
|
-
- test/rails_app/config/environment.rb
|
|
225
|
-
- test/rails_app/config/environments/production.rb
|
|
226
|
-
- test/rails_app/config/environments/test.rb
|
|
227
|
-
- test/rails_app/config/environments/development.rb
|
|
228
|
-
- test/rails_app/config/routes.rb
|
|
229
|
-
- test/rails_app/config/application.rb
|
|
230
|
-
- test/rails_app/config/boot.rb
|
|
231
|
-
- test/integration_tests_helper.rb
|
|
232
|
-
- test/model_tests_helper.rb
|
|
233
|
-
- test/models_test.rb
|
|
234
|
-
- test/mailers/invitation_test.rb
|
|
235
|
-
- test/models/invitable_test.rb
|
|
147
|
+
summary: An invitation strategy for Devise
|
|
148
|
+
test_files: []
|
|
149
|
+
|
data/.document
DELETED
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
devise_invitable (0.3.2)
|
|
5
|
-
devise (~> 1.1.0)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: http://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
abstract (1.0.0)
|
|
11
|
-
actionmailer (3.0.0)
|
|
12
|
-
actionpack (= 3.0.0)
|
|
13
|
-
mail (~> 2.2.5)
|
|
14
|
-
actionpack (3.0.0)
|
|
15
|
-
activemodel (= 3.0.0)
|
|
16
|
-
activesupport (= 3.0.0)
|
|
17
|
-
builder (~> 2.1.2)
|
|
18
|
-
erubis (~> 2.6.6)
|
|
19
|
-
i18n (~> 0.4.1)
|
|
20
|
-
rack (~> 1.2.1)
|
|
21
|
-
rack-mount (~> 0.6.12)
|
|
22
|
-
rack-test (~> 0.5.4)
|
|
23
|
-
tzinfo (~> 0.3.23)
|
|
24
|
-
activemodel (3.0.0)
|
|
25
|
-
activesupport (= 3.0.0)
|
|
26
|
-
builder (~> 2.1.2)
|
|
27
|
-
i18n (~> 0.4.1)
|
|
28
|
-
activerecord (3.0.0)
|
|
29
|
-
activemodel (= 3.0.0)
|
|
30
|
-
activesupport (= 3.0.0)
|
|
31
|
-
arel (~> 1.0.0)
|
|
32
|
-
tzinfo (~> 0.3.23)
|
|
33
|
-
activeresource (3.0.0)
|
|
34
|
-
activemodel (= 3.0.0)
|
|
35
|
-
activesupport (= 3.0.0)
|
|
36
|
-
activesupport (3.0.0)
|
|
37
|
-
arel (1.0.1)
|
|
38
|
-
activesupport (~> 3.0.0)
|
|
39
|
-
bcrypt-ruby (2.1.2)
|
|
40
|
-
builder (2.1.2)
|
|
41
|
-
capybara (0.3.9)
|
|
42
|
-
culerity (>= 0.2.4)
|
|
43
|
-
mime-types (>= 1.16)
|
|
44
|
-
nokogiri (>= 1.3.3)
|
|
45
|
-
rack (>= 1.0.0)
|
|
46
|
-
rack-test (>= 0.5.4)
|
|
47
|
-
selenium-webdriver (>= 0.0.3)
|
|
48
|
-
culerity (0.2.12)
|
|
49
|
-
devise (1.1.2)
|
|
50
|
-
bcrypt-ruby (~> 2.1.2)
|
|
51
|
-
warden (~> 0.10.7)
|
|
52
|
-
erubis (2.6.6)
|
|
53
|
-
abstract (>= 1.0.0)
|
|
54
|
-
ffi (0.6.3)
|
|
55
|
-
rake (>= 0.8.7)
|
|
56
|
-
i18n (0.4.1)
|
|
57
|
-
json_pure (1.4.6)
|
|
58
|
-
mail (2.2.6)
|
|
59
|
-
activesupport (>= 2.3.6)
|
|
60
|
-
mime-types
|
|
61
|
-
treetop (>= 1.4.5)
|
|
62
|
-
mime-types (1.16)
|
|
63
|
-
mocha (0.9.8)
|
|
64
|
-
rake
|
|
65
|
-
nokogiri (1.4.3.1)
|
|
66
|
-
polyglot (0.3.1)
|
|
67
|
-
rack (1.2.1)
|
|
68
|
-
rack-mount (0.6.13)
|
|
69
|
-
rack (>= 1.0.0)
|
|
70
|
-
rack-test (0.5.4)
|
|
71
|
-
rack (>= 1.0)
|
|
72
|
-
rails (3.0.0)
|
|
73
|
-
actionmailer (= 3.0.0)
|
|
74
|
-
actionpack (= 3.0.0)
|
|
75
|
-
activerecord (= 3.0.0)
|
|
76
|
-
activeresource (= 3.0.0)
|
|
77
|
-
activesupport (= 3.0.0)
|
|
78
|
-
bundler (~> 1.0.0)
|
|
79
|
-
railties (= 3.0.0)
|
|
80
|
-
railties (3.0.0)
|
|
81
|
-
actionpack (= 3.0.0)
|
|
82
|
-
activesupport (= 3.0.0)
|
|
83
|
-
rake (>= 0.8.4)
|
|
84
|
-
thor (~> 0.14.0)
|
|
85
|
-
rake (0.8.7)
|
|
86
|
-
rubyzip (0.9.4)
|
|
87
|
-
selenium-webdriver (0.0.28)
|
|
88
|
-
ffi (>= 0.6.1)
|
|
89
|
-
json_pure
|
|
90
|
-
rubyzip
|
|
91
|
-
sqlite3-ruby (1.3.1)
|
|
92
|
-
thor (0.14.0)
|
|
93
|
-
treetop (1.4.8)
|
|
94
|
-
polyglot (>= 0.3.1)
|
|
95
|
-
tzinfo (0.3.23)
|
|
96
|
-
warden (0.10.7)
|
|
97
|
-
rack (>= 1.0.0)
|
|
98
|
-
|
|
99
|
-
PLATFORMS
|
|
100
|
-
ruby
|
|
101
|
-
|
|
102
|
-
DEPENDENCIES
|
|
103
|
-
capybara (>= 0.3.9)
|
|
104
|
-
devise (~> 1.1.0)
|
|
105
|
-
devise_invitable!
|
|
106
|
-
mocha (>= 0.9.8)
|
|
107
|
-
rails (~> 3.0.0)
|
|
108
|
-
sqlite3-ruby
|
data/Rakefile
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
require 'rake'
|
|
2
|
-
|
|
3
|
-
begin
|
|
4
|
-
require 'jeweler'
|
|
5
|
-
Jeweler::Tasks.new do |gem|
|
|
6
|
-
gem.name = "devise_invitable"
|
|
7
|
-
gem.summary = %Q{An invitation strategy for devise}
|
|
8
|
-
gem.description = %Q{It adds support for send invitations by email (it requires to be authenticated) and accept the invitation setting the password}
|
|
9
|
-
gem.email = "sergio@entrecables.com"
|
|
10
|
-
gem.homepage = "http://github.com/scambra/devise_invitable"
|
|
11
|
-
gem.authors = ["Sergio Cambra"]
|
|
12
|
-
gem.add_development_dependency 'mocha', '>= 0.9.8'
|
|
13
|
-
gem.add_development_dependency 'capybara', '>= 0.3.9'
|
|
14
|
-
gem.add_development_dependency 'rails', '~> 3.0.0'
|
|
15
|
-
gem.add_development_dependency 'sqlite3-ruby'
|
|
16
|
-
gem.add_dependency 'devise', '~> 1.1.0'
|
|
17
|
-
end
|
|
18
|
-
Jeweler::GemcutterTasks.new
|
|
19
|
-
rescue LoadError
|
|
20
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
require 'rake/testtask'
|
|
24
|
-
Rake::TestTask.new(:test) do |test|
|
|
25
|
-
test.libs << 'lib' << 'test'
|
|
26
|
-
test.pattern = 'test/**/*_test.rb'
|
|
27
|
-
test.verbose = true
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
begin
|
|
31
|
-
require 'rcov/rcovtask'
|
|
32
|
-
Rcov::RcovTask.new do |test|
|
|
33
|
-
test.libs << 'test'
|
|
34
|
-
test.pattern = 'test/**/test_*.rb'
|
|
35
|
-
test.verbose = true
|
|
36
|
-
end
|
|
37
|
-
rescue LoadError
|
|
38
|
-
task :rcov do
|
|
39
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
task :test => :check_dependencies
|
|
44
|
-
|
|
45
|
-
task :default => :test
|
|
46
|
-
|
|
47
|
-
require 'rake/rdoctask'
|
|
48
|
-
Rake::RDocTask.new do |rdoc|
|
|
49
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
50
|
-
|
|
51
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
52
|
-
rdoc.title = "devise_invitable #{version}"
|
|
53
|
-
rdoc.rdoc_files.include('README*')
|
|
54
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
55
|
-
end
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.4
|
data/devise_invitable.gemspec
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
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_invitable}
|
|
8
|
-
s.version = "0.3.4"
|
|
9
|
-
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = ["Sergio Cambra"]
|
|
12
|
-
s.date = %q{2010-10-02}
|
|
13
|
-
s.description = %q{It adds support for send invitations by email (it requires to be authenticated) and accept the invitation setting the password}
|
|
14
|
-
s.email = %q{sergio@entrecables.com}
|
|
15
|
-
s.extra_rdoc_files = [
|
|
16
|
-
"LICENSE",
|
|
17
|
-
"README.rdoc"
|
|
18
|
-
]
|
|
19
|
-
s.files = [
|
|
20
|
-
".document",
|
|
21
|
-
".gitignore",
|
|
22
|
-
"Gemfile",
|
|
23
|
-
"Gemfile.lock",
|
|
24
|
-
"LICENSE",
|
|
25
|
-
"README.rdoc",
|
|
26
|
-
"Rakefile",
|
|
27
|
-
"VERSION",
|
|
28
|
-
"app/controllers/devise/invitations_controller.rb",
|
|
29
|
-
"app/views/devise/invitations/edit.html.erb",
|
|
30
|
-
"app/views/devise/invitations/new.html.erb",
|
|
31
|
-
"app/views/devise/mailer/invitation.html.erb",
|
|
32
|
-
"config/locales/en.yml",
|
|
33
|
-
"devise_invitable.gemspec",
|
|
34
|
-
"lib/devise_invitable.rb",
|
|
35
|
-
"lib/devise_invitable/controllers/helpers.rb",
|
|
36
|
-
"lib/devise_invitable/controllers/url_helpers.rb",
|
|
37
|
-
"lib/devise_invitable/mailer.rb",
|
|
38
|
-
"lib/devise_invitable/model.rb",
|
|
39
|
-
"lib/devise_invitable/rails.rb",
|
|
40
|
-
"lib/devise_invitable/routes.rb",
|
|
41
|
-
"lib/devise_invitable/schema.rb",
|
|
42
|
-
"lib/generators/active_record/devise_invitable_generator.rb",
|
|
43
|
-
"lib/generators/active_record/templates/migration.rb",
|
|
44
|
-
"lib/generators/devise_invitable/devise_invitable_generator.rb",
|
|
45
|
-
"lib/generators/devise_invitable/install_generator.rb",
|
|
46
|
-
"lib/generators/devise_invitable/views_generator.rb",
|
|
47
|
-
"test/generators_test.rb",
|
|
48
|
-
"test/integration/invitable_test.rb",
|
|
49
|
-
"test/integration_tests_helper.rb",
|
|
50
|
-
"test/mailers/invitation_test.rb",
|
|
51
|
-
"test/model_tests_helper.rb",
|
|
52
|
-
"test/models/invitable_test.rb",
|
|
53
|
-
"test/models_test.rb",
|
|
54
|
-
"test/rails_app/app/controllers/admins_controller.rb",
|
|
55
|
-
"test/rails_app/app/controllers/application_controller.rb",
|
|
56
|
-
"test/rails_app/app/controllers/home_controller.rb",
|
|
57
|
-
"test/rails_app/app/controllers/users_controller.rb",
|
|
58
|
-
"test/rails_app/app/helpers/application_helper.rb",
|
|
59
|
-
"test/rails_app/app/models/octopussy.rb",
|
|
60
|
-
"test/rails_app/app/models/user.rb",
|
|
61
|
-
"test/rails_app/app/views/home/index.html.erb",
|
|
62
|
-
"test/rails_app/app/views/layouts/application.html.erb",
|
|
63
|
-
"test/rails_app/app/views/users/invitations/new.html.erb",
|
|
64
|
-
"test/rails_app/config.ru",
|
|
65
|
-
"test/rails_app/config/application.rb",
|
|
66
|
-
"test/rails_app/config/boot.rb",
|
|
67
|
-
"test/rails_app/config/database.yml",
|
|
68
|
-
"test/rails_app/config/environment.rb",
|
|
69
|
-
"test/rails_app/config/environments/development.rb",
|
|
70
|
-
"test/rails_app/config/environments/production.rb",
|
|
71
|
-
"test/rails_app/config/environments/test.rb",
|
|
72
|
-
"test/rails_app/config/initializers/backtrace_silencers.rb",
|
|
73
|
-
"test/rails_app/config/initializers/devise.rb",
|
|
74
|
-
"test/rails_app/config/initializers/inflections.rb",
|
|
75
|
-
"test/rails_app/config/initializers/mime_types.rb",
|
|
76
|
-
"test/rails_app/config/initializers/secret_token.rb",
|
|
77
|
-
"test/rails_app/config/initializers/session_store.rb",
|
|
78
|
-
"test/rails_app/config/locales/en.yml",
|
|
79
|
-
"test/rails_app/config/routes.rb",
|
|
80
|
-
"test/rails_app/script/rails",
|
|
81
|
-
"test/routes_test.rb",
|
|
82
|
-
"test/test_helper.rb"
|
|
83
|
-
]
|
|
84
|
-
s.homepage = %q{http://github.com/scambra/devise_invitable}
|
|
85
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
86
|
-
s.require_paths = ["lib"]
|
|
87
|
-
s.rubygems_version = %q{1.3.7}
|
|
88
|
-
s.summary = %q{An invitation strategy for devise}
|
|
89
|
-
s.test_files = [
|
|
90
|
-
"test/generators_test.rb",
|
|
91
|
-
"test/test_helper.rb",
|
|
92
|
-
"test/integration/invitable_test.rb",
|
|
93
|
-
"test/routes_test.rb",
|
|
94
|
-
"test/rails_app/app/helpers/application_helper.rb",
|
|
95
|
-
"test/rails_app/app/models/octopussy.rb",
|
|
96
|
-
"test/rails_app/app/models/user.rb",
|
|
97
|
-
"test/rails_app/app/controllers/admins_controller.rb",
|
|
98
|
-
"test/rails_app/app/controllers/application_controller.rb",
|
|
99
|
-
"test/rails_app/app/controllers/home_controller.rb",
|
|
100
|
-
"test/rails_app/app/controllers/users_controller.rb",
|
|
101
|
-
"test/rails_app/config/initializers/devise.rb",
|
|
102
|
-
"test/rails_app/config/initializers/inflections.rb",
|
|
103
|
-
"test/rails_app/config/initializers/mime_types.rb",
|
|
104
|
-
"test/rails_app/config/initializers/secret_token.rb",
|
|
105
|
-
"test/rails_app/config/initializers/session_store.rb",
|
|
106
|
-
"test/rails_app/config/initializers/backtrace_silencers.rb",
|
|
107
|
-
"test/rails_app/config/environment.rb",
|
|
108
|
-
"test/rails_app/config/environments/production.rb",
|
|
109
|
-
"test/rails_app/config/environments/test.rb",
|
|
110
|
-
"test/rails_app/config/environments/development.rb",
|
|
111
|
-
"test/rails_app/config/routes.rb",
|
|
112
|
-
"test/rails_app/config/application.rb",
|
|
113
|
-
"test/rails_app/config/boot.rb",
|
|
114
|
-
"test/integration_tests_helper.rb",
|
|
115
|
-
"test/model_tests_helper.rb",
|
|
116
|
-
"test/models_test.rb",
|
|
117
|
-
"test/mailers/invitation_test.rb",
|
|
118
|
-
"test/models/invitable_test.rb"
|
|
119
|
-
]
|
|
120
|
-
|
|
121
|
-
if s.respond_to? :specification_version then
|
|
122
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
123
|
-
s.specification_version = 3
|
|
124
|
-
|
|
125
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
126
|
-
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
|
127
|
-
s.add_development_dependency(%q<capybara>, [">= 0.3.9"])
|
|
128
|
-
s.add_development_dependency(%q<rails>, ["~> 3.0.0"])
|
|
129
|
-
s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
|
|
130
|
-
s.add_runtime_dependency(%q<devise>, ["~> 1.1.0"])
|
|
131
|
-
else
|
|
132
|
-
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
|
133
|
-
s.add_dependency(%q<capybara>, [">= 0.3.9"])
|
|
134
|
-
s.add_dependency(%q<rails>, ["~> 3.0.0"])
|
|
135
|
-
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
|
136
|
-
s.add_dependency(%q<devise>, ["~> 1.1.0"])
|
|
137
|
-
end
|
|
138
|
-
else
|
|
139
|
-
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
|
140
|
-
s.add_dependency(%q<capybara>, [">= 0.3.9"])
|
|
141
|
-
s.add_dependency(%q<rails>, ["~> 3.0.0"])
|
|
142
|
-
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
|
143
|
-
s.add_dependency(%q<devise>, ["~> 1.1.0"])
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
|