devise-proxy 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e8feeaa1f3b1d27db430748fd2dc5a108b606a9
4
- data.tar.gz: 76d447b4aef5ba2188ab7799194add1614b10991
3
+ metadata.gz: c304e0e55e583d2b1da6da36788fb6b1ea84e9f5
4
+ data.tar.gz: 39423ea8a2067e16df0c9e1ccbfb55d80b1431b2
5
5
  SHA512:
6
- metadata.gz: 311ccc467db836f3a2455ff0838ab0086bb18ce18b67207b660784b6f91ead1bd71882a295367ad439f15e519093e87c98a6f045462ddcc19a25eae80ea59b34
7
- data.tar.gz: 91ce9f5b92fcc20ae4f9c9d6ec08723aa6ca46202e7c36abb771af63dcada2b586dbcfc64a02486cde323c31881898ba12cda09fef50c32fa238a5fe580489b6
6
+ metadata.gz: e2e92a7781b8a39f47f824b8ae3e8a8ce07495c10578d493e8b77c118bf998b18b70927e4687480194178d678324e240d2bb06e59e317a171af0faa4ffadfcb8
7
+ data.tar.gz: 65d77c26ce2b7d230292f65750b0bfcab7a8075f30d4f4deafdd4aeec43d425bbb3f7ba47f17ff00db4dde0a902b40483c2939eb607b09afd6e2c7ca208041fd
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012, Preston Lee
1
+ Copyright (c) 2014, Preston Lee
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Devise Proxy #
1
+ # Devise Proxy
2
2
 
3
3
  devise-proxy is a standalone Rack Middleware application that authenticates a username/password against
4
4
  a devise-powered backend application before forwarding the original HTTP request to a single host of your choosing.
@@ -8,7 +8,7 @@ Authentication is done on *every* request, so it is advisable to use devise-prox
8
8
  devise-proxy will return a 502 if a network connection to your authentication host cannot be established.
9
9
 
10
10
 
11
- ## Quick Start ##
11
+ ## Quick Start
12
12
 
13
13
  1. Create a devise-proxy.yml using the provided .sample.
14
14
  1. Start the proxy server:
@@ -16,7 +16,7 @@ devise-proxy will return a 502 if a network connection to your authentication ho
16
16
  1. Configure you web browser or other client software to use the proxy and set a username (email) and password.
17
17
  1. Enjoy!
18
18
 
19
- ## Example Configuration ##
19
+ ## Example Configuration
20
20
 
21
21
  You'll need a config/devise-proxy.yml file to start the application. For example:
22
22
 
@@ -28,15 +28,13 @@ You'll need a config/devise-proxy.yml file to start the application. For example
28
28
  port: 3000
29
29
 
30
30
 
31
- ## Example Deployment on Linux ##
31
+ ## Example Deployment on Linux
32
32
  There is a sample init script in extra/. This script will start the proxy as a daemon on port 6969 as a given user ("tater" in our example). Edit
33
33
  for your environment. Note that you may need to edit the "exec" path. In the sample it points to an rvm wrapper script created using the following command: "rvm wrapper ruby-1.9.3 bootup rackup".
34
34
 
35
- ## Troubleshooting ##
35
+ ## Troubleshooting
36
36
 
37
-
38
-
39
- ### Infinite Client Redirects ###
37
+ ### Infinite Client Redirects
40
38
 
41
39
  If your client complains about infinite redirects, you're probably forwarding traffic to a hostname that returns a 302.
42
40
  This may be the case if you request example.com, but the server redirects you to www.example.com.
@@ -46,10 +44,6 @@ and return it to the client, introducing an infinite loop that the browser *shou
46
44
  This shouldn't be a big deal if you're forwarding to your own well-behaved devise app, but is worth mentioning.
47
45
 
48
46
 
49
- ## Authors ##
47
+ ## Authors
50
48
 
51
49
  Preston Lee
52
-
53
- ## Legal ##
54
-
55
- See LICENSE file for details.
@@ -1,3 +1,3 @@
1
1
  module DeviseProxy
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Preston Lee