aptible-api 1.5.4 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- 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/stack.rb +3 -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: f8a580423a27f46ba7289476a253741a2ee541458f93f5745948f0f18db36a06
|
4
|
+
data.tar.gz: 430152741e8f84551f877c50d172686ac2fdae3ad179d594c3acd2eccbe5479c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a39825f03c9f72accf7912f8cb4b48e841878c8a8526d345b24059eb198c64b46a397d8a4638cacfd427e1278f43190bcda6ebdc3d55da3d10abcab309d121
|
7
|
+
data.tar.gz: 62e11e2decd75db7b533d407ca0dc6078775046a527c079024063d2e82d270d677455676a6c5ba342f62f734a4e36c51f7093288751ee2186946943bed14b7c2
|
data/.travis.yml
CHANGED
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/stack.rb
CHANGED
@@ -17,6 +17,9 @@ module Aptible
|
|
17
17
|
field :ssh_portal_host
|
18
18
|
field :ssh_portal_port
|
19
19
|
field :organization_id
|
20
|
+
field :allow_c_instance_profile
|
21
|
+
field :allow_m_instance_profile
|
22
|
+
field :allow_r_instance_profile
|
20
23
|
field :created_at, type: Time
|
21
24
|
field :updated_at, type: Time
|
22
25
|
|
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.1
|
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-25 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
|