aptible-api 1.6.1 → 1.6.3

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: f8a580423a27f46ba7289476a253741a2ee541458f93f5745948f0f18db36a06
4
- data.tar.gz: 430152741e8f84551f877c50d172686ac2fdae3ad179d594c3acd2eccbe5479c
3
+ metadata.gz: e8cc528901ec30b1988a8180773652503e06da040e80ba8fe8e504cc49d57bf8
4
+ data.tar.gz: e1bf404cddd059e109d0f293ceb7abb74ca63e2933adf1375420dc8e05467483
5
5
  SHA512:
6
- metadata.gz: 04a39825f03c9f72accf7912f8cb4b48e841878c8a8526d345b24059eb198c64b46a397d8a4638cacfd427e1278f43190bcda6ebdc3d55da3d10abcab309d121
7
- data.tar.gz: 62e11e2decd75db7b533d407ca0dc6078775046a527c079024063d2e82d270d677455676a6c5ba342f62f734a4e36c51f7093288751ee2186946943bed14b7c2
6
+ metadata.gz: f331dbfe536de347378c68b7a471ab6272f8557a56ffdad49963faed14841c5251aa57b9e376b42fbbd49a3f213b70569b5f31a18ded26cc3eca4f2729871017
7
+ data.tar.gz: fb6e0fa361a89924535945d4583bb1aa01b07112df824f63931d9955dcf814f8594fbbad5e425e9e1b5e37a3dd84565d18c09f5aed401b2e1f91e303ded32f6e
@@ -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'
@@ -25,6 +25,7 @@ module Aptible
25
25
  field :status
26
26
  field :docker_repo
27
27
  field :port_mapping
28
+ field :logical_replica
28
29
 
29
30
  def failed?
30
31
  # TODO: Add failed status at API level
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.6.1'.freeze
3
+ VERSION = '1.6.3'.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.1
4
+ version: 1.6.3
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-25 00:00:00.000000000 Z
11
+ date: 2024-08-21 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
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- sudo: false
2
-
3
- rvm:
4
- - "2.1.10"
5
- - "2.2.10"
6
- - "2.3"
7
- - "2.4"
8
- - "2.5"
9
- - "2.6"