scalingo 4.0.beta2 → 4.0.beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/dependabot.yml +2 -2
- data/.github/workflows/publish.yml +1 -1
- data/.github/workflows/ruby.yml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +14 -4
- data/README.md +18 -0
- data/lib/scalingo/api/endpoint.rb +1 -0
- data/lib/scalingo/regional/collaborators.rb +1 -0
- data/lib/scalingo/version.rb +1 -1
- data/scalingo.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a82b4f5bfe411cc1837b642c12f2baddcfbb651a2dd82675829b7c8a9c89f27f
|
|
4
|
+
data.tar.gz: 511e37e2727d36aedebf99768289b4267d8cab836642ec9506b981efa9456828
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a590f48ee9c1a333c338851244bae084ad31417d4cd5759d8e90db871a801d0df2e5d1abf7d0b8c80201678cc3611c4bb75cffbf04c1f84a52eeeff6e892dc55
|
|
7
|
+
data.tar.gz: fd5218973336995bfa397d7a6d91087ec6500e62e9b0a6e10d1347c3c433bab14fc53eeb1b0e32c592d9078dc9359d2b786d0ae272d4bc821b4513672fb4ebc4
|
|
@@ -9,9 +9,9 @@ permissions:
|
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
11
|
dependabot:
|
|
12
|
-
runs-on: ubuntu-
|
|
12
|
+
runs-on: ubuntu-24.04
|
|
13
13
|
steps:
|
|
14
14
|
- name: Automatically merge Dependabot PRs
|
|
15
|
-
uses:
|
|
15
|
+
uses: Scalingo/actions/dependabot-automerge@main
|
|
16
16
|
env:
|
|
17
17
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -14,11 +14,11 @@ jobs:
|
|
|
14
14
|
lint:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v6
|
|
18
18
|
- name: Set up Ruby
|
|
19
19
|
uses: ruby/setup-ruby@v1
|
|
20
20
|
with:
|
|
21
|
-
ruby-version: 3.
|
|
21
|
+
ruby-version: 3.2
|
|
22
22
|
bundler-cache: true
|
|
23
23
|
- name: Rubocop checks
|
|
24
24
|
run: bundle exec rubocop
|
|
@@ -27,9 +27,9 @@ jobs:
|
|
|
27
27
|
runs-on: ubuntu-latest
|
|
28
28
|
strategy:
|
|
29
29
|
matrix:
|
|
30
|
-
ruby-version: ['3.
|
|
30
|
+
ruby-version: ['3.2', '3.3', '3.4']
|
|
31
31
|
steps:
|
|
32
|
-
- uses: actions/checkout@
|
|
32
|
+
- uses: actions/checkout@v6
|
|
33
33
|
- name: Set up Ruby
|
|
34
34
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
35
35
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## To be released
|
|
2
|
+
|
|
3
|
+
## 4.0.beta4 - 2026-02-26
|
|
4
|
+
|
|
5
|
+
* Added support for Ruby on Rails 8.x ([PR#73](https://github.com/Scalingo/scalingo-ruby-api/pull/73) by [@zaratan](https://github.com/zaratan))
|
|
6
|
+
|
|
7
|
+
## 4.0.beta3 - 2025-07-29
|
|
8
|
+
|
|
9
|
+
* New: add collaborator update method
|
|
10
|
+
|
|
11
|
+
## 4.0.beta2 - 2025-03-07
|
|
12
|
+
|
|
13
|
+
* Added support for Ruby on Rails 8.0 ([PR#67](https://github.com/Scalingo/scalingo-ruby-api/pull/67) by [@zaratan](https://github.com/zaratan))
|
|
14
|
+
|
|
1
15
|
## 4.0.beta1 - 2024-04-15
|
|
2
16
|
|
|
3
17
|
* Breaking change: exceptions are raised on error responses (4xx, 5xx) and other errors (connection issue, timeouts)
|
|
@@ -13,10 +27,6 @@
|
|
|
13
27
|
* Breaking change: automatic digging of the value if the reponse body is an object with a single key
|
|
14
28
|
* Breaking change: remove `Scalingo::API::Reponse` in favor of `Faraday::Response`
|
|
15
29
|
|
|
16
|
-
## 4.0.beta2 - 2025-03-07
|
|
17
|
-
|
|
18
|
-
* Added support for Ruby on Rails 8.0 ([PR#67](https://github.com/Scalingo/scalingo-ruby-api/pull/67) by [@zaratan](https://github.com/zaratan))
|
|
19
|
-
|
|
20
30
|
## 3.6.0 - 2025-03-07
|
|
21
31
|
|
|
22
32
|
* Added support for Ruby on Rails 8.0 ([PR#67](https://github.com/Scalingo/scalingo-ruby-api/pull/67) by [@zaratan](https://github.com/zaratan))
|
data/README.md
CHANGED
|
@@ -150,3 +150,21 @@ bundle
|
|
|
150
150
|
```bash
|
|
151
151
|
bundle exec rspec
|
|
152
152
|
```
|
|
153
|
+
|
|
154
|
+
## Deploy a new version
|
|
155
|
+
|
|
156
|
+
In order to deploy a new version, you first need to tag that version. For that, two files need to be updated:
|
|
157
|
+
- The CHANGELOG, to include the list of the changes you are releasing
|
|
158
|
+
- `lib/scalingo/version.rb` with the version number
|
|
159
|
+
|
|
160
|
+
Once the PR is merged, you need to tag the version. EG:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
git checkout master
|
|
164
|
+
git pull
|
|
165
|
+
git tag v4.0.beta3
|
|
166
|
+
git push origin master --tags
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
When the tags are pushed, you need to go [here](https://github.com/Scalingo/scalingo-ruby-api/releases) and create a new
|
|
170
|
+
release with the new tag. Once this is done, a GitHub Action will take care of publishing the new version.
|
|
@@ -6,5 +6,6 @@ module Scalingo
|
|
|
6
6
|
post :create, "apps/{app_id}/collaborators", root_key: "collaborator"
|
|
7
7
|
delete :delete, "apps/{app_id}/collaborators/{id}"
|
|
8
8
|
get :accept, "apps/collaboration?token={token}"
|
|
9
|
+
patch :update, "apps/{app_id}/collaborators/{id}", root_key: "collaborator"
|
|
9
10
|
end
|
|
10
11
|
end
|
data/lib/scalingo/version.rb
CHANGED
data/scalingo.gemspec
CHANGED
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
|
33
33
|
s.require_paths = ["lib"]
|
|
34
34
|
|
|
35
35
|
s.add_dependency "addressable", [">= 2.8.0", "< 3"]
|
|
36
|
-
s.add_dependency "activesupport", [">= 5", "<
|
|
36
|
+
s.add_dependency "activesupport", [">= 5", "< 9"]
|
|
37
37
|
s.add_dependency "faraday", "~> 2.0"
|
|
38
38
|
s.add_dependency "multi_json", ">= 1.0.3", "~> 1.0"
|
|
39
39
|
s.add_dependency "jwt"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scalingo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.beta4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leo Unbekandt
|
|
8
8
|
- Kevin Soltysiak
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: '5'
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: '
|
|
42
|
+
version: '9'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +49,7 @@ dependencies:
|
|
|
49
49
|
version: '5'
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '
|
|
52
|
+
version: '9'
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: faraday
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
299
299
|
- !ruby/object:Gem::Version
|
|
300
300
|
version: '0'
|
|
301
301
|
requirements: []
|
|
302
|
-
rubygems_version: 3.6.
|
|
302
|
+
rubygems_version: 3.6.9
|
|
303
303
|
specification_version: 4
|
|
304
304
|
summary: Ruby client for Scalingo APIs
|
|
305
305
|
test_files: []
|