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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b71852cdaac8d4401623f89773aa2191bc598dadab8f95c18cf466adb5996f6
4
- data.tar.gz: 061daaeac33ab02683b9a826a419ab86c04ddf9ecc01a001ef3abf1942c16e2e
3
+ metadata.gz: a82b4f5bfe411cc1837b642c12f2baddcfbb651a2dd82675829b7c8a9c89f27f
4
+ data.tar.gz: 511e37e2727d36aedebf99768289b4267d8cab836642ec9506b981efa9456828
5
5
  SHA512:
6
- metadata.gz: f06e001affb8d65086b146ef55714fd28f6a3876f456031f6f6c0ee08c60e456592fcaf37c7808e428e9804118b6cc2a1bd564f89738f89e75b1d376edb7b40e
7
- data.tar.gz: 3114674390afd5031c900713431c34f976ec73969d61025d1e9a0d74b347277ec9829bbdfa70c944f5bf0c3ccbd468b700040e03978ad0a534ad79747ed46dc7
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-latest
12
+ runs-on: ubuntu-24.04
13
13
  steps:
14
14
  - name: Automatically merge Dependabot PRs
15
- uses: scalingo/ghaction-dependabot-automerge@v1
15
+ uses: Scalingo/actions/dependabot-automerge@main
16
16
  env:
17
17
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -12,7 +12,7 @@ jobs:
12
12
  permissions:
13
13
  contents: read
14
14
  steps:
15
- - uses: actions/checkout@v4
15
+ - uses: actions/checkout@v6
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
@@ -14,11 +14,11 @@ jobs:
14
14
  lint:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v4
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.0
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.1', '3.2', '3.3', '3.4']
30
+ ruby-version: ['3.2', '3.3', '3.4']
31
31
  steps:
32
- - uses: actions/checkout@v4
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/.gitignore CHANGED
@@ -4,3 +4,5 @@ coverage/
4
4
  /pkg
5
5
 
6
6
  .rspec_status
7
+
8
+ .idea
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.
@@ -5,6 +5,7 @@ module Scalingo
5
5
  module API
6
6
  class Endpoint
7
7
  extend Forwardable
8
+
8
9
  attr_reader :client
9
10
 
10
11
  # Add a handler for a given endpoint
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Scalingo
2
- VERSION = "4.0.beta2"
2
+ VERSION = "4.0.beta4"
3
3
  end
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.1"]
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.beta2
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: 2025-03-07 00:00:00.000000000 Z
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: '8.1'
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: '8.1'
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.5
302
+ rubygems_version: 3.6.9
303
303
  specification_version: 4
304
304
  summary: Ruby client for Scalingo APIs
305
305
  test_files: []