simply_auth 0.7.1 → 0.7.2

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: 4e9f86479105c9737bea8fe71e7416fc4bb0bb0e298099254b96bae2b4d05290
4
- data.tar.gz: 832d719ea70fb1d990996f5a48ad4eb27faf712aa72e5ec0899e3c7c1c6f6b68
3
+ metadata.gz: 576c7251bc468bef04b39e22b83d765c1aa24e9c294bcfe6c8b225c8a5ea6747
4
+ data.tar.gz: 99cc24e6196531d2f24d70a976a7971c66e3d3d0593f6ea78fc1d82dfa3afac5
5
5
  SHA512:
6
- metadata.gz: eec3ef1a9f3c0b2fee189294c95abb2604554ea67fc073973f48a497ad13781e4d218a6c36ef0bec48715e2f25d4ae181cc8764fe8fd9340df2c1a40d7410356
7
- data.tar.gz: cfa29ecae43822c9431bf18e8337fd68cfffa1c7ea1c107ec7ba8529c2201af2b3a906e320bb8c1c1c8c80e109a60a81f0dfbd8fa70f740a254a1baae2f290d0
6
+ metadata.gz: 073a4dd297f54ae16c335b6f089527b1dbe2919af3e262957ee139a32aed3955e89fc9d2a08bc2d20ce6976499874a9f49522df96181c3d2bd6ddf07a9479d85
7
+ data.tar.gz: 0bb2e275bd53ccd66b0513dd6e8f36156c900a9cbede75a26e73d68104f3a41311c8d83c21a0f8f268eb18bbba1e8fa5e94ebe6e115ddbcdea4e66523764cf91
@@ -63,6 +63,7 @@ module SimplyAuth
63
63
  @signup_form = params[:form] ? forms.find{|f| f.id == params[:form]} : forms.first
64
64
  session["simply_auth_form_submission"] ||= {}
65
65
  session["simply_auth_form_submission"]["attributes"] ||= {}
66
+ session["simply_auth_form_submission"]["attributes"]["data"] ||= {}
66
67
  @step = @signup_form.steps.find do |s|
67
68
  s["attributes"].any? do |attribute|
68
69
  if attribute.starts_with?("data.")
@@ -1,4 +1,4 @@
1
- <div class='container'>
1
+ <div class='container simply-auth-container'>
2
2
  <div class='d-flex flex-row'>
3
3
  <h2 class='mr-auto'>Reset Password</h2>
4
4
  <div>
@@ -1,4 +1,4 @@
1
- <div class='container'>
1
+ <div class='container simply-auth-container'>
2
2
  <div class='d-flex flex-row'>
3
3
  <h2 class='mr-auto'>Reset Password</h2>
4
4
  <div>
@@ -1 +1,3 @@
1
- <%= @html.gsub("{{authenticity_token}}", form_authenticity_token).html_safe %>
1
+ <div class='container simply-auth-container'>
2
+ <%= @html.gsub("{{authenticity_token}}", form_authenticity_token).html_safe %>
3
+ </div>
@@ -1,4 +1,4 @@
1
- <div class='container'>
1
+ <div class='container simply-auth-container'>
2
2
  <div class='d-flex flex-row'>
3
3
  <h2 class='mr-auto'>Log In</h2>
4
4
  <div>
@@ -1,3 +1,3 @@
1
1
  module SimplyAuth
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simply_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Fogle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-18 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails