aptible-api 1.6.0 → 1.6.2

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: beae2c3e4600b20209e7878ab2e926c0c0297ed1b638030fa33f768a4e29ecde
4
- data.tar.gz: 62385a3d4b0732d8463c17e83507cdae9bec236b27fb02994d02a1adab945a12
3
+ metadata.gz: 4b778bf30999354b757f77b34d308aa887247690887200f4c07db535ae3d96d2
4
+ data.tar.gz: 0ab7b9c71ad45923e1654cdb67aff645fc48860780249dfcea93b5b0582725b3
5
5
  SHA512:
6
- metadata.gz: f8a0272dd75526c2168ee231ed51f570984afcfbbeb34fab5cf9b6aad9a951d4d413853a12c207c0ebf21bd6afeafacceed20a73b9f0032746bd174c29a35eb3
7
- data.tar.gz: 372587fe6c81f075e93335d4596f63746d10ed1fcf2d38ee48bd8465b46d7f8f7decf35e96457c8786a1ede72d73c55f5ca253f99c40bdd4daee08d500507cdb
6
+ metadata.gz: 919cc38741971674af187de5e0434f5a452a4c0a9274e0291b80ff4d64064723d63718519514237fb84116ed7f4e7c8e690f8cbab8a88ffd5c284c9acebeef88
7
+ data.tar.gz: 9b17b4586b01f85842fdc1aea7953495ddf33d6aefa9b1a98b5fefdb1ee53a34f81d794dbfa709fe92dc9e46050abe2ef3fc28d4bdcafdbd4b286d79c56c37fc
@@ -0,0 +1,36 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ push:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ test:
13
+ name: Run tests on Ruby ${{ matrix.RUBY_VERSION }}
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ RUBY_VERSION: [2.1, 2.2, 2.3, 2.4, 2.5, 2.6]
19
+ steps:
20
+ - name: Check out code
21
+ uses: actions/checkout@v4
22
+
23
+ - name: Install Ruby
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.RUBY_VERSION }}
27
+ bundler: 1.17.3
28
+
29
+ - name: Bundle install
30
+ run: bundle install
31
+
32
+ - name: Rubocop
33
+ run: bundle exec rake rubocop
34
+
35
+ - name: Rspec
36
+ run: bundle exec rspec
data/aptible-api.gemspec CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = spec.files.grep(%r{^spec/})
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_dependency 'aptible-auth', '~> 1.0'
24
- spec.add_dependency 'aptible-resource', '~> 1.0'
23
+ spec.add_dependency 'aptible-auth'
24
+ spec.add_dependency 'aptible-resource'
25
25
  spec.add_dependency 'gem_config'
26
26
  spec.add_dependency 'multipart-post', '<2.2.0'
27
27
 
@@ -26,6 +26,7 @@ module Aptible
26
26
  field :updated_at, type: Time
27
27
  field :status
28
28
  field :deployment_method
29
+ field :hooks
29
30
 
30
31
  def provisioned?
31
32
  status == 'provisioned'
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.6.0'.freeze
3
+ VERSION = '1.6.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aptible-resource
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gem_config
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -186,9 +186,9 @@ extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
188
  - ".github/CODEOWNERS"
189
+ - ".github/workflows/ci.yml"
189
190
  - ".gitignore"
190
191
  - ".rspec"
191
- - ".travis.yml"
192
192
  - Gemfile
193
193
  - LICENSE.md
194
194
  - Procfile
@@ -250,7 +250,7 @@ homepage: https://github.com/aptible/aptible-api-ruby
250
250
  licenses:
251
251
  - MIT
252
252
  metadata: {}
253
- post_install_message:
253
+ post_install_message:
254
254
  rdoc_options: []
255
255
  require_paths:
256
256
  - lib
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  version: '0'
267
267
  requirements: []
268
268
  rubygems_version: 3.0.3.1
269
- signing_key:
269
+ signing_key:
270
270
  specification_version: 4
271
271
  summary: Ruby client for api.aptible.com
272
272
  test_files:
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- sudo: false
2
-
3
- rvm:
4
- - "2.1"
5
- - "2.2"
6
- - "2.3"
7
- - "2.4"
8
- - "2.5"
9
- - "2.6"