yaag 0.5.0 → 0.6.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 +4 -4
- data/app/views/sessions/new.html.erb +13 -0
- data/app/views/signins/new.html.erb +2 -2
- data/config/locales/en.yml +2 -0
- data/config/routes.rb +1 -1
- data/lib/yaag/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28fe701af24dc5111f080f6cea180e91497b58d69948ba519029a4b7d0e26fcf
|
|
4
|
+
data.tar.gz: 9dca6dc7ad08eea82157586b91257dc22cf112e693f9d847bb6a70846aabb444
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fdf622c38a7bbac5b81eeca4ac4ba33ead1bad6a7372a712d513426b031391761fbfbfa9eec9507d63f92c11361620c1084e96dcaf399f0b20606b44032f35c
|
|
7
|
+
data.tar.gz: 5304f7f0340deb4a8bdf59c50f3267823af7ac178bdeb32e0e7e2f153ac6552d93d5e2063cf4867199cc87997565af4b161eae09db638054e403d50511199713
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
<%= tag.div(flash[:alert], style: "color:red") if flash[:alert] %>
|
|
2
2
|
<%= tag.div(flash[:notice], style: "color:green") if flash[:notice] %>
|
|
3
|
+
|
|
4
|
+
<div class="container w-50 ">
|
|
5
|
+
<h2>Sign In (Continuation)</h2>
|
|
6
|
+
<%= form_with url: session_path, method: :post do |form| %>
|
|
7
|
+
<div class="field py-3">
|
|
8
|
+
<%= form.text_field :token, required: true, placeholder: t("yaag.forms.session_placeholder"), class: "form-control" %>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="actions">
|
|
11
|
+
<%= form.submit t("yaag.forms.signin_button"), class: "form-control btn btn-primary" %>
|
|
12
|
+
</div>
|
|
13
|
+
<%= link_to t("yaag.forms.return_to_signin_form"), new_signin_path %>
|
|
14
|
+
<% end %>
|
|
15
|
+
</div>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<div class="container w-50 ">
|
|
5
5
|
<h2>Sign In</h2>
|
|
6
6
|
<%= form_with url: signin_path do |form| %>
|
|
7
|
-
<div class="field
|
|
8
|
-
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: t("yaag.forms.signin_placeholder"), value: params[:email_address], class: "form-control"
|
|
7
|
+
<div class="field py-3">
|
|
8
|
+
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: t("yaag.forms.signin_placeholder"), value: params[:email_address], class: "form-control" %>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="actions mb-3">
|
|
11
11
|
<%= form.submit t("yaag.forms.signin_button"), class: "form-control btn btn-primary" %>
|
data/config/locales/en.yml
CHANGED
|
@@ -7,6 +7,8 @@ en:
|
|
|
7
7
|
forms:
|
|
8
8
|
signin_button: "Sign in"
|
|
9
9
|
signin_placeholder: "Enter your email address"
|
|
10
|
+
session_placeholder: "Enter a valid token"
|
|
11
|
+
return_to_signin_form: "Back to sign in page"
|
|
10
12
|
sessions:
|
|
11
13
|
successful: "Signed in successfully."
|
|
12
14
|
destroy: "Signed out successfully."
|
data/config/routes.rb
CHANGED
data/lib/yaag/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yaag
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nu12
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Yet Another Authentication Gem (YAAG) provides passwordless authentication
|
|
14
14
|
for your Ruby on Rails app, all it takes is the user's e-mail address.
|