invoca-utils 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/.github/workflows/pipeline.yml +6 -10
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/Appraisals +2 -10
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +38 -26
- data/catalog-info.yaml +31 -0
- data/gemfiles/{activesupport_5.gemfile → activesupport_6_0.gemfile} +2 -1
- data/gemfiles/{activesupport_6.gemfile → activesupport_6_1.gemfile} +2 -1
- data/gemfiles/activesupport_7_0.gemfile +13 -0
- data/gemfiles/activesupport_7_1.gemfile +13 -0
- data/invoca-utils.gemspec +3 -3
- data/lib/invoca/utils/version.rb +1 -1
- metadata +15 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c4c3ce7e8a1dbe52aa8ab6c6614d9bc2b6ba8ac2e3f04adf233454cb535128b
|
4
|
+
data.tar.gz: b604d11003c903c70b0e63646c87547a426d5af1dec8fdfabff802e4c4ceb8f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 655134641dc1abd112340418b18c7a1910adf662230f9bfff997de68c03ca70835186beae2ec243a1061d3ce8bec4302dc942f402b798af13034a389c0170223
|
7
|
+
data.tar.gz: e621f9c450234d24d5725f5186e159cfa6e6ea620c45ccd255202f8de00e2cccfc7baf10bbcc90b223c31fdc2c91e1ddac591808bf5f0939b5c1c75a4b020e91
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @Invoca/octothorpe
|
@@ -5,22 +5,18 @@ on: [push]
|
|
5
5
|
|
6
6
|
jobs:
|
7
7
|
tests:
|
8
|
-
runs-on: ubuntu-
|
8
|
+
runs-on: ubuntu-latest
|
9
9
|
|
10
10
|
strategy:
|
11
11
|
fail-fast: false
|
12
12
|
matrix:
|
13
|
-
ruby: [
|
13
|
+
ruby: [3.1, 3.2, 3.3]
|
14
14
|
gemfile:
|
15
15
|
- Gemfile
|
16
|
-
- gemfiles/
|
17
|
-
- gemfiles/
|
18
|
-
- gemfiles/
|
19
|
-
|
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
|
-
|
1
|
+
3.1.6
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby
|
1
|
+
ruby 3.1.6
|
data/Appraisals
CHANGED
@@ -1,13 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
gem 'activesupport', '~> 5.2'
|
5
|
-
end
|
3
|
+
require 'appraisal/matrix'
|
6
4
|
|
7
|
-
|
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
data/Gemfile.lock
CHANGED
@@ -1,46 +1,57 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
invoca-utils (0.
|
5
|
-
activesupport (>=
|
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 (
|
10
|
+
activesupport (7.1.3.4)
|
11
|
+
base64
|
12
|
+
bigdecimal
|
11
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
25
|
-
|
26
|
-
|
27
|
-
rspec-
|
28
|
-
rspec-
|
29
|
-
|
30
|
-
|
31
|
-
|
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.
|
34
|
-
rspec-mocks (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.
|
37
|
-
rspec-support (3.
|
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.
|
41
|
-
|
42
|
-
|
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", "~>
|
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
|
29
|
-
spec.required_ruby_version = ">=
|
28
|
+
# which is currently set to 3.1
|
29
|
+
spec.required_ruby_version = ">= 3.1"
|
30
30
|
|
31
|
-
spec.add_dependency "activesupport", ">=
|
31
|
+
spec.add_dependency "activesupport", ">= 6.0"
|
32
32
|
|
33
33
|
# Specify this gem's development and test dependencies in Gemfile
|
34
34
|
end
|
data/lib/invoca/utils/version.rb
CHANGED
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.
|
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:
|
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: '
|
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: '
|
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
|
-
-
|
48
|
-
- gemfiles/
|
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:
|
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.
|
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:
|