devise-authy 1.9.0 → 1.10.0

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
  SHA256:
3
- metadata.gz: a7b900c9c0f1ae4ac68e680d75876c3d4344a11a4f7a36c920f8e8db34e0c2c3
4
- data.tar.gz: e15c3a8915fc5569e2d9bd1daeef1f915d57f169e06bc6ccc2c9a5c4ed726f92
3
+ metadata.gz: c2944ca880949d1d99ba1116f87399c9be0043cc210d29c4d5c500b08b74a3ba
4
+ data.tar.gz: 400fe93a97c18c62904d7f3b2795193bdfe724b4022c677bf20a507f12881cab
5
5
  SHA512:
6
- metadata.gz: 92bba7cc98963c1262f74a5f6b6dfe7bc10eb693aee5a933f8b5c923c6cd7eca0de25e9f295fdafcf302e9dbbb76ef12f5859c60c41485cd0f2e9a2d1298eb57
7
- data.tar.gz: 83fdf26215642c81fe6894788498c7531af62b0fb67c0a76cd856401c1fb9d18dbd363ba505fd16fbf8883392d4b3643c76373e8ae062f835b120f34b4fd5145
6
+ metadata.gz: 394a6c85daf4d32bd9a7f8be985cdb81dbc6aad4578b317bfbf2cd0514226bbef466fe0f3831b85034d7de6d99d7be2f4c461243705bb1936491e9454d595360
7
+ data.tar.gz: a5defe4716260f048cf8080bd40fa47d4fb13da62ed42a75461b62c46c0b4b7eba25d6d8896064666e8252364d6da159b4375111019174591dc1f2b046f370ed
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
 
10
10
  ...
11
11
 
12
+ ## [1.10.0] - 2018-09-26
13
+
14
+ ### Changed
15
+ - Moves OneTouch approval request copy to locale file.
16
+
17
+ ### Removed
18
+ - Demo app now lives in its own repo
19
+
12
20
  ## [1.9.0] - 2018-09-04
13
21
 
14
22
  ### Fixed
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
- # Authy Devise [![Build Status](https://travis-ci.org/authy/authy-devise.svg?branch=master)](https://travis-ci.org/authy/authy-devise)
1
+ # Authy Devise [![Build Status](https://travis-ci.org/twilio/authy-devise.svg?branch=master)](https://travis-ci.org/twilio/authy-devise)
2
2
 
3
3
  This is a [Devise](https://github.com/plataformatec/devise) extension to add Two-Factor Authentication with Authy to your rails application.
4
4
 
5
-
6
5
  ## Pre-requisites
7
6
 
8
7
  To use the Authy API you will need a Twilio Account, [sign up for a free account here](https://www.twilio.com/try-twilio).
@@ -11,7 +10,7 @@ Create an [Authy Application in the Twilio console](https://www.twilio.com/conso
11
10
 
12
11
  ## Demo
13
12
 
14
- See [https://github.com/authy/authy-devise/tree/master/authy-devise-demo](https://github.com/authy/authy-devise/tree/master/authy-devise-demo)
13
+ See [this repo for a full demo of using `authy-devise`](https://github.com/twilio/authy-devise-demo).
15
14
 
16
15
  ## Getting started
17
16
 
@@ -49,7 +48,7 @@ or add the following line to your `User` model
49
48
  devise :authy_authenticatable, :database_authenticatable
50
49
  ```
51
50
 
52
- Change the default routes to point to something sane like:
51
+ Update the default routes to point to something like:
53
52
 
54
53
  ```ruby
55
54
  devise_for :users, :path_names => {
@@ -64,12 +63,11 @@ Then run the migrations:
64
63
 
65
64
  rake db:migrate
66
65
 
67
- Now whenever a user wants to enable two-factor authentication they can go
68
- to:
66
+ Now whenever a user wants to enable two-factor authentication they can go to:
69
67
 
70
68
  http://your-app/users/enable-two-factor
71
69
 
72
- And when the user log's in he will be redirected to:
70
+ And when the user logs in they will be redirected to:
73
71
 
74
72
  http://your-app/users/verify-token
75
73
 
@@ -123,7 +121,7 @@ devise_for :users, controllers: {devise_authy: 'my_custom_module/devise_authy'}
123
121
 
124
122
  ## I18n
125
123
 
126
- The install generator also copy a `Devise Authy` i18n file which you can find at:
124
+ The install generator also copies a `Devise Authy` i18n file which you can find at:
127
125
 
128
126
  config/locales/devise.authy.en.yml
129
127
 
@@ -9,6 +9,7 @@ en:
9
9
  request_sms: 'Request SMS'
10
10
  request_phone_call: 'Request phone call'
11
11
  remember_device: 'Remember Device'
12
+ request_to_login: 'Request to Login'
12
13
 
13
14
  authy_verify_installation_title: 'Verify your account'
14
15
  enable_my_account: 'Enable my account'
@@ -77,7 +77,7 @@ module DeviseAuthy
77
77
  end
78
78
 
79
79
  def send_one_touch_request
80
- Authy::OneTouch.send_approval_request(id: @authy_id, message: 'Request to Login')
80
+ Authy::OneTouch.send_approval_request(id: @authy_id, message: I18n.t('request_to_login', { :scope => 'devise' }))
81
81
  end
82
82
 
83
83
  def record_authy_authentication
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeviseAuthy
4
- VERSION = '1.9.0'
4
+ VERSION = '1.10.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-authy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authy Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2018-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise