tenon 1.0.66 → 1.0.67

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c47ddfef8b5f95e621152747059627227194e6f
4
- data.tar.gz: 630d65af384604dc27d82c2f3278a95c32718e98
3
+ metadata.gz: e83c7e86103a80528486fef7dc264e16e465048f
4
+ data.tar.gz: 637ffc3abfd7f5bda03ebc603d84aeb925fe8718
5
5
  SHA512:
6
- metadata.gz: 3b948e2e9457a41add44da0dc23e41f8c177d176af11697de77de8718a4984eea17195a01f163b43718b721df5bf75c6218aa3effa0842d12aff2de41520e36a
7
- data.tar.gz: 49ee9f9d28640cf25557e7f2abcde8e303fc983be161808f7d816aef67300640d58a58c9768a4d95a79a507e880590521cdda09dbc72901001b8f7080affd92a
6
+ metadata.gz: 540fa189161e7248d7cd6648ea5d043a943f5d3fc513ba19dd9f783fa9b0ea09ec252427dc7917a7614688981e93d898a3b8b40912d8807cdf191cc0c0ed4b8f
7
+ data.tar.gz: 05043c0ca2eea462525c122ddde922873b8cd5bf96ee78eebd6730bfce6b97c26816de78e7e8b9fcc89ef31e4fe5a3616a35d7499704e9f1923229d393bf718a
@@ -0,0 +1,7 @@
1
+ %p
2
+ Welcome
3
+ = @resource.email
4
+
5
+ %p You can confirm your account through the link below:
6
+
7
+ %p= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @token, host: Tenon::MySettings.full_url)
@@ -0,0 +1,15 @@
1
+ %p
2
+ Hello
3
+ = @resource.email
4
+
5
+ %p
6
+ Someone has requested a link to change your password, and you can do this through the link below.
7
+
8
+ %p
9
+ = link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token, host: Tenon::MySettings.full_url)
10
+
11
+ %p
12
+ If you didn't request this, please ignore this email.
13
+
14
+ %p
15
+ Your password won't change until you access the link above and create a new one.
@@ -0,0 +1,9 @@
1
+ %p
2
+ Hello
3
+ = @resource.email
4
+
5
+ %p Your account has been locked due to an excessive amount of unsuccessful sign in attempts.
6
+
7
+ %p Click the link below to unlock your account:
8
+
9
+ %p= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @token, host: Tenon::MySettings.full_url)
@@ -0,0 +1,22 @@
1
+ = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
2
+ = f.hidden_field :reset_password_token
3
+ .row
4
+ %h4 Change your password
5
+
6
+ - unless resource.errors.empty?
7
+ .flash= resource.errors.full_messages.join('<br>').html_safe
8
+
9
+ .row.bordered
10
+ = f.label :password, class: "font"
11
+ = f.password_field :password, placeholder: '°°°°°°°°'
12
+
13
+ .row.bordered
14
+ = f.label :password_confirmation, class: "font"
15
+ = f.password_field :password_confirmation, placeholder: '°°°°°°°°'
16
+
17
+ .row.bordered
18
+ = f.submit "Change my password", class: 'btn btn-info'
19
+
20
+ .row.bordered
21
+ %p{:style => "text-align: right; margin-top: 10px; font-size: 12px;"}
22
+ = link_to "Sign In", new_user_session_path
@@ -6,10 +6,11 @@
6
6
  .flash= resource.errors.full_messages.join('<br>').html_safe
7
7
  .row.bordered
8
8
  = f.label :email, :class => "font"
9
- = f.text_field :email, placeholder: 'user@example.com'
9
+ = f.text_field :email, placeholder: 'user@example.com', :autofocus => true
10
10
 
11
11
  .row.bordered
12
12
  = f.submit "Send reset instructions", class: 'btn btn-info'
13
+
13
14
  .row.bordered
14
15
  %p{:style => "text-align: right; margin-top: 10px; font-size: 12px;"}
15
16
  = link_to "Sign In", new_user_session_path
@@ -10,7 +10,7 @@ Devise.setup do |config|
10
10
  # Configure the e-mail address which will be shown in Devise::Mailer,
11
11
  # note that it will be overwritten if you use your own mailer class
12
12
  # with default "from" parameter.
13
- config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
13
+ config.mailer_sender = 'noreply@factore.ca'
14
14
 
15
15
  # Configure the class responsible to send e-mails.
16
16
  # config.mailer = 'Devise::Mailer'
data/lib/tenon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tenon
2
- VERSION = '1.0.66'
2
+ VERSION = '1.0.67'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.66
4
+ version: 1.0.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - factor[e] design initiative
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-10 00:00:00.000000000 Z
11
+ date: 2015-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_errors
@@ -1151,13 +1151,9 @@ files:
1151
1151
  - app/services/tenon/redirector.rb
1152
1152
  - app/views/devise/confirmations/new.html.erb
1153
1153
  - app/views/devise/confirmations/new.html.haml
1154
- - app/views/devise/mailer/confirmation_instructions.html.erb
1155
1154
  - app/views/devise/mailer/confirmation_instructions.html.haml
1156
- - app/views/devise/mailer/reset_password_instructions.html.erb
1157
1155
  - app/views/devise/mailer/reset_password_instructions.html.haml
1158
- - app/views/devise/mailer/unlock_instructions.html.erb
1159
1156
  - app/views/devise/mailer/unlock_instructions.html.haml
1160
- - app/views/devise/passwords/edit.html.erb
1161
1157
  - app/views/devise/passwords/edit.html.haml
1162
1158
  - app/views/devise/passwords/new.html.haml
1163
1159
  - app/views/devise/registrations/edit.html.haml
@@ -1,5 +0,0 @@
1
- <p>Welcome <%= @resource.email %>!</p>
2
-
3
- <p>You can confirm your account through the link below:</p>
4
-
5
- <p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p>
@@ -1,8 +0,0 @@
1
- <p>Hello <%= @resource.email %>!</p>
2
-
3
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
4
-
5
- <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
6
-
7
- <p>If you didn't request this, please ignore this email.</p>
8
- <p>Your password won't change until you access the link above and create a new one.</p>
@@ -1,7 +0,0 @@
1
- <p>Hello <%= @resource.email %>!</p>
2
-
3
- <p>Your account has been locked due to an excessive amount of unsuccessful sign in attempts.</p>
4
-
5
- <p>Click the link below to unlock your account:</p>
6
-
7
- <p><%= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token) %></p>
@@ -1,16 +0,0 @@
1
- <h2>Change your password</h2>
2
-
3
- <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
4
- <%= devise_error_messages! %>
5
- <%= f.hidden_field :reset_password_token %>
6
-
7
- <p><%= f.label :password %><br />
8
- <%= f.password_field :password %></p>
9
-
10
- <p><%= f.label :password_confirmation %><br />
11
- <%= f.password_field :password_confirmation %></p>
12
-
13
- <p><%= f.submit "Change my password" %></p>
14
- <% end %>
15
-
16
- <%= render :partial => "devise/shared/links" %>