aptible-api 1.5.4 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aptible/api/app.rb +1 -0
- data/lib/aptible/api/deployment.rb +25 -0
- data/lib/aptible/api/resource.rb +2 -0
- data/lib/aptible/api/source.rb +16 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beae2c3e4600b20209e7878ab2e926c0c0297ed1b638030fa33f768a4e29ecde
|
4
|
+
data.tar.gz: 62385a3d4b0732d8463c17e83507cdae9bec236b27fb02994d02a1adab945a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8a0272dd75526c2168ee231ed51f570984afcfbbeb34fab5cf9b6aad9a951d4d413853a12c207c0ebf21bd6afeafacceed20a73b9f0032746bd174c29a35eb3
|
7
|
+
data.tar.gz: 372587fe6c81f075e93335d4596f63746d10ed1fcf2d38ee48bd8465b46d7f8f7decf35e96457c8786a1ede72d73c55f5ca253f99c40bdd4daee08d500507cdb
|
data/lib/aptible/api/app.rb
CHANGED
@@ -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
|
data/lib/aptible/api/resource.rb
CHANGED
@@ -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
|
data/lib/aptible/api/version.rb
CHANGED
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.
|
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-06-
|
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
|