simply_auth 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 19d39d6db1217f751baaf74b2fe5a026cd4640f1
4
- data.tar.gz: 82598e3f989129584b8196b33ea9c104aa6b6d3c
3
+ metadata.gz: f674b119f41a508d218a3538126892b4be2ab8d3
4
+ data.tar.gz: 01b825fbaf949b1f2cf9649cd682b9086b72ac83
5
5
  SHA512:
6
- metadata.gz: 1f7b855c948a085af251243573d7f76baf879976b1a4732236ac082a876adb94e78047f42df04743db243a56a547695e234cf11f53c27b7e971005eef3087a13
7
- data.tar.gz: 97b8c1a65cf492d7895aa28068841ec9fd65fc1c9bfe5502decb4c4b6d20b87e0e665ee524f4c8b4e9e25cdfcfbe57b11d2b0fe8df3ea736dc0d13f73da29105
6
+ metadata.gz: d7f439e779017c48c5a49c42d9086b3d1086452627b1fe94008ef0f57a3a1424e4c828c09f84d3e4be775fcdb85e608e6b4eae1711c0108072ac217d526ceaf6
7
+ data.tar.gz: 59e81c1ca20f2337c4fa8600bea7a2409bea1b8cd3b97eb0c88ea80f1f29d0801bc61330f71aed21db2754160db44d037e0811646b7be8b9b96754d7faf762d0
@@ -8,7 +8,7 @@ module SimplyAuth
8
8
  @session = SimplyAuth::Session.new(session_params)
9
9
  if @session.save
10
10
  session[:simply_auth_session_id] = @session.id
11
- redirect_to main_app.root_path
11
+ redirect_to "/"
12
12
  else
13
13
  render :new
14
14
  end
@@ -17,7 +17,7 @@ module SimplyAuth
17
17
  def destroy
18
18
  current_session.destroy
19
19
  session.destroy
20
- redirect_to main_app.root_path
20
+ redirect_to "/"
21
21
  end
22
22
 
23
23
  private
@@ -1,3 +1,3 @@
1
1
  module SimplyAuth
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simply_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Fogle