techlahoma_auth 0.0.5 → 0.0.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
  SHA1:
3
- metadata.gz: 643252848e6e0fc47bdd27dfbebed44417ac14d5
4
- data.tar.gz: a271f5aba6eb586f5fe036766082f006f4e9542d
3
+ metadata.gz: e8f741daf54e019c282f66b7d66126fda7aa12d7
4
+ data.tar.gz: ffc197f3f178932cdf44fbf41d2a0d89f589c9f5
5
5
  SHA512:
6
- metadata.gz: 6ac871b0f276876c2ee3eeaa411a82478481691686e7569bce524b5ba45500125c3cd6aec08f6e8cf69bf69811441af5a678426f98e1cbc9530ad22e97b3c5e8
7
- data.tar.gz: fb7bb629219ec096f10bb0ecf9a0405aea65296884b67c0c7c8c27e815a4ad62f41b0efffa5406786a648cf869d0bc870fb2aedc59bd147909a88eb6dd5663a3
6
+ metadata.gz: aaf32df42b98863e6078f4893750c11d6552a88b989bb0ebb18df58c73b3f8a9a521a2e0571357df1e322d9b8fb1f430e5bcdc6daad6899827ceea22d97146f6
7
+ data.tar.gz: 24112b00a33911de5e743ac7c706a267a3e056872fe4136fb053bd6167d9a70dd5de0101f52823d51c4db24ec4a65d3765ce06f1e229d3c2d82d7a6463f84e61
@@ -1,8 +1,6 @@
1
1
  class TechlahomaAuth::UserSessionsController < TechlahomaAuth::ApplicationController
2
2
  before_filter :login_required, :only => [ :destroy ]
3
3
 
4
- respond_to :html
5
-
6
4
  # omniauth callback method
7
5
  def create
8
6
  omniauth = env['omniauth.auth']
@@ -18,7 +16,6 @@ class TechlahomaAuth::UserSessionsController < TechlahomaAuth::ApplicationContro
18
16
  user.save
19
17
 
20
18
  session[:user_id] = user.id
21
-
22
19
  flash[:notice] = "Successfully logged in"
23
20
  redirect_to request.env['omniauth.origin'] || root_path
24
21
  end
@@ -1,3 +1,3 @@
1
1
  module TechlahomaAuth
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: techlahoma_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-11 00:00:00.000000000 Z
11
+ date: 2016-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails