rails_simple_auth 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: a168e835a568c68794da8d69b24fe33d8a99ece8e14277e3676668ae62d0d284
4
- data.tar.gz: e8d4947a07f36d2f9f9a45ed0d8b98966adb8e1d4084657da00ee7050393c56b
3
+ metadata.gz: c725500a464716b536ca185da3cb3c5cd4fafc0f4953336e67b1cbaa51fad2ee
4
+ data.tar.gz: aba285ded6dfdbfd51385f0d82ae5c61e1862d957c57a1ee38a481d15f4b57f9
5
5
  SHA512:
6
- metadata.gz: bc07416640d3ae37febfce98d74ab212b35469ff29145441cb1ed0c260e7ac4e0eafa3d2edbc870fb46d30c847d9669ce5be6b4135ba677bb4fafe5855c44b31
7
- data.tar.gz: 0d5ce6bddec0962b6f4d065cc72b9b88772c25326bbfcefc0dc28b3b61739419ea12ed0538ab59be8b18da233054fc2a8d87625959f77e571a54d7dd27834e59
6
+ metadata.gz: ee180cbc6a661d5dc4e7bc8ff77f33fad7907a4e0ae7dd94382e110e3855306e8eedadfef4d0013fa2296c9011c3a4b43abdb9072eb62de8d364ffa0c2e9824b
7
+ data.tar.gz: 2c87bee543511aa70ce9cf0186dafe97d7baa5d1afc56bbc5cebba8be9da197d85e51b61a3cd9e1dee588f11b10693d9029dfb53d989df86c6bb3bd3a27ae910
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.8] - 2026-01-19
11
+
12
+ ### Fixed
13
+
14
+ - **OAuth buttons use button_to instead of link_to** - `link_to` with `method: :post` doesn't work in Rails 8 without rails-ujs. Changed OAuth buttons in sessions and registrations views to use `button_to` which properly creates POST forms.
15
+
10
16
  ## [1.0.7] - 2026-01-19
11
17
 
12
18
  ### Fixed
@@ -36,9 +36,8 @@
36
36
  <div class="rsa-auth-form__oauth">
37
37
  <div class="rsa-auth-form__oauth-buttons">
38
38
  <% RailsSimpleAuth.configuration.oauth_providers.each do |provider| %>
39
- <%= link_to "/auth/#{provider}",
39
+ <%= button_to "/auth/#{provider}",
40
40
  class: "rsa-auth-form__oauth-button rsa-auth-form__oauth-button--#{provider}",
41
- method: :post,
42
41
  data: { turbo: false } do %>
43
42
  <span class="rsa-auth-form__oauth-icon rsa-auth-form__oauth-icon--<%= provider %>"></span>
44
43
  Continue with <%= provider.to_s.titleize %>
@@ -39,9 +39,8 @@
39
39
  <div class="rsa-auth-form__oauth">
40
40
  <div class="rsa-auth-form__oauth-buttons">
41
41
  <% RailsSimpleAuth.configuration.oauth_providers.each do |provider| %>
42
- <%= link_to "/auth/#{provider}",
42
+ <%= button_to "/auth/#{provider}",
43
43
  class: "rsa-auth-form__oauth-button rsa-auth-form__oauth-button--#{provider}",
44
- method: :post,
45
44
  data: { turbo: false } do %>
46
45
  <span class="rsa-auth-form__oauth-icon rsa-auth-form__oauth-icon--<%= provider %>"></span>
47
46
  Continue with <%= provider.to_s.titleize %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsSimpleAuth
4
- VERSION = '1.0.7'
4
+ VERSION = '1.0.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuznetsov