aptible-rails 0.1.6 → 0.1.7

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: 9da2b413813494b198aa138060101193afcfb339
4
- data.tar.gz: 8c69b9b58d037e416b6f32929966a148939cc82c
3
+ metadata.gz: 22413fec6ea963c9dee12cc18385bb6f8f652b08
4
+ data.tar.gz: 3c28d4d0c32ea4a31565de7df14adca85c23f2cb
5
5
  SHA512:
6
- metadata.gz: 431be5286ff607050cfb604764cb38c918a0cc2d44d10af357d83a01a0d684b32c2a5aa9e0c9eaecc8fec5128ad7b117dab3a252cec7e3b02b222e3a7fb67947
7
- data.tar.gz: 9aad36293f239e12700e0b53e6642cc3a69c8b51c4d89904a6b760cc157baa61365c3e5ad9a0c1f2afdda3bd250d4c4f399ce68f5bc40060705bdb18f02af5c3
6
+ metadata.gz: 134a1a96deb5b6f144b0f9673d13295173ebe2c679467fd3b0a27c63ea7d71306f3d3972023eeca2d95d2378b261b963a244bc245a8b113f89f0bd27f383b0e8
7
+ data.tar.gz: 3080c050ddf2acafee0db12a746e4257aa61a04ef01571627fe1b74cae6bcd3acef5f7417644febdc6986e8fba403b93bf4199875896ad01cfc904310459e0aa
@@ -1,16 +1,16 @@
1
1
  module Aptible
2
2
  module Rails
3
3
  module RoutesHelper
4
- def main_url
4
+ def marketing_url
5
5
  'https://www.aptible.com'
6
6
  end
7
7
 
8
8
  def about_url
9
- main_url + '/about'
9
+ marketing_url + '/about'
10
10
  end
11
11
 
12
12
  def audits_url
13
- main_url + '/stressfree'
13
+ marketing_url + '/stressfree'
14
14
  end
15
15
 
16
16
  # Tumblr doesn't support HTTPS w/ our own domain
@@ -23,7 +23,7 @@ module Aptible
23
23
  end
24
24
 
25
25
  def contact_url
26
- main_url + '/contact'
26
+ marketing_url + '/contact'
27
27
  end
28
28
 
29
29
  def dashboard_url
@@ -31,15 +31,27 @@ module Aptible
31
31
  end
32
32
 
33
33
  def docs_url
34
- main_url + '/docs'
34
+ marketing_url + '/docs'
35
+ end
36
+
37
+ def edit_organization_url
38
+ ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/organization'
39
+ end
40
+
41
+ def edit_user_url
42
+ ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/settings'
35
43
  end
36
44
 
37
45
  def enterprise_url
38
- main_url + '/enterprise'
46
+ marketing_url + '/enterprise'
39
47
  end
40
48
 
41
49
  def legal_url
42
- main_url + '/legal'
50
+ marketing_url + '/legal'
51
+ end
52
+
53
+ def logout_url
54
+ ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/logout'
43
55
  end
44
56
 
45
57
  def policy_url
@@ -47,15 +59,15 @@ module Aptible
47
59
  end
48
60
 
49
61
  def pricing_url
50
- main_url + '/pricing'
62
+ marketing_url + '/pricing'
51
63
  end
52
64
 
53
65
  def privacy_url
54
- main_url + '/privacy'
66
+ marketing_url + '/privacy'
55
67
  end
56
68
 
57
69
  def security_url
58
- main_url + '/privacy'
70
+ marketing_url + '/security'
59
71
  end
60
72
 
61
73
  # Groove doesn't support HTTPS w/ our own domain
@@ -77,11 +89,11 @@ module Aptible
77
89
  end
78
90
 
79
91
  def terms_url
80
- main_url + '/terms'
92
+ marketing_url + '/terms'
81
93
  end
82
94
 
83
95
  def training_url
84
- main_url + '/training'
96
+ marketing_url + '/training'
85
97
  end
86
98
  end
87
99
  end
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Rails
3
- VERSION = '0.1.6'
3
+ VERSION = '0.1.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery