aptible-api 1.2.13 → 1.2.14

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
  SHA256:
3
- metadata.gz: 0b57c1a6d2049fb2e1edb9bcd14afecd8502ca142e78dec0114ef685bfd6fd72
4
- data.tar.gz: 0666abf930478a16660e70cc5f57c51b9be693bc6da976fa25e11eb1502e0580
3
+ metadata.gz: ac8da6599960ba21059c86ef28e9b67f851fe03437fa70b18dbb8229c55b1308
4
+ data.tar.gz: e1a9b2b6266974b94a24253537b98acf4b86ace0bc8e3f0f740ecd29c63a1607
5
5
  SHA512:
6
- metadata.gz: 60453213ffcd4ad145b09782f7249e23cc66d5574cd73f58949340c0b905bfb0625977d3858b5e4de7af8e41420a961fbb308f08c1619008f47b7651f2ea8ae1
7
- data.tar.gz: 98cc67ff26b323b7cd00363224bfa2739b2411f41806725c4fa492ddc5fed7e3b7aa381bddc4f19bedb922b459ce8c71ab048960f653abf58016e9f1c00157a7
6
+ metadata.gz: 2accac9b48e66b6520d043fd84fca8bee9753de242411d73420b17da761468f8865e9ca71230dd84b4fc9de0fc4e66ce5a036e02dfcb5da809f3451eae875b6e
7
+ data.tar.gz: b27dcdaadaf34201af9dd237f3e56f5ecf168131925f4e68562ff5871a6849d3be9222a7da6525de3e84ab86d2e4c76077c4aa74d52645c0e2a855aa3960473f
@@ -6,9 +6,13 @@ module Aptible
6
6
  has_many :operations
7
7
  has_many :containers
8
8
 
9
+ # Temporary until deploy-api renames this field
10
+ embeds_one :new_backend
11
+ # Necessary to avoid downtime when new_backend becomes backend
12
+ embeds_one :backend
13
+
9
14
  field :id
10
15
  field :handle
11
- field :backend
12
16
  field :drain_type
13
17
  field :drain_host
14
18
  field :drain_port
@@ -0,0 +1,17 @@
1
+ module Aptible
2
+ module Api
3
+ class LogDrainBackend < Resource
4
+ has_many :log_drains
5
+
6
+ field :id
7
+ field :current, type: Aptible::Resource::Boolean
8
+ field :channel
9
+ field :gentlemanjerry_image
10
+ field :gentlemanjerry_tag
11
+ field :joecool_image
12
+ field :joecool_tag
13
+ field :created_at, type: Time
14
+ field :updated_at, type: Time
15
+ end
16
+ end
17
+ end
@@ -29,6 +29,7 @@ require 'aptible/api/disk'
29
29
  require 'aptible/api/image'
30
30
  require 'aptible/api/instance_layer_membership'
31
31
  require 'aptible/api/log_drain'
32
+ require 'aptible/api/log_drain_backend'
32
33
  require 'aptible/api/operation'
33
34
  require 'aptible/api/permission'
34
35
  require 'aptible/api/release'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.2.13'.freeze
3
+ VERSION = '1.2.14'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-25 00:00:00.000000000 Z
11
+ date: 2021-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
@@ -202,6 +202,7 @@ files:
202
202
  - lib/aptible/api/image.rb
203
203
  - lib/aptible/api/instance_layer_membership.rb
204
204
  - lib/aptible/api/log_drain.rb
205
+ - lib/aptible/api/log_drain_backend.rb
205
206
  - lib/aptible/api/metric_drain.rb
206
207
  - lib/aptible/api/operation.rb
207
208
  - lib/aptible/api/permission.rb
@@ -238,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
239
  - !ruby/object:Gem::Version
239
240
  version: '0'
240
241
  requirements: []
241
- rubygems_version: 3.0.9
242
+ rubygems_version: 3.0.3
242
243
  signing_key:
243
244
  specification_version: 4
244
245
  summary: Ruby client for api.aptible.com