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: dd357395f44fedb05c4fa91e067b94c057eceddf
4
- data.tar.gz: 05b49447a6036bd5e2a546cc422bfcce3773a72d
3
+ metadata.gz: bbf731b5d06b09882ebd970e8db01f1249af439e
4
+ data.tar.gz: c92b5cdadea32682d42456bc503661084b6bce96
5
5
  SHA512:
6
- metadata.gz: 25ecf17a04f9c7aa323228cb08ddb21f00fa70d46a58dcd14c5011181aa60d1aaa4d8e47f138f4c4907a8749414a28de2ab5f1726834df7e2d73cf5ab1d60ed8
7
- data.tar.gz: 0a9021c0fb7571bca905e76f86f58d630653d3adae67c32190c6feec3515398ad9c199d892afa5359ad395fcce3118c86c55a5e53341d49d9e1369b4fe03f9ff
6
+ metadata.gz: 12b8f8210e659072827aa4289b7cd332809b6418e7db5b267accdf661e534698d663a4916f14031671b4fa2490ea9c9019efc2c9133cbdf1d7fe5c40d29f2bc1
7
+ data.tar.gz: 7b7f445da3a62c72da91c375bff08a95b563fb6ddd33557523487429c3096663c576a6fceb7e92077e24c1c91b6a50755151925707584ebd47a1be5a16d398bd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.0
1
+ 0.12.0
@@ -0,0 +1,8 @@
1
+ %p
2
+ Someone has registered for a membership:
3
+ =@email
4
+
5
+ %p You can approve through the link below:
6
+
7
+ %p
8
+ = link_to 'Approve this account', approval_url(@resource, approval_token: @token)
@@ -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.11.0 ruby lib
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.11.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.erb",
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.11.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.erb
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>