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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 772e9458fad70aec4cbe64dc9f35f5299c9c448c
4
- data.tar.gz: afd2b9aac02cc04cd74ce2919b05ccb3bed1802d
3
+ metadata.gz: de38403b1504d551ce57770c8dc956c458e927be
4
+ data.tar.gz: dfbc6bc886ea63284bbf3b5908cf81a80edd7180
5
5
  SHA512:
6
- metadata.gz: d15d08a952c0a7bc686774c4e31049e5030ce28d430a4bca908e5a03bdca22db0509e9a71bb8ba7f42bc8b4f2c7ace9849c3affd09d20dda508507686d0c5744
7
- data.tar.gz: 9b71738a172cd89d76e8fd7c9ebcec1edfb4815bebc974356a2a19a58c558476992c6c60d33f865fcf7bca8e1e4324527de9f701761e159b0313d480b1bd0755
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkaan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.14
4
+ version: 0.10.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois