invoca-utils 0.5.1 → 0.6.0

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: c8684fc70ce068552001b1cd99cf11a8f60882e23d46b9a56f94276e5c5b6403
4
- data.tar.gz: c429285201930b90be6ea32d043f9625fcd22b493b6c4871ea912d55800958d2
3
+ metadata.gz: 0c4c3ce7e8a1dbe52aa8ab6c6614d9bc2b6ba8ac2e3f04adf233454cb535128b
4
+ data.tar.gz: b604d11003c903c70b0e63646c87547a426d5af1dec8fdfabff802e4c4ceb8f7
5
5
  SHA512:
6
- metadata.gz: a8c825cfa1b59d065cd8ea81a56cbe1e1d5c1acd277b2d9d05b452392b027de3a07acd6537aef12732fe70b7994b3aa2a0b74c03355c053b3c4d0db6552ccf43
7
- data.tar.gz: e641a1ef06cd907e48d5b6addec2bcb8ae27b125528ec645bd2366153938245c0a3de6635241aebe416a86a196509337c6ad9a88ee3685d97d84ceb60e11f3e1
6
+ metadata.gz: 655134641dc1abd112340418b18c7a1910adf662230f9bfff997de68c03ca70835186beae2ec243a1061d3ce8bec4302dc942f402b798af13034a389c0170223
7
+ data.tar.gz: e621f9c450234d24d5725f5186e159cfa6e6ea620c45ccd255202f8de00e2cccfc7baf10bbcc90b223c31fdc2c91e1ddac591808bf5f0939b5c1c75a4b020e91
@@ -0,0 +1 @@
1
+ * @Invoca/octothorpe
@@ -5,22 +5,18 @@ on: [push]
5
5
 
6
6
  jobs:
7
7
  tests:
8
- runs-on: ubuntu-22.04
8
+ runs-on: ubuntu-latest
9
9
 
10
10
  strategy:
11
11
  fail-fast: false
12
12
  matrix:
13
- ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2]
13
+ ruby: [3.1, 3.2, 3.3]
14
14
  gemfile:
15
15
  - Gemfile
16
- - gemfiles/activesupport_5.gemfile
17
- - gemfiles/activesupport_6.gemfile
18
- - gemfiles/activesupport_7.gemfile
19
- exclude:
20
- - ruby: 2.5
21
- gemfile: gemfiles/activesupport_7.gemfile
22
- - ruby: 2.6
23
- gemfile: gemfiles/activesupport_7.gemfile
16
+ - gemfiles/activesupport_6_0.gemfile
17
+ - gemfiles/activesupport_6_1.gemfile
18
+ - gemfiles/activesupport_7_0.gemfile
19
+ - gemfiles/activesupport_7_1.gemfile
24
20
 
25
21
  env:
26
22
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 3.1.6
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.7.5
1
+ ruby 3.1.6
data/Appraisals CHANGED
@@ -1,13 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'activesupport-5' do
4
- gem 'activesupport', '~> 5.2'
5
- end
3
+ require 'appraisal/matrix'
6
4
 
7
- appraise 'activesupport-6' do
8
- gem 'activesupport', '~> 6.0'
9
- end
10
-
11
- appraise 'activesupport-7' do
12
- gem 'activesupport', '~> 7.0'
13
- end
5
+ appraisal_matrix(activesupport: "6.0")
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  **Note:** This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.6.0] - 2024-07-10
8
+ ### Added
9
+ - Require Ruby > 3.1
10
+ - Allow ActiveSupport >= 6
11
+ ### Removed
12
+ - Support for Ruby < 3
13
+ - Support for ActiveSupport < 6
14
+
7
15
  ## [0.5.1] - 2023-02-17
8
16
  ### Added
9
17
  - Integrated Appraisal into github actions for testing across multiple versions of ActiveSupport
data/Gemfile CHANGED
@@ -7,6 +7,7 @@ gemspec
7
7
 
8
8
  # Specify your gem's development and test dependencies below
9
9
  gem "appraisal", "~> 2.4"
10
+ gem "appraisal-matrix"
10
11
  gem "rake", "~> 13.0"
11
12
  gem "rspec", "~> 3.0"
12
13
  gem "rspec_junit_formatter", "~> 0.4"
data/Gemfile.lock CHANGED
@@ -1,46 +1,57 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- invoca-utils (0.5.1)
5
- activesupport (>= 5.0)
4
+ invoca-utils (0.6.0)
5
+ activesupport (>= 6.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.2.8.1)
10
+ activesupport (7.1.3.4)
11
+ base64
12
+ bigdecimal
11
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- appraisal (2.4.1)
14
+ connection_pool (>= 2.2.5)
15
+ drb
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ mutex_m
19
+ tzinfo (~> 2.0)
20
+ appraisal (2.5.0)
16
21
  bundler
17
22
  rake
18
23
  thor (>= 0.14.0)
19
- concurrent-ruby (1.2.0)
20
- diff-lcs (1.5.0)
21
- i18n (1.12.0)
24
+ appraisal-matrix (0.1.0)
25
+ appraisal (~> 2.2)
26
+ base64 (0.2.0)
27
+ bigdecimal (3.1.8)
28
+ concurrent-ruby (1.3.3)
29
+ connection_pool (2.4.1)
30
+ diff-lcs (1.5.1)
31
+ drb (2.2.1)
32
+ i18n (1.14.5)
22
33
  concurrent-ruby (~> 1.0)
23
34
  minitest (5.10.3)
24
- rake (13.0.6)
25
- rspec (3.12.0)
26
- rspec-core (~> 3.12.0)
27
- rspec-expectations (~> 3.12.0)
28
- rspec-mocks (~> 3.12.0)
29
- rspec-core (3.12.1)
30
- rspec-support (~> 3.12.0)
31
- rspec-expectations (3.12.2)
35
+ mutex_m (0.2.0)
36
+ rake (13.2.1)
37
+ rspec (3.13.0)
38
+ rspec-core (~> 3.13.0)
39
+ rspec-expectations (~> 3.13.0)
40
+ rspec-mocks (~> 3.13.0)
41
+ rspec-core (3.13.0)
42
+ rspec-support (~> 3.13.0)
43
+ rspec-expectations (3.13.1)
32
44
  diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.12.0)
34
- rspec-mocks (3.12.3)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-mocks (3.13.1)
35
47
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.12.0)
37
- rspec-support (3.12.0)
48
+ rspec-support (~> 3.13.0)
49
+ rspec-support (3.13.1)
38
50
  rspec_junit_formatter (0.6.0)
39
51
  rspec-core (>= 2, < 4, != 2.12.0)
40
- thor (1.2.1)
41
- thread_safe (0.3.6)
42
- tzinfo (1.2.11)
43
- thread_safe (~> 0.1)
52
+ thor (1.3.1)
53
+ tzinfo (2.0.6)
54
+ concurrent-ruby (~> 1.0)
44
55
 
45
56
  PLATFORMS
46
57
  arm64-darwin-22
@@ -49,6 +60,7 @@ PLATFORMS
49
60
 
50
61
  DEPENDENCIES
51
62
  appraisal (~> 2.4)
63
+ appraisal-matrix
52
64
  invoca-utils!
53
65
  minitest (~> 5.10.0)
54
66
  rake (~> 13.0)
data/catalog-info.yaml ADDED
@@ -0,0 +1,31 @@
1
+ # This file is partially auto-generated by the invoca-backstage-tools gem
2
+ # The following fields should not be edited manually as they are auto-generated
3
+ # based on the contents of the repo:
4
+ # - metadata.name
5
+ # - metadata.title
6
+ # - metadata.description
7
+ # - annotations.github.com/project-slug
8
+ # - invoca.com/version-repository-location
9
+ # - invoca.com/version-repository-name
10
+ # - spec.type
11
+ # - spec.owner
12
+ ---
13
+ apiVersion: backstage.io/v1alpha1
14
+ kind: Component
15
+ metadata:
16
+ name: invoca-utils-gem
17
+ title: Invoca::Utils
18
+ description: A public collection of helpers used in multiple projects
19
+ tags:
20
+ - ruby
21
+ - gem
22
+ annotations:
23
+ buildkite.com/project-slug: Invoca/invoca-utils
24
+ github.com/project-slug: Invoca/invoca-utils
25
+ invoca.com/version-repository-location: rubygems
26
+ invoca.com/version-repository-name: invoca-utils
27
+ spec:
28
+ type: library
29
+ lifecycle: production
30
+ owner: octothorpe
31
+ dependsOn: []
@@ -3,10 +3,11 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
+ gem "appraisal-matrix"
6
7
  gem "rake", "~> 13.0"
7
8
  gem "rspec", "~> 3.0"
8
9
  gem "rspec_junit_formatter", "~> 0.4"
9
10
  gem "minitest", "~> 5.10.0"
10
- gem "activesupport", "~> 5.2"
11
+ gem "activesupport", "~> 6.0.0"
11
12
 
12
13
  gemspec path: "../"
@@ -3,10 +3,11 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
+ gem "appraisal-matrix"
6
7
  gem "rake", "~> 13.0"
7
8
  gem "rspec", "~> 3.0"
8
9
  gem "rspec_junit_formatter", "~> 0.4"
9
10
  gem "minitest", "~> 5.10.0"
10
- gem "activesupport", "~> 6.0"
11
+ gem "activesupport", "~> 6.1.0"
11
12
 
12
13
  gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal", "~> 2.4"
6
+ gem "appraisal-matrix"
7
+ gem "rake", "~> 13.0"
8
+ gem "rspec", "~> 3.0"
9
+ gem "rspec_junit_formatter", "~> 0.4"
10
+ gem "minitest", "~> 5.10.0"
11
+ gem "activesupport", "~> 7.0.0"
12
+
13
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal", "~> 2.4"
6
+ gem "appraisal-matrix"
7
+ gem "rake", "~> 13.0"
8
+ gem "rspec", "~> 3.0"
9
+ gem "rspec_junit_formatter", "~> 0.4"
10
+ gem "minitest", "~> 5.10.0"
11
+ gem "activesupport", "~> 7.1.0"
12
+
13
+ gemspec path: "../"
data/invoca-utils.gemspec CHANGED
@@ -25,10 +25,10 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
 
27
27
  # this should match the minimum github pipeline targets
28
- # which is currently set to 2.5
29
- spec.required_ruby_version = ">= 2.5.0"
28
+ # which is currently set to 3.1
29
+ spec.required_ruby_version = ">= 3.1"
30
30
 
31
- spec.add_dependency "activesupport", ">= 5.0"
31
+ spec.add_dependency "activesupport", ">= 6.0"
32
32
 
33
33
  # Specify this gem's development and test dependencies in Gemfile
34
34
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Invoca
4
4
  module Utils
5
- VERSION = "0.5.1"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoca-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca development
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '6.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: '5.0'
26
+ version: '6.0'
27
27
  description: A public collection of helpers used in multiple projects
28
28
  email:
29
29
  - development@invoca.com
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".github/CODEOWNERS"
34
35
  - ".github/workflows/pipeline.yml"
35
36
  - ".gitignore"
36
37
  - ".rspec"
@@ -44,9 +45,12 @@ files:
44
45
  - LICENSE.txt
45
46
  - README.md
46
47
  - Rakefile
47
- - gemfiles/activesupport_5.gemfile
48
- - gemfiles/activesupport_6.gemfile
48
+ - catalog-info.yaml
49
+ - gemfiles/activesupport_6_0.gemfile
50
+ - gemfiles/activesupport_6_1.gemfile
49
51
  - gemfiles/activesupport_7.gemfile
52
+ - gemfiles/activesupport_7_0.gemfile
53
+ - gemfiles/activesupport_7_1.gemfile
50
54
  - invoca-utils.gemspec
51
55
  - lib/invoca/utils.rb
52
56
  - lib/invoca/utils/array.rb
@@ -83,7 +87,7 @@ licenses:
83
87
  - MIT
84
88
  metadata:
85
89
  allowed_push_host: https://rubygems.org
86
- post_install_message:
90
+ post_install_message:
87
91
  rdoc_options: []
88
92
  require_paths:
89
93
  - lib
@@ -91,15 +95,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
95
  requirements:
92
96
  - - ">="
93
97
  - !ruby/object:Gem::Version
94
- version: 2.5.0
98
+ version: '3.1'
95
99
  required_rubygems_version: !ruby/object:Gem::Requirement
96
100
  requirements:
97
101
  - - ">="
98
102
  - !ruby/object:Gem::Version
99
103
  version: '0'
100
104
  requirements: []
101
- rubygems_version: 3.4.7
102
- signing_key:
105
+ rubygems_version: 3.3.27
106
+ signing_key:
103
107
  specification_version: 4
104
108
  summary: A public collection of helpers used in multiple projects
105
109
  test_files: