devise_approvable 0.11.0 → 0.12.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbf731b5d06b09882ebd970e8db01f1249af439e
|
|
4
|
+
data.tar.gz: c92b5cdadea32682d42456bc503661084b6bce96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12b8f8210e659072827aa4289b7cd332809b6418e7db5b267accdf661e534698d663a4916f14031671b4fa2490ea9c9019efc2c9133cbdf1d7fe5c40d29f2bc1
|
|
7
|
+
data.tar.gz: 7b7f445da3a62c72da91c375bff08a95b563fb6ddd33557523487429c3096663c576a6fceb7e92077e24c1c91b6a50755151925707584ebd47a1be5a16d398bd
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.12.0
|
data/devise_approvable.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: devise_approvable 0.
|
|
5
|
+
# stub: devise_approvable 0.12.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "devise_approvable"
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.12.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"VERSION",
|
|
26
26
|
"app/controllers/devise/approvals_controller.rb",
|
|
27
27
|
"app/views/devise/approvals/new.html.erb",
|
|
28
|
-
"app/views/devise/mailer/approval_instructions.html.
|
|
28
|
+
"app/views/devise/mailer/approval_instructions.html.haml",
|
|
29
29
|
"config/initializers/devise.rb",
|
|
30
30
|
"devise_approvable.gemspec",
|
|
31
31
|
"lib/devise_approvable.rb",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_approvable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Egg
|
|
@@ -94,7 +94,7 @@ files:
|
|
|
94
94
|
- VERSION
|
|
95
95
|
- app/controllers/devise/approvals_controller.rb
|
|
96
96
|
- app/views/devise/approvals/new.html.erb
|
|
97
|
-
- app/views/devise/mailer/approval_instructions.html.
|
|
97
|
+
- app/views/devise/mailer/approval_instructions.html.haml
|
|
98
98
|
- config/initializers/devise.rb
|
|
99
99
|
- devise_approvable.gemspec
|
|
100
100
|
- lib/devise_approvable.rb
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<p>Someone has registered for a membership.</p>
|
|
2
|
-
|
|
3
|
-
<p>Details:
|
|
4
|
-
<%= "<br />First Name: #{@resource.first_name}" if !@resource.first_name.nil? %>
|
|
5
|
-
<%= "<br />Last Name: #{@resource.last_name}" if !@resource.last_name.nil? %>
|
|
6
|
-
<%= "<br />E-Mail: #{@resource.email}" if !@resource.email.nil? %>
|
|
7
|
-
<%= "<br />Phone Number: #{@resource.phone}" if !@resource.phone.nil? %>
|
|
8
|
-
<%= "<br />Bio: #{@resource.bio}" if !@resource.bio.nil? %>
|
|
9
|
-
|
|
10
|
-
<p>If you would like to approve this person click the following link. Clicking the link will approve the new user and send the user a confirmation email.</p>
|
|
11
|
-
<p><%= link_to "Approve account for #{@resource.email} #{approvals_url(@resource.approval_token)}", approvals_url(@resource.approval_token) %></p>
|