aptible-rails 0.1.11 → 0.1.12

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: 4c8a98b2aabe877a20ca8946b6422ded17e5693a
4
- data.tar.gz: fbb4ab2ec1957bbfdda5589d8dd326efda63a327
3
+ metadata.gz: 6cea762c3a6c73be72738ac5722c63f2416daf63
4
+ data.tar.gz: 54d269c3c1ba7d44c4df35990c98201bc381c603
5
5
  SHA512:
6
- metadata.gz: 2b36e4d238cb0143a17ad6b970817490189290f113a9c24ea6ad5f6653438ceb884559c2d85775f459aa783d8d7b80436c1822a59f885636fc8273b96d08aa2a
7
- data.tar.gz: ec21701ebdc3a4ab5df81b1948115ad6009be9d9021ff6ac4b2eb9b5502305ada2654946548540a1425b97543b21759b0b13d73e0fd61e0de05774fa60289d41
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/'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Rails
3
- VERSION = '0.1.11'
3
+ VERSION = '0.1.12'
4
4
  end
5
5
  end
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.11
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-12 00:00:00.000000000 Z
11
+ date: 2014-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config