arkaan 0.10.14 → 0.10.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/monitoring/instance.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de38403b1504d551ce57770c8dc956c458e927be
|
4
|
+
data.tar.gz: dfbc6bc886ea63284bbf3b5908cf81a80edd7180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885736ed87ab48156a0ef432ca289bdcc539d3dc6c969a8031174157e63b0f6b8c51fded8da63af71c0b03ccf64f174925bd5c81dd8fec30554e84e91e5dba43
|
7
|
+
data.tar.gz: 48fbfb28810f278a667f804d554301de3d85ba7834dbd4dac8c5851fb2fe3de5471f14086f0734571e3b953f6d56ad3090f333ca6415e00d4f7d5204d717854c
|
@@ -6,6 +6,7 @@ module Arkaan
|
|
6
6
|
include Mongoid::Document
|
7
7
|
include Mongoid::Timestamps
|
8
8
|
include Arkaan::Concerns::Activable
|
9
|
+
include Arkaan::Concerns::Enumerable
|
9
10
|
|
10
11
|
# @!attribute [rw] url
|
11
12
|
# @return [String] the URL of the instance, where the requests will be issued.
|
@@ -13,6 +14,9 @@ module Arkaan
|
|
13
14
|
# @!attribute [rw] running
|
14
15
|
# @return [Boolean] the running status of the instance, indicating if it can be used or not.
|
15
16
|
field :running, type: Boolean, default: false
|
17
|
+
# @!attribute [rw] type
|
18
|
+
# @return [Symbol] the type of the instance, determining its way of being deployed, restarted, etc.
|
19
|
+
enum_field :type, [:heroku], default: :heroku
|
16
20
|
|
17
21
|
scope :running , ->{ where(running: true) }
|
18
22
|
|