authentication_with_registration_generator 0.3.4 → 0.3.5

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: c12f15be111a89a5b051f1827e1d1035d78edc05a02843bee667578a8eed7122
4
- data.tar.gz: e155a8a7c189b514254342202fcd4362f7144e8547662292f8a254a101e9cad4
3
+ metadata.gz: aa18b6a3e20786433cb62220fe16303d192eea89ee208b2dc0dc34924e94c727
4
+ data.tar.gz: c765aa2da0ed54151d88ef5236561d1f9f8810f3ee8383e2ff2bbc1b87f5ec92
5
5
  SHA512:
6
- metadata.gz: 152344f15aed655975f77591e53293079e67c5cbe6d7988c65ce8d50fffd84e18edbbe77053831952967af21b6148c9f76ae66f56a93a59b4b06ad69933e9dbc
7
- data.tar.gz: baef4e39e53cb4c440af35289dd2d73f5b9ae91efbf2cf8b0c2b9bc17cd85afe6789960b891a9ebe40867e3e3bef5ef887352f244b03b04d3601967c999fcbd1
6
+ metadata.gz: 96fbe4ab374e7288f7b91ccacc57c56425bd497e263af6dc126e4582db9075805089f3e4ed94777632e818bc3d3ca6dfd6eb7df9981f18aa977fa19491a2a4b7
7
+ data.tar.gz: 6fd8471e10412d6b55f4f3d1ac1d412fc25c3e27bf663d276938bdc6611a9afbe65cad0676c53e489f0046a6fb72c97c4b9b309f251b5046d22d34ec906f946c
@@ -48,13 +48,13 @@ module Authentication
48
48
  def link_to_sign_in_or_out
49
49
  if authenticated?
50
50
  # Return the form as a string
51
- "<form class=\"button_to\" action=\"\#{sign_out_path}\" accept-charset=\"UTF-8\" method=\"post\">
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\" />
51
+ "<form class=\\"button_to\\" action=\\"\#{sign_out_path}\\" accept-charset=\\"UTF-8\\" method=\\"post\\">
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\\" />
55
55
  </form>".html_safe
56
56
  else
57
- "<a href=\"\#{sign_in_path}\">Sign In</a>".html_safe
57
+ "<a href=\\"\#{sign_in_path}\\">Sign In</a>".html_safe
58
58
  end
59
59
  end
60
60
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AuthenticationGenerator
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
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.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - DAZ