dangerzone 0.0.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -11
- data/lib/dangerzone/dangerzone_generator.rb +73 -59
- data/lib/dangerzone/templates/controllers/application_controller.rb +5 -6
- data/lib/dangerzone/templates/controllers/create_accounts_controller.rb +11 -15
- data/lib/dangerzone/templates/controllers/reset_passwords_controller.rb +12 -16
- data/lib/dangerzone/templates/controllers/sessions_controller.rb +19 -16
- data/lib/dangerzone/templates/migration.rb +2 -4
- data/lib/dangerzone/templates/models/user.rb +38 -12
- data/lib/dangerzone/templates/routes.rb +1 -1
- data/lib/dangerzone/templates/spec/controllers/create_accounts_controller_spec.rb +179 -0
- data/lib/dangerzone/templates/spec/controllers/reset_passwords_controller_spec.rb +131 -0
- data/lib/dangerzone/templates/spec/controllers/sessions_controller_spec.rb +135 -0
- data/lib/dangerzone/templates/spec/factories/users_factory.rb +15 -0
- data/lib/dangerzone/templates/spec/models/user_spec.rb +172 -0
- data/lib/dangerzone/templates/spec/spec_helper.rb +36 -0
- data/lib/dangerzone/templates/views/create_accounts/check_your_email.html.erb +1 -1
- data/lib/dangerzone/templates/views/create_accounts/new.html.erb +1 -1
- data/lib/dangerzone/templates/views/layouts/_dangerzone_nav.html.erb +10 -0
- data/lib/dangerzone/templates/views/layouts/application.html.erb +18 -0
- data/lib/dangerzone/templates/views/reset_passwords/new.html.erb +1 -1
- data/lib/dangerzone/templates/views/reset_passwords/reset_password_form.html.erb +2 -1
- data/lib/dangerzone/templates/views/sessions/new.html.erb +2 -2
- metadata +41 -22
- data/dangerzone.gemspec +0 -18
- data/lib/.DS_Store +0 -0
- data/lib/dangerzone/.DS_Store +0 -0
- data/lib/dangerzone/templates/.DS_Store +0 -0
- data/lib/dangerzone/templates/views/.DS_Store +0 -0
- data/lib/dangerzone/templates/views/nav.html.erb +0 -10
data/dangerzone.gemspec
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = "dangerzone"
|
3
|
-
s.version = '0.0.0'
|
4
|
-
s.date = '2013-03-30'
|
5
|
-
s.license = "MIT"
|
6
|
-
s.summary = "Takes care of creating accounts, login, logout, forgot password, etc. in Rails"
|
7
|
-
s.email = "michael.crismali@gmail.com"
|
8
|
-
s.homepage = "https://github.com/michaelcrismali/dangerzone"
|
9
|
-
s.authors = ['Michael Crismali']
|
10
|
-
s.description = "Generates a sign-in, sign-out, create account, forgot password, account confirmation systems for Rails apps. It's Devise for beginners."
|
11
|
-
|
12
|
-
s.files = `git ls-files`.split("\n")
|
13
|
-
s.require_paths = ["lib"]
|
14
|
-
|
15
|
-
s.add_dependency("bcrypt-ruby", "~> 3.0")
|
16
|
-
s.add_dependency("rails", "~> 3.2")
|
17
|
-
s.add_dependency("thor")
|
18
|
-
end
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/dangerzone/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|