acme-authorizer 0.1.1 → 0.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/app/controllers/acme/authorizer/tokens_controller.rb +1 -1
- data/lib/acme/authorizer/engine.rb +2 -4
- data/lib/acme/authorizer/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b54ea865e1d8ae51fec14967db0a6aae424be410
|
4
|
+
data.tar.gz: 66072d8269af6d4f36e96e50072763d40b7fc0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5938c15a3e43a0fb4882c9b26b1bd3025b23a17bcb45627ebba78b0a73c07e53e1d345a5205f6c42f99a88b7e98a1d146f1ed4c3d1bc58b95fbce2bae6a67c2
|
7
|
+
data.tar.gz: 5227eff27d6383a7332e2fcd03b8fb34bde36b869d58173e195c333b55be32721fa1456ca2a7080b964f29e14968f65d248b403bd1d626b386b78f553403ec29
|
data/README.md
CHANGED
@@ -11,11 +11,8 @@ gem 'acme-authorizer'
|
|
11
11
|
```
|
12
12
|
|
13
13
|
NOTE: the ACME http-01 challenge/response *must* be served over HTTP without
|
14
|
-
SSL.
|
15
|
-
|
16
|
-
|
17
|
-
In order to enable application wide SSL, use this alternative method:
|
18
|
-
http://guides.rubyonrails.org/action_controller_overview.html#force-https-protocol
|
14
|
+
SSL. The ACME URL endpoint will opt out of `config.force_ssl` if it is set
|
15
|
+
using `config.ssl_options`.
|
19
16
|
|
20
17
|
## Configuration
|
21
18
|
|
@@ -1,11 +1,9 @@
|
|
1
1
|
module Acme
|
2
2
|
module Authorizer
|
3
3
|
class Engine < ::Rails::Engine
|
4
|
-
InvalidConfigurationError = Class.new(StandardError)
|
5
|
-
|
6
4
|
isolate_namespace Acme::Authorizer
|
7
|
-
initializer 'acme-authorizer.config.
|
8
|
-
|
5
|
+
initializer 'acme-authorizer.config.set_ssl_options' do |app|
|
6
|
+
app.config.ssl_options.deep_merge! redirect: { exclude: -> request { request.path =~ /\A\/\.well-known\/acme-challenge/ } }
|
9
7
|
end
|
10
8
|
end
|
11
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acme-authorizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BetterUp Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '5.1'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.1'
|
@@ -147,9 +147,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - ">"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 1.3.1
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
155
|
rubygems_version: 2.6.4
|