aptible-api 1.3.0 → 1.4.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: 63f51f06f268072606997a8cc88c33352bc1e535b86a98db7f624d1e83f2c0fa
4
- data.tar.gz: 803be5a42c71a8e58b388a37c6b71da844d3285a8586c4b6f5b91c78dcac1cde
3
+ metadata.gz: 49046addfd3fae3383875f043b21e5ad8a09028f568c7f7545a420e63d50bcd8
4
+ data.tar.gz: bfe029ca214e1f0ea5f892b90162e012c77e2cc6dcef9db86583dc49c2a3a6ae
5
5
  SHA512:
6
- metadata.gz: a239e639e4363a56edbbf67b0caa007466e36ebc1af19ae159b26c02f99de8f0d325285a14d530e163b62bef4a3959d59c0b951addf161264c76210ea7eea0b5
7
- data.tar.gz: a80e09c5b6aa86c08e6c5d0640334915dc5ad44a92d02f2e2101ccac75ba0ed28eced818aa18fdc115cc2a28a8f5ab8a75e8b371c30a2c6021aca46bdd3fab40
6
+ metadata.gz: 2a915a1390a5183e291091bbadec3d8fc87463abc6e3e418556f38d2894533a831ca12ff663e5b7a81e3508ec836101eaf42b40ed2ddf703385d25c62df96a02
7
+ data.tar.gz: d6587b1a4e5800c7981abff113ea883177d32fb0748617d6346b537579190a92c2d9002fff7d5b156921c97a8c16f46a22d51e3d0d1ada5924e67839aa44d1ec
@@ -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
@@ -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.0'.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.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: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-03-17 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