scalingo 3.0.1 → 3.1.0

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: 6d40c7b4678cc9197b5a458363ef014ef2bfd410777000c1f9556296384b8e05
4
- data.tar.gz: b6805bfca83725d5a95321b1d60bee2112ca3c02643fb0dc6c3cc04245d779ad
3
+ metadata.gz: 0c6c044b3045115cfbb02eb44ff90880f115ad308f72962d3a2e396d094d57a1
4
+ data.tar.gz: 108a902824f01dd1bfc7ccd347ce3a1915ff5e68298ad236b8cd786d85f7df1a
5
5
  SHA512:
6
- metadata.gz: c5245c6052411b5cd2615616948a5768c17f608018dd30c24d4c3f6fe0c6c7ab0745f8171db011b70b5cc95d2be3a6b81ae08921d2f487f5b201682befae13e7
7
- data.tar.gz: 3afeb0434dbb32079f4858f6e09317f4259618e925c2e09b0b0e3f595bc0d1d8ff0c94afdfd5ca75a6526e28fb43f99c318e6142a3413077dcbfc74614fb7bd1
6
+ metadata.gz: 2bf6692720bdcaaebf692d5c9e714da314acd0e56cbab9d0d616e308efaeb70ec7bc03e0596e94ba80e554daa9f92bc7519dc8da6eb29faf801c11b4f8099a73
7
+ data.tar.gz: 2ae4d7349ac2cc5821109273b7adf1d489ee9e99c721694c4c6e1f3449ecf2f7c0a4341aea46874c9bb5fa50d1f4642c48fbc4822fe5409bb646c9ae40322790
@@ -0,0 +1,28 @@
1
+ name: Publish gem
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ release:
6
+ types: [created]
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 3.0
18
+ bundler-cache: true
19
+ - name: Publish to RubyGems
20
+ run: |
21
+ mkdir -p $HOME/.gem
22
+ touch $HOME/.gem/credentials
23
+ chmod 0600 $HOME/.gem/credentials
24
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
25
+ gem build *.gemspec
26
+ gem push *.gem
27
+ env:
28
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Unreleased
2
+
3
+ ## 3.1.0
4
+
5
+ * Compat: support for ActiveSupport (and therefore Rails) 7, @Intrepidd
6
+
1
7
  ## 3.0.1
2
8
 
3
9
  * Internals: allow `unpack` to dig into nested structures
@@ -1,3 +1,4 @@
1
+ require "active_support"
1
2
  require "active_support/core_ext/numeric/time"
2
3
  require "scalingo/version"
3
4
  require "ostruct"
@@ -1,4 +1,5 @@
1
1
  require "scalingo/api/endpoint"
2
+ require "active_support"
2
3
  require "active_support/core_ext/hash/indifferent_access"
3
4
 
4
5
  module Scalingo
@@ -1,3 +1,3 @@
1
1
  module Scalingo
2
- VERSION = "3.0.1"
2
+ VERSION = "3.1.0"
3
3
  end
data/scalingo.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
 
35
35
  s.test_files = Dir["spec/**/*_spec.rb"]
36
36
 
37
- s.add_dependency "activesupport", [">= 5", "< 7"]
37
+ s.add_dependency "activesupport", [">= 5", "< 8"]
38
38
  s.add_dependency "faraday", "~> 1.0"
39
39
  s.add_dependency "faraday_middleware", "~> 1.0"
40
40
  s.add_dependency "multi_json", ">= 1.0.3", "~> 1.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scalingo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Unbekandt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-06-16 00:00:00.000000000 Z
12
+ date: 2021-12-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '5'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '7'
23
+ version: '8'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '5'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '7'
33
+ version: '8'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: faraday
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -185,6 +185,7 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - ".github/workflows/publish.yml"
188
189
  - ".github/workflows/ruby.yml"
189
190
  - ".gitignore"
190
191
  - ".rubocop.yml"
@@ -466,37 +467,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
466
467
  - !ruby/object:Gem::Version
467
468
  version: '0'
468
469
  requirements: []
469
- rubygems_version: 3.1.4
470
+ rubygems_version: 3.2.32
470
471
  signing_key:
471
472
  specification_version: 4
472
473
  summary: Ruby client for Scalingo APIs
473
474
  test_files:
474
- - spec/scalingo/client_spec.rb
475
+ - spec/scalingo/api/client_spec.rb
476
+ - spec/scalingo/api/endpoint_spec.rb
477
+ - spec/scalingo/api/response_spec.rb
478
+ - spec/scalingo/auth/keys_spec.rb
475
479
  - spec/scalingo/auth/scm_integrations_spec.rb
476
480
  - spec/scalingo/auth/tokens_spec.rb
477
- - spec/scalingo/auth/keys_spec.rb
478
481
  - spec/scalingo/auth/two_factor_auth_spec.rb
479
482
  - spec/scalingo/auth/user_spec.rb
483
+ - spec/scalingo/auth_spec.rb
484
+ - spec/scalingo/bearer_token_spec.rb
485
+ - spec/scalingo/billing/profile_spec.rb
486
+ - spec/scalingo/billing_spec.rb
487
+ - spec/scalingo/client_spec.rb
480
488
  - spec/scalingo/configuration_spec.rb
481
- - spec/scalingo/api/client_spec.rb
482
- - spec/scalingo/api/endpoint_spec.rb
483
- - spec/scalingo/api/response_spec.rb
489
+ - spec/scalingo/regional/addons_spec.rb
490
+ - spec/scalingo/regional/apps_spec.rb
491
+ - spec/scalingo/regional/autoscalers_spec.rb
484
492
  - spec/scalingo/regional/collaborators_spec.rb
485
- - spec/scalingo/regional/operations_spec.rb
486
- - spec/scalingo/regional/notifiers_spec.rb
487
- - spec/scalingo/regional/environment_spec.rb
493
+ - spec/scalingo/regional/containers_spec.rb
488
494
  - spec/scalingo/regional/deployments_spec.rb
489
- - spec/scalingo/regional/apps_spec.rb
490
- - spec/scalingo/regional/metrics_spec.rb
491
495
  - spec/scalingo/regional/domains_spec.rb
492
- - spec/scalingo/regional/scm_repo_links_spec.rb
493
- - spec/scalingo/regional/addons_spec.rb
494
- - spec/scalingo/regional/logs_spec.rb
495
- - spec/scalingo/regional/containers_spec.rb
496
- - spec/scalingo/regional/autoscalers_spec.rb
496
+ - spec/scalingo/regional/environment_spec.rb
497
497
  - spec/scalingo/regional/events_spec.rb
498
- - spec/scalingo/bearer_token_spec.rb
499
- - spec/scalingo/auth_spec.rb
500
- - spec/scalingo/billing/profile_spec.rb
498
+ - spec/scalingo/regional/logs_spec.rb
499
+ - spec/scalingo/regional/metrics_spec.rb
500
+ - spec/scalingo/regional/notifiers_spec.rb
501
+ - spec/scalingo/regional/operations_spec.rb
502
+ - spec/scalingo/regional/scm_repo_links_spec.rb
501
503
  - spec/scalingo/regional_spec.rb
502
- - spec/scalingo/billing_spec.rb