lockdown 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/Manifest.txt +0 -1
- data/lib/lockdown/version.rb +1 -1
- data/rails_generators/lockdown/lockdown_generator.rb +0 -3
- data/rails_generators/lockdown/templates/app/views/users/_data.html.erb +9 -8
- data/rails_generators/lockdown/templates/app/views/users/_form.html.erb +0 -6
- data/website/generator.html +24 -3
- data/website/generator.txt +15 -1
- data/website/index.html +9 -18
- data/website/index.txt +7 -15
- metadata +2 -3
- data/rails_generators/lockdown/templates/app/views/users/_password.html.erb +0 -5
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -45,7 +45,6 @@ rails_generators/lockdown/templates/app/views/user_groups/new.html.erb
|
|
45
45
|
rails_generators/lockdown/templates/app/views/user_groups/show.html.erb
|
46
46
|
rails_generators/lockdown/templates/app/views/users/_data.html.erb
|
47
47
|
rails_generators/lockdown/templates/app/views/users/_form.html.erb
|
48
|
-
rails_generators/lockdown/templates/app/views/users/_password.html.erb
|
49
48
|
rails_generators/lockdown/templates/app/views/users/edit.html.erb
|
50
49
|
rails_generators/lockdown/templates/app/views/users/index.html.erb
|
51
50
|
rails_generators/lockdown/templates/app/views/users/new.html.erb
|
data/lib/lockdown/version.rb
CHANGED
@@ -45,14 +45,15 @@ li.odd_checked{
|
|
45
45
|
<%= user_login_value %>
|
46
46
|
</p>
|
47
47
|
|
48
|
-
<% unless
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
48
|
+
<% unless action_name == "show" -%>
|
49
|
+
<p>
|
50
|
+
<b><span>P</span>assword</b><br />
|
51
|
+
<%= user_password_value %>
|
52
|
+
</p>
|
53
|
+
<p>
|
54
|
+
<b><span>P</span>assword confirmation</b><br />
|
55
|
+
<%= user_password_confirmation_value %>
|
56
|
+
</p>
|
56
57
|
<% end -%>
|
57
58
|
|
58
59
|
<p>
|
@@ -3,12 +3,6 @@
|
|
3
3
|
submit_label = "Create" if @user.new_record?
|
4
4
|
-%>
|
5
5
|
|
6
|
-
<script type="text/javascript">
|
7
|
-
function change_password()
|
8
|
-
{
|
9
|
-
new Ajax.Request("/users/change_password", {asynchronous: true, postBody: 'authenticity_token=<%= form_authenticity_token %>'});
|
10
|
-
}
|
11
|
-
</script>
|
12
6
|
<%= error_messages_for :profile %>
|
13
7
|
<%= error_messages_for :user %>
|
14
8
|
|
data/website/generator.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Lockdown</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/lockdown"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.
|
36
|
+
<a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.7</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -221,12 +221,33 @@ $ ./script/server
|
|
221
221
|
<p>For simplicity sake, I would like the documentation for init.rb contained within that file.</p>
|
222
222
|
|
223
223
|
|
224
|
+
<h2>Github</h2>
|
225
|
+
|
226
|
+
|
227
|
+
<p>The Clone <span class="caps">URL</span>: git://github.com/stonean/lockdown.git</p>
|
228
|
+
|
229
|
+
|
230
|
+
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a>.</p>
|
231
|
+
|
232
|
+
|
233
|
+
<p>I’m new to git and this whole opensource project admin gig, so please be patient with my stumbling around.</p>
|
234
|
+
|
235
|
+
|
224
236
|
<h2>Contact</h2>
|
225
237
|
|
226
238
|
|
227
|
-
<p>
|
239
|
+
<p>Please use the <a href="http://stonean.com/projects/lockdown/boards">forum</a> to ask questions and the <a href="http://stonean.com/projects/lockdown/issues">issue tracker</a> to report problems or submit a pull request.</p>
|
240
|
+
|
241
|
+
|
242
|
+
<h2>License</h2>
|
243
|
+
|
244
|
+
|
245
|
+
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
|
246
|
+
|
247
|
+
|
248
|
+
<p>Copyright© 2008 Andrew Stone</p>
|
228
249
|
<p class="coda">
|
229
|
-
|
250
|
+
11th June 2008<br/>
|
230
251
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
231
252
|
</p>
|
232
253
|
</div>
|
data/website/generator.txt
CHANGED
@@ -168,7 +168,21 @@ I guess that wasn't sufficient? If you don't understand how to use init.rb, plea
|
|
168
168
|
|
169
169
|
For simplicity sake, I would like the documentation for init.rb contained within that file.
|
170
170
|
|
171
|
+
h2. Github
|
172
|
+
|
173
|
+
The Clone URL: git://github.com/stonean/lockdown.git
|
174
|
+
|
175
|
+
Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/.
|
176
|
+
|
177
|
+
I'm new to git and this whole opensource project admin gig, so please be patient with my stumbling around.
|
178
|
+
|
171
179
|
h2. Contact
|
172
180
|
|
173
|
-
|
181
|
+
Please use the "forum":http://stonean.com/projects/lockdown/boards to ask questions and the "issue tracker":http://stonean.com/projects/lockdown/issues to report problems or submit a pull request.
|
182
|
+
|
183
|
+
h2. License
|
184
|
+
|
185
|
+
This code is free to use under the terms of the MIT license.
|
186
|
+
|
187
|
+
Copyright (c) 2008 Andrew Stone
|
174
188
|
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Lockdown</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/lockdown"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.
|
36
|
+
<a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.7</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -289,42 +289,33 @@ When referring to access rights: if you have a standard <span class="caps">REST<
|
|
289
289
|
<li><strong>1.0.0: </strong>Model level security</li>
|
290
290
|
</ul>
|
291
291
|
|
292
|
-
<h2>
|
293
|
-
|
294
|
-
|
295
|
-
<p>If you are having a problem understanding how to use Lockdown, please post your question on the lockdown group. If it’s documentation related, I will keep this page updated to help everyone.</p>
|
296
|
-
|
297
|
-
|
298
|
-
<p><a href="http://groups.google.com/group/stonean_lockdown?hl=en">http://groups.google.com/group/stonean_lockdown?hl=en</a></p>
|
299
|
-
|
300
|
-
|
301
|
-
<h2>How to submit patches</h2>
|
292
|
+
<h2>Github</h2>
|
302
293
|
|
303
294
|
|
304
295
|
<p>The Clone <span class="caps">URL</span>: git://github.com/stonean/lockdown.git</p>
|
305
296
|
|
306
297
|
|
307
|
-
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a
|
298
|
+
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a>.</p>
|
308
299
|
|
309
300
|
|
310
301
|
<p>I’m new to git and this whole opensource project admin gig, so please be patient with my stumbling around.</p>
|
311
302
|
|
312
303
|
|
313
|
-
<h2>
|
304
|
+
<h2>Contact</h2>
|
314
305
|
|
315
306
|
|
316
|
-
<p>
|
307
|
+
<p>Please use the <a href="http://stonean.com/projects/lockdown/boards">forum</a> to ask questions and the <a href="http://stonean.com/projects/lockdown/issues">issue tracker</a> to report problems or submit a pull request.</p>
|
317
308
|
|
318
309
|
|
319
|
-
<h2>
|
310
|
+
<h2>License</h2>
|
320
311
|
|
321
312
|
|
322
|
-
<p>
|
313
|
+
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
|
323
314
|
|
324
315
|
|
325
|
-
<p
|
316
|
+
<p>Copyright© 2008 Andrew Stone</p>
|
326
317
|
<p class="coda">
|
327
|
-
|
318
|
+
11th June 2008<br/>
|
328
319
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
329
320
|
</p>
|
330
321
|
</div>
|
data/website/index.txt
CHANGED
@@ -238,29 +238,21 @@ h2. Roadmap to 1.0
|
|
238
238
|
<li><strong>1.0.0: </strong>Model level security</li>
|
239
239
|
</ul>
|
240
240
|
|
241
|
-
h2.
|
242
|
-
|
243
|
-
If you are having a problem understanding how to use Lockdown, please post your question on the lockdown group. If it's documentation related, I will keep this page updated to help everyone.
|
244
|
-
|
245
|
-
"http://groups.google.com/group/stonean_lockdown?hl=en":http://groups.google.com/group/stonean_lockdown?hl=en
|
246
|
-
|
247
|
-
|
248
|
-
h2. How to submit patches
|
241
|
+
h2. Github
|
249
242
|
|
250
243
|
The Clone URL: git://github.com/stonean/lockdown.git
|
251
244
|
|
252
|
-
Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code
|
245
|
+
Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/.
|
253
246
|
|
254
247
|
I'm new to git and this whole opensource project admin gig, so please be patient with my stumbling around.
|
255
248
|
|
256
|
-
h2.
|
257
|
-
|
258
|
-
This code is free to use under the terms of the MIT license.
|
249
|
+
h2. Contact
|
259
250
|
|
251
|
+
Please use the "forum":http://stonean.com/projects/lockdown/boards to ask questions and the "issue tracker":http://stonean.com/projects/lockdown/issues to report problems or submit a pull request.
|
260
252
|
|
261
|
-
h2.
|
253
|
+
h2. License
|
262
254
|
|
263
|
-
|
255
|
+
This code is free to use under the terms of the MIT license.
|
264
256
|
|
265
|
-
|
257
|
+
Copyright (c) 2008 Andrew Stone
|
266
258
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Stone
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-06-
|
12
|
+
date: 2008-06-13 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -84,7 +84,6 @@ files:
|
|
84
84
|
- rails_generators/lockdown/templates/app/views/user_groups/show.html.erb
|
85
85
|
- rails_generators/lockdown/templates/app/views/users/_data.html.erb
|
86
86
|
- rails_generators/lockdown/templates/app/views/users/_form.html.erb
|
87
|
-
- rails_generators/lockdown/templates/app/views/users/_password.html.erb
|
88
87
|
- rails_generators/lockdown/templates/app/views/users/edit.html.erb
|
89
88
|
- rails_generators/lockdown/templates/app/views/users/index.html.erb
|
90
89
|
- rails_generators/lockdown/templates/app/views/users/new.html.erb
|