aptible-api 1.5.3 → 1.6.0

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: efca7db1f9d9eab5010d94a4f189ffa3d009d53ab6b70d180242e5e4eb22ac78
4
- data.tar.gz: 73d28c405fec8e35946b8cc15f3ea54ad6d34543165aa6403d6f4c29fa841ac6
3
+ metadata.gz: beae2c3e4600b20209e7878ab2e926c0c0297ed1b638030fa33f768a4e29ecde
4
+ data.tar.gz: 62385a3d4b0732d8463c17e83507cdae9bec236b27fb02994d02a1adab945a12
5
5
  SHA512:
6
- metadata.gz: 0f3f1be0604a8126425846d4d466d98ed3f5288399e96aca80169459b069f71dd87b540ec66c0d580d0aaeb103aef135222c54b232c2a7a4eb7df22dbc36a9fe
7
- data.tar.gz: 140052bc9d6b96f81198ac7d6550eee73d5a01b557d7007afd478f614406301e925872ba3f86f50baafa768e18d1ff489be587415d48492e500c3dbe77cdd8ba
6
+ metadata.gz: f8a0272dd75526c2168ee231ed51f570984afcfbbeb34fab5cf9b6aad9a951d4d413853a12c207c0ebf21bd6afeafacceed20a73b9f0032746bd174c29a35eb3
7
+ data.tar.gz: 372587fe6c81f075e93335d4596f63746d10ed1fcf2d38ee48bd8465b46d7f8f7decf35e96457c8786a1ede72d73c55f5ca253f99c40bdd4daee08d500507cdb
@@ -4,6 +4,7 @@ module Aptible
4
4
  belongs_to :account
5
5
  belongs_to :current_configuration
6
6
  has_one :last_code_scan_result
7
+ has_one :current_deployment
7
8
  embeds_one :current_image
8
9
  embeds_one :last_operation
9
10
  embeds_one :last_deploy_operation
@@ -0,0 +1,25 @@
1
+ module Aptible
2
+ module Api
3
+ class Deployment < Resource
4
+ belongs_to :operation
5
+ belongs_to :app
6
+ belongs_to :configuration
7
+ belongs_to :image
8
+ belongs_to :source
9
+
10
+ field :id
11
+ field :status
12
+ field :docker_image
13
+ field :docker_repository_url
14
+ field :git_repository_url
15
+ field :git_ref
16
+ field :git_commit_sha
17
+ field :git_commit_url
18
+ field :git_commit_message
19
+ field :git_commit_timestamp
20
+
21
+ field :created_at, type: Time
22
+ field :updated_at, type: Time
23
+ end
24
+ end
25
+ end
@@ -25,6 +25,7 @@ require 'aptible/api/configuration'
25
25
  require 'aptible/api/container'
26
26
  require 'aptible/api/database'
27
27
  require 'aptible/api/database_image'
28
+ require 'aptible/api/deployment'
28
29
  require 'aptible/api/disk'
29
30
  require 'aptible/api/image'
30
31
  require 'aptible/api/instance_layer_membership'
@@ -34,6 +35,7 @@ require 'aptible/api/operation'
34
35
  require 'aptible/api/permission'
35
36
  require 'aptible/api/release'
36
37
  require 'aptible/api/service'
38
+ require 'aptible/api/source'
37
39
  require 'aptible/api/vhost'
38
40
  require 'aptible/api/ssh_portal_connection'
39
41
  require 'aptible/api/stack'
@@ -0,0 +1,16 @@
1
+ module Aptible
2
+ module Api
3
+ class Source < Resource
4
+ has_many :apps
5
+ has_many :deployments
6
+
7
+ field :id
8
+ field :organization_id
9
+ field :qualified_name
10
+ field :url
11
+
12
+ field :created_at, type: Time
13
+ field :updated_at, type: Time
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.5.3'.freeze
3
+ VERSION = '1.6.0'.freeze
4
4
  end
5
5
  end
@@ -21,6 +21,7 @@ module Aptible
21
21
  field :peer_networks
22
22
  field :key_exchange
23
23
  field :auto
24
+ field :dpd_action
24
25
  field :status
25
26
  field :backend
26
27
  field :state
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.5.3
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
@@ -213,6 +213,7 @@ files:
213
213
  - lib/aptible/api/database.rb
214
214
  - lib/aptible/api/database_credential.rb
215
215
  - lib/aptible/api/database_image.rb
216
+ - lib/aptible/api/deployment.rb
216
217
  - lib/aptible/api/disk.rb
217
218
  - lib/aptible/api/disk_attachment.rb
218
219
  - lib/aptible/api/ephemeral_container.rb
@@ -232,6 +233,7 @@ files:
232
233
  - lib/aptible/api/resource.rb
233
234
  - lib/aptible/api/service.rb
234
235
  - lib/aptible/api/service_definition.rb
236
+ - lib/aptible/api/source.rb
235
237
  - lib/aptible/api/ssh_portal_connection.rb
236
238
  - lib/aptible/api/stack.rb
237
239
  - lib/aptible/api/stack_layer.rb
@@ -263,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
265
  - !ruby/object:Gem::Version
264
266
  version: '0'
265
267
  requirements: []
266
- rubygems_version: 3.1.6
268
+ rubygems_version: 3.0.3.1
267
269
  signing_key:
268
270
  specification_version: 4
269
271
  summary: Ruby client for api.aptible.com