action_auth 0.2.10 → 0.2.12

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: 66dba288eaf6e2910d810a8109c454756234feadc58f817347e61112383c5bd8
4
- data.tar.gz: c90e89c2ea39cac613776d91a3d0b827b393e7e7632c71d2380705949b591606
3
+ metadata.gz: dc2b5c1ea2fa4db1e7077c5db0bdef79bef6e4a1dc6a7a29db69bd7f581216f6
4
+ data.tar.gz: c03de322676673b031883777bec65024d8de0a77c163eefae643f37de4715049
5
5
  SHA512:
6
- metadata.gz: ea654d512bb836d4a4f148fc8a4ac21770b9654bd4f465fde624d654d1fe53e6c776f0046b0a24f5e407a849b1ed07adadd3be6a4d94a3f95092067a1b63dd66
7
- data.tar.gz: 4f56bf4c79c9adc8229d474c2b55ad3848e72f68c765ce0806e441415d0961838101a96b5732dc55f7d0fdd5b921e62e64813ded0b58990cb8c81e8e3cb6d5b5
6
+ metadata.gz: 4fbb81e376fee165f7b5384b9d930db04b50c94ad5b9a82273059e20b2431ef8908dfe9f3e6a70dee66acdb2042915ddbee5eea8ed56c6c20d3ed66ddabed45d
7
+ data.tar.gz: fcf9fdec98b006c5e693e90fdd63c13ce5546e9268300ec9da95d4a4989d3199206d8b04f2e0cbcc8be8852ba8de8fbd93290ef1cdd79fcd41da4b23478c7424
data/README.md CHANGED
@@ -65,6 +65,7 @@ ActionAuth.configure do |config|
65
65
  config.webauthn_origin = "http://localhost:3000" # or "https://example.com"
66
66
  config.webauthn_rp_name = Rails.application.class.to_s.deconstantize
67
67
  config.verify_email_on_sign_in = true
68
+ config.default_from_email = "from@example.com"
68
69
  end
69
70
  ```
70
71
 
@@ -200,6 +201,7 @@ ActionAuth.configure do |config|
200
201
  config.webauthn_origin = "http://localhost:3000" # or "https://example.com"
201
202
  config.webauthn_rp_name = Rails.application.class.to_s.deconstantize
202
203
  config.verify_email_on_sign_in = true
204
+ config.default_from_email = "from@example.com"
203
205
  end
204
206
  ```
205
207
 
@@ -29,6 +29,13 @@ body {
29
29
  background-color: rgb(255, 255, 255) !important;
30
30
  }
31
31
 
32
+ @media screen and (max-width: 768px) {
33
+ .container {
34
+ width: calc(100% - 10px);
35
+ margin-left: 5px;
36
+ margin-right: 5px;
37
+ }
38
+ }
32
39
  .container-fluid {
33
40
  -webkit-text-size-adjust: 100%;
34
41
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@@ -1,6 +1,6 @@
1
1
  module ActionAuth
2
2
  class ApplicationMailer < ActionMailer::Base
3
- default from: "from@example.com"
3
+ default from: ActionAuth.configuration.default_from_email
4
4
  layout "mailer"
5
5
  end
6
6
  end
@@ -5,12 +5,14 @@ module ActionAuth
5
5
  attr_accessor :webauthn_origin
6
6
  attr_accessor :webauthn_rp_name
7
7
  attr_accessor :verify_email_on_sign_in
8
+ attr_accessor :default_from_email
8
9
 
9
10
  def initialize
10
11
  @webauthn_enabled = defined?(WebAuthn)
11
12
  @webauthn_origin = "http://localhost:3000"
12
13
  @webauthn_rp_name = Rails.application.class.to_s.deconstantize
13
14
  @verify_email_on_sign_in = true
15
+ @default_from_email = "from@example.com"
14
16
  end
15
17
 
16
18
  def webauthn_enabled?
@@ -1,3 +1,3 @@
1
1
  module ActionAuth
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Kimura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.5.4
123
+ rubygems_version: 3.5.5
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: A simple Rails engine for authorization.