ish_models 3.1.0.21 → 3.1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/wco_hosting/appliance.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf823aeb00ff0318b485b16629c5340c3108f5797f4876e31fcc34b8de3bf995
|
4
|
+
data.tar.gz: b9c7e209d59296da77c0d337722deccd5b6147adf285b45c05e2f7a8b993fa8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1993b116f20082efe3102c86170c41faf80fe0c4070b2927b128696139b3a4e3aebf4ff40eeac7ffba079753333c6d0522d11fc51603095af1c39b967c17ef4
|
7
|
+
data.tar.gz: cba2dac300f2cd89cf8a19ab69c59dff727dbe35c4960630eb22e9a0bc59f85b7dc7d63e509bfcc3b226243622aede1342ce6394069dfbcd63f00fccd3ca2ea9
|
@@ -19,6 +19,9 @@ class WcoHosting::Appliance
|
|
19
19
|
def host
|
20
20
|
"#{subdomain}.#{domain}"
|
21
21
|
end
|
22
|
+
def route53_zone
|
23
|
+
WcoHosting::Domain.find_by( name: domain ).route53_zone
|
24
|
+
end
|
22
25
|
|
23
26
|
belongs_to :appliance_tmpl, class_name: 'WcoHosting::ApplianceTmpl'
|
24
27
|
def tmpl
|
@@ -30,7 +33,6 @@ class WcoHosting::Appliance
|
|
30
33
|
|
31
34
|
belongs_to :serverhost, class_name: 'WcoHosting::Serverhost'
|
32
35
|
|
33
|
-
# field :ip
|
34
36
|
field :port
|
35
37
|
|
36
38
|
STATE_PENDING = 'state-pending'
|