aptible-rails 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/rails.rb +4 -0
- data/lib/aptible/rails/url_helper.rb +2 -1
- data/lib/aptible/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cea762c3a6c73be72738ac5722c63f2416daf63
|
4
|
+
data.tar.gz: 54d269c3c1ba7d44c4df35990c98201bc381c603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81d5f64bc0452cd49790a93505e2e968b3107e8ee1154efa16516c13e49f8fb6aae708e8fd9780836e96814261a9faa1bdcbd6a422e6d1894b6617abbab45196
|
7
|
+
data.tar.gz: 9de5dccbab4f20b5273a01d93381773d2ead86fc96182a870c9b1c27e26621f2e736a993c2174d06e4cf09dad2997651374c280c13d7eda526c8458c80df5893
|
data/lib/aptible/rails.rb
CHANGED
@@ -14,6 +14,8 @@ module Aptible
|
|
14
14
|
'https://policy.aptible.com'
|
15
15
|
default_risk_root_url = ENV['APTIBLE_RISK_ROOT_URL'] ||
|
16
16
|
'https://risk.aptible.com'
|
17
|
+
default_security_root_url = ENV['APTIBLE_SECURITY_ROOT_URL'] ||
|
18
|
+
'https://security.aptible.com'
|
17
19
|
|
18
20
|
with_configuration do
|
19
21
|
# Where users will be redirected on
|
@@ -31,6 +33,8 @@ module Aptible
|
|
31
33
|
default: default_policy_root_url
|
32
34
|
has :risk_root_url, classes: [String],
|
33
35
|
default: default_risk_root_url
|
36
|
+
has :security_root_url, classes: [String],
|
37
|
+
default: default_security_root_url
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
@@ -41,7 +41,8 @@ module Aptible
|
|
41
41
|
aptible_config.marketing_root_url + '/privacy'
|
42
42
|
register_url :risk_url, aptible_config.risk_root_url
|
43
43
|
register_url :roles_url, aptible_config.dashboard_root_url + '/roles'
|
44
|
-
register_url :security_url,
|
44
|
+
register_url :security_url, aptible_config.security_root_url
|
45
|
+
register_url :security_marketing_url,
|
45
46
|
aptible_config.marketing_root_url + '/security'
|
46
47
|
# Statuspage.io requires a business-tier plan for SSL
|
47
48
|
register_url :status_url, 'http://status.aptible.com/'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptible-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|