authentication_with_registration_generator 0.3.5 → 0.3.6

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: aa18b6a3e20786433cb62220fe16303d192eea89ee208b2dc0dc34924e94c727
4
- data.tar.gz: c765aa2da0ed54151d88ef5236561d1f9f8810f3ee8383e2ff2bbc1b87f5ec92
3
+ metadata.gz: '09af8b2c0d27ae4fd78d65f2af3c50e30beccf1449828f8fceebbcd4d1908072'
4
+ data.tar.gz: c835170056b1f728c1262334d6962dd8302a5e18e812f8f0d8c68aef37a1b6fc
5
5
  SHA512:
6
- metadata.gz: 96fbe4ab374e7288f7b91ccacc57c56425bd497e263af6dc126e4582db9075805089f3e4ed94777632e818bc3d3ca6dfd6eb7df9981f18aa977fa19491a2a4b7
7
- data.tar.gz: 6fd8471e10412d6b55f4f3d1ac1d412fc25c3e27bf663d276938bdc6611a9afbe65cad0676c53e489f0046a6fb72c97c4b9b309f251b5046d22d34ec906f946c
6
+ metadata.gz: 2b67e1808f4d4ad1a3d3e77c9774c508566ce665826a9691c0a00510cc30c35ce34e4c8ebe49036d258c0e6f31f02a54eeed077647604a1fadb09cfe03861de1
7
+ data.tar.gz: e82b32cde7d17818971065f6cd224b2f196890d9143d5ea776fa2fc2bec48e801c6f7133f1beaf225805ae17f1f2cbbb32117e2fb717b20695274b2bf77b4ba6
@@ -33,7 +33,7 @@ module Authentication
33
33
  if File.exist?(session_view_path)
34
34
  # Replace the "Forgot password?" link with the new links
35
35
  gsub_file session_view_path, /<br>\s*<%= link_to "Forgot password\?", new_password_path %>/ do |match|
36
- "<p>\n <%%= link_to 'Forgot password?', new_password_path %> | \n <%= link_to 'No Account? Register here', new_registration_path %>\n</p>"
36
+ "<p>\n <%= link_to 'Forgot password?', new_password_path %> | \n <%= link_to 'No Account? Register here', new_registration_path %>\n</p>"
37
37
  end
38
38
  else
39
39
  # If the file doesn't exist, handle it accordingly (e.g., raise an error or create the file)
@@ -50,8 +50,8 @@ module Authentication
50
50
  # Return the form as a string
51
51
  "<form class=\\"button_to\\" action=\\"\#{sign_out_path}\\" accept-charset=\\"UTF-8\\" method=\\"post\\">
52
52
  <input type=\\"hidden\\" name=\\"_method\\" value=\\"delete\\" autocomplete=\\"off\\" />
53
- <button type=\\"submit\">Sign Out</button>
54
- <input type=\\"hidden\" name=\\"authenticity_token\\" value=\\"\#{form_authenticity_token}\\" autocomplete=\\"off\\" />
53
+ <button type=\\"submit\\">Sign Out</button>
54
+ <input type=\\"hidden\\" name=\\"authenticity_token\\" value=\\"\#{form_authenticity_token}\\" autocomplete=\\"off\\" />
55
55
  </form>".html_safe
56
56
  else
57
57
  "<a href=\\"\#{sign_in_path}\\">Sign In</a>".html_safe
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AuthenticationGenerator
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentication_with_registration_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - DAZ