aptible-api 1.3.0 → 1.4.1

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: 63f51f06f268072606997a8cc88c33352bc1e535b86a98db7f624d1e83f2c0fa
4
- data.tar.gz: 803be5a42c71a8e58b388a37c6b71da844d3285a8586c4b6f5b91c78dcac1cde
3
+ metadata.gz: 19ed0244d899ffac431078191656cc1981e883cb69465d366ea33732089f031e
4
+ data.tar.gz: e115ce360384e9f1b9a91f7f9019cb797e838ccf56a594960dbacbc8aa303376
5
5
  SHA512:
6
- metadata.gz: a239e639e4363a56edbbf67b0caa007466e36ebc1af19ae159b26c02f99de8f0d325285a14d530e163b62bef4a3959d59c0b951addf161264c76210ea7eea0b5
7
- data.tar.gz: a80e09c5b6aa86c08e6c5d0640334915dc5ad44a92d02f2e2101ccac75ba0ed28eced818aa18fdc115cc2a28a8f5ab8a75e8b371c30a2c6021aca46bdd3fab40
6
+ metadata.gz: 1f0d2e64f1eae7e0cc089956520c087596adf0b9d7e0f8c84d87c1140b2a41dba511170972a66c620065d8504bec12bd667fe2dd53329738a16b9d4a64f9cbc9
7
+ data.tar.gz: 7782b94d431361efaa6e769ea411ff2d271f624517dbc3acd624b20e0054e60f122b4b9f66ddecb6f0496615aa01b3a326cca1bcde0cea62794dd96c0545b0a3
@@ -0,0 +1,24 @@
1
+ module Aptible
2
+ module Api
3
+ class ActivePlan < Resource
4
+ belongs_to :plan
5
+
6
+ field :id
7
+ field :plan_id
8
+ field :container_memory_limit_mb
9
+ field :cpu_allowed_profiles
10
+ field :disk_limit_gb
11
+ field :ephemeral_session_limit
12
+ field :environment_limit
13
+ field :vhost_limit
14
+ field :compliance_dashboard_access
15
+ field :available_plans
16
+ field :included_container_mb
17
+ field :included_disk_gb
18
+ field :included_vhosts
19
+ field :organization_id
20
+ field :created_at, type: Time
21
+ field :updated_at, type: Time
22
+ end
23
+ end
24
+ end
@@ -5,11 +5,15 @@ module Aptible
5
5
  belongs_to :operation
6
6
 
7
7
  field :id
8
+ field :dockerfile_data
8
9
  field :dockerfile_present
10
+ field :procfile_data
9
11
  field :procfile_present
12
+ field :aptible_yml_data
10
13
  field :aptible_yml_present
11
14
  field :git_ref
12
15
  field :git_commit
16
+ field :languages_detected
13
17
 
14
18
  field :created_at, type: Time
15
19
  field :updated_at, type: Time
@@ -18,6 +18,7 @@ module Aptible
18
18
  field :aws_instance_id
19
19
  field :port_mapping
20
20
  field :mounts
21
+ field :instance_class
21
22
  end
22
23
  end
23
24
  end
@@ -0,0 +1,20 @@
1
+ module Aptible
2
+ module Api
3
+ class Plan < Resource
4
+ field :id
5
+ field :name
6
+ field :container_memory_limit_mb
7
+ field :cpu_allowed_profiles
8
+ field :disk_limit_gb
9
+ field :ephemeral_session_limit
10
+ field :environment_limit
11
+ field :vhost_limit
12
+ field :compliance_dashboard_access
13
+ field :included_container_mb
14
+ field :included_disk_gb
15
+ field :included_vhosts
16
+ field :created_at, type: Time
17
+ field :updated_at, type: Time
18
+ end
19
+ end
20
+ end
@@ -46,3 +46,5 @@ require 'aptible/api/backup_retention_policy'
46
46
  require 'aptible/api/prerelease_command'
47
47
  require 'aptible/api/service_definition'
48
48
  require 'aptible/api/code_scan_result'
49
+ require 'aptible/api/active_plan'
50
+ require 'aptible/api/plan'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.3.0'.freeze
3
+ VERSION = '1.4.1'.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.3.0
4
+ version: 1.4.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: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
@@ -198,6 +198,7 @@ files:
198
198
  - aptible-api.gemspec
199
199
  - lib/aptible/api.rb
200
200
  - lib/aptible/api/account.rb
201
+ - lib/aptible/api/active_plan.rb
201
202
  - lib/aptible/api/agent.rb
202
203
  - lib/aptible/api/ami.rb
203
204
  - lib/aptible/api/ami_release.rb
@@ -222,6 +223,7 @@ files:
222
223
  - lib/aptible/api/metric_drain.rb
223
224
  - lib/aptible/api/operation.rb
224
225
  - lib/aptible/api/permission.rb
226
+ - lib/aptible/api/plan.rb
225
227
  - lib/aptible/api/prerelease_command.rb
226
228
  - lib/aptible/api/release.rb
227
229
  - lib/aptible/api/resource.rb