techlahoma_auth 0.0.4 → 0.0.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
  SHA1:
3
- metadata.gz: 9208424f66ecde5482faee483be1953797e1437b
4
- data.tar.gz: 6be105f82b927da54b2f50bf443cca633674abac
3
+ metadata.gz: 643252848e6e0fc47bdd27dfbebed44417ac14d5
4
+ data.tar.gz: a271f5aba6eb586f5fe036766082f006f4e9542d
5
5
  SHA512:
6
- metadata.gz: 99681dd95a668df80c5087c99802e805ac6d7478c0a77f663cf098b07235909ea6fc10e1cefc513db654d9b046c619046241df8c10789391db48ea5f97b3e99f
7
- data.tar.gz: 56f84e98f06d5912ebfc93049953f4eb892a841e1498fbe46a7d29cdc56599fd9f492f1981f9632b05f5af566abe7d2c1989b10fff26bae5274cbc9a408c46dd
6
+ metadata.gz: 6ac871b0f276876c2ee3eeaa411a82478481691686e7569bce524b5ba45500125c3cd6aec08f6e8cf69bf69811441af5a678426f98e1cbc9530ad22e97b3c5e8
7
+ data.tar.gz: fb7bb629219ec096f10bb0ecf9a0405aea65296884b67c0c7c8c27e815a4ad62f41b0efffa5406786a648cf869d0bc870fb2aedc59bd147909a88eb6dd5663a3
data/README.md CHANGED
@@ -38,7 +38,7 @@ installation that you want to integrate with. For development this will
38
38
  probably be `http://localhost:3000/oauth/applications`.
39
39
 
40
40
  Create a new application, and set the callback URL to
41
- `http://localhost:3001/auth/so/callback`. Change the port if you
41
+ `http://localhost:3001/auth/techlahoma/callback`. Change the port if you
42
42
  plan to run your client app on a different port. (See the optional
43
43
  section below.)
44
44
 
@@ -11,7 +11,7 @@ module TechlahomaAuth
11
11
  end
12
12
 
13
13
  def cookie_valid?
14
- cookies[:so_auth].present? && session[:user_id].present? && cookies[:so_auth].to_s == session[:user_id].to_s
14
+ cookies[:techlahoma_auth].present? && session[:user_id].present? && cookies[:techlahoma_auth].to_s == session[:user_id].to_s
15
15
  end
16
16
 
17
17
  def login_required
@@ -28,7 +28,7 @@ module TechlahomaAuth
28
28
  end
29
29
 
30
30
  def auth_redirect
31
- observable_redirect_to "/auth/so?origin=#{request.protocol}#{request.host_with_port}#{request.fullpath}"
31
+ observable_redirect_to "/auth/techlahoma?origin=#{request.protocol}#{request.host_with_port}#{request.fullpath}"
32
32
  end
33
33
 
34
34
  def current_user
@@ -2,7 +2,7 @@ Description:
2
2
  Generate config and initializer for a client of TechlahomaAuthProvider.
3
3
 
4
4
  Example:
5
- rails generate so_auth:install
5
+ rails generate techlahoma_auth:install
6
6
 
7
7
  This will create:
8
8
  config/initializers/omniauth.rb
@@ -1,3 +1,3 @@
1
1
  module TechlahomaAuth
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: techlahoma_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green