scalingo 4.0.beta1 → 4.0.beta3
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/dependabot.yml +1 -1
- data/.github/workflows/ruby.yml +1 -1
- data/.gitignore +2 -0
- data/.rubocop.yml +2 -3
- data/CHANGELOG.md +14 -0
- data/README.md +18 -0
- data/lib/scalingo/regional/collaborators.rb +1 -0
- data/lib/scalingo/version.rb +1 -1
- data/scalingo.gemspec +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bf6f3dcc86a0bb1f3b50557d41f6f65c9ed8114948f41a212af312007d7b380
|
4
|
+
data.tar.gz: 525ea73c782566d05139e1e27282c8bab82bd570b062314b3b0825cabf68ac10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f6a632bf4eb9468a5a667873146efab0f9773c298079afb03c5921967eb63446c1339a1af4b0232f3c98185129e936c97057ab12d6da5c34892e40deb88a58f
|
7
|
+
data.tar.gz: e34a27ab01b524f9868828305c7c6325d3b2d869f70f04f0e1c22a88ed761424a52e4c7becf7bd96a45c1d6f9ad16a7654032ebb9297818d8568a9b5be1b7ece
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/ruby.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -24,9 +24,8 @@ AllCops:
|
|
24
24
|
RSpec/ExampleLength:
|
25
25
|
Enabled: false
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
Enabled: false
|
27
|
+
RSpec/SpecFilePathSuffix:
|
28
|
+
Enabled: true
|
30
29
|
|
31
30
|
# Not convinced by how strict this cop is by default
|
32
31
|
RSpec/MultipleExpectations:
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## To be released
|
2
|
+
|
3
|
+
## 4.0.beta3 - 2025-07-29
|
4
|
+
|
5
|
+
* New: add collaborator update method
|
6
|
+
|
1
7
|
## 4.0.beta1 - 2024-04-15
|
2
8
|
|
3
9
|
* Breaking change: exceptions are raised on error responses (4xx, 5xx) and other errors (connection issue, timeouts)
|
@@ -13,6 +19,14 @@
|
|
13
19
|
* Breaking change: automatic digging of the value if the reponse body is an object with a single key
|
14
20
|
* Breaking change: remove `Scalingo::API::Reponse` in favor of `Faraday::Response`
|
15
21
|
|
22
|
+
## 4.0.beta2 - 2025-03-07
|
23
|
+
|
24
|
+
* 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))
|
25
|
+
|
26
|
+
## 3.6.0 - 2025-03-07
|
27
|
+
|
28
|
+
* 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))
|
29
|
+
|
16
30
|
## 3.5.0 - 2023-12-28
|
17
31
|
|
18
32
|
* Change: update Faraday to 2.x, released about two years ago. The public API of this gem doesn't change, therefore this is not a major release. However, if you manipulate directly faraday's objects, you may encounter breaking changes. Refer to [Faraday's website](https://lostisland.github.io/faraday/) for how to migrate.
|
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", "< 8"]
|
36
|
+
s.add_dependency "activesupport", [">= 5", "< 8.1"]
|
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,15 +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.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leo Unbekandt
|
8
8
|
- Kevin Soltysiak
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: addressable
|
@@ -40,7 +39,7 @@ dependencies:
|
|
40
39
|
version: '5'
|
41
40
|
- - "<"
|
42
41
|
- !ruby/object:Gem::Version
|
43
|
-
version: '8'
|
42
|
+
version: '8.1'
|
44
43
|
type: :runtime
|
45
44
|
prerelease: false
|
46
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +49,7 @@ dependencies:
|
|
50
49
|
version: '5'
|
51
50
|
- - "<"
|
52
51
|
- !ruby/object:Gem::Version
|
53
|
-
version: '8'
|
52
|
+
version: '8.1'
|
54
53
|
- !ruby/object:Gem::Dependency
|
55
54
|
name: faraday
|
56
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -286,7 +285,6 @@ metadata:
|
|
286
285
|
documentation_uri: https://developers.scalingo.com/
|
287
286
|
homepage_uri: https://www.scalingo.com/
|
288
287
|
source_code_uri: https://github.com/Scalingo/scalingo-ruby-api
|
289
|
-
post_install_message:
|
290
288
|
rdoc_options: []
|
291
289
|
require_paths:
|
292
290
|
- lib
|
@@ -301,8 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
301
299
|
- !ruby/object:Gem::Version
|
302
300
|
version: '0'
|
303
301
|
requirements: []
|
304
|
-
rubygems_version: 3.
|
305
|
-
signing_key:
|
302
|
+
rubygems_version: 3.6.9
|
306
303
|
specification_version: 4
|
307
304
|
summary: Ruby client for Scalingo APIs
|
308
305
|
test_files: []
|