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 +4 -4
- data/.github/workflows/ci.yml +36 -0
- data/aptible-api.gemspec +2 -2
- data/lib/aptible/api/app.rb +1 -0
- data/lib/aptible/api/stack.rb +3 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +14 -14
- data/.travis.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b778bf30999354b757f77b34d308aa887247690887200f4c07db535ae3d96d2
|
4
|
+
data.tar.gz: 0ab7b9c71ad45923e1654cdb67aff645fc48860780249dfcea93b5b0582725b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
24
|
-
spec.add_dependency 'aptible-resource'
|
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
|
|
data/lib/aptible/api/app.rb
CHANGED
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,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.
|
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-
|
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: '
|
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: '
|
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: '
|
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: '
|
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:
|