monban-generators 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.rdoc +4 -0
- data/lib/generators/monban/scaffold/scaffold_generator.rb +2 -1
- data/lib/generators/monban/templates/app/models/user.rb +4 -0
- data/lib/generators/monban/templates/db/migrate/create_users.rb +12 -0
- data/lib/monban/generators/version.rb +1 -1
- data/monban-generators.gemspec +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76f3a847d710162221fb370c35fdb36056c65336
|
4
|
+
data.tar.gz: ce7da41c6bc9f7fd4fa8f38c0ec5d813cd12821c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7ee20be4d27122bbda45a8019bd4627a885c24134dceea03029fe99edba0842a1bd05c200a2820f533e1809fd452df5b8222ca7795b39fbe283c8fa94d964b
|
7
|
+
data.tar.gz: eeb9b287b5da826a19a9b2acc6e7cc888816fbe665246f20f95b04418f71ec165d94b00561f65e8ef1b9aea8a5a14115a3ba66f05c166acf4eb8171c5173127c
|
data/NEWS.rdoc
ADDED
@@ -30,7 +30,8 @@ module Monban
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def add_model
|
33
|
-
|
33
|
+
template 'app/models/user.rb', 'app/models/user.rb'
|
34
|
+
migration_template "db/migrate/create_users.rb", "db/migrate/create_users.rb"
|
34
35
|
end
|
35
36
|
|
36
37
|
def display_readme
|
data/monban-generators.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monban-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- halogenandtoast
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: monban
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.0.12
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.0.12
|
55
55
|
description: Generators to add in different forms of user authentication to a rails
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- ".gitignore"
|
64
64
|
- Gemfile
|
65
65
|
- LICENSE.txt
|
66
|
+
- NEWS.rdoc
|
66
67
|
- README.md
|
67
68
|
- Rakefile
|
68
69
|
- lib/generators/monban/password_reset/password_reset_generator.rb
|
@@ -72,6 +73,7 @@ files:
|
|
72
73
|
- lib/generators/monban/templates/app/controllers/users_controller.rb
|
73
74
|
- lib/generators/monban/templates/app/mailers/password_reset_mailer.rb
|
74
75
|
- lib/generators/monban/templates/app/models/password_reset.rb
|
76
|
+
- lib/generators/monban/templates/app/models/user.rb
|
75
77
|
- lib/generators/monban/templates/app/views/password_reset_mailer/change_password.html.erb
|
76
78
|
- lib/generators/monban/templates/app/views/password_resets/create.html.erb
|
77
79
|
- lib/generators/monban/templates/app/views/password_resets/edit.html.erb
|
@@ -79,6 +81,7 @@ files:
|
|
79
81
|
- lib/generators/monban/templates/app/views/sessions/new.html.erb
|
80
82
|
- lib/generators/monban/templates/app/views/users/new.html.erb
|
81
83
|
- lib/generators/monban/templates/db/migrate/create_password_resets.rb
|
84
|
+
- lib/generators/monban/templates/db/migrate/create_users.rb
|
82
85
|
- lib/generators/monban/templates/password_reset_readme
|
83
86
|
- lib/generators/monban/templates/scaffold_readme
|
84
87
|
- lib/monban/generators.rb
|
@@ -104,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
107
|
version: '0'
|
105
108
|
requirements: []
|
106
109
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.3.0
|
108
111
|
signing_key:
|
109
112
|
specification_version: 4
|
110
113
|
summary: Rails generators for the monban authentication library
|