static_collection 0.2.1 → 0.3.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: f867a06f9f52e14eec205601c378da8f40dcd824b6c8b89d47e1898efc84576f
4
- data.tar.gz: 0a83958ce93a9bb051ad9ca64fcf396f0e7a309cf1004d3c8270cccb85e85b2e
3
+ metadata.gz: d9702583ac4a75df196900dfa228b1fabb8b3be1c72cb240a762c2ea26bd97af
4
+ data.tar.gz: 62e6ba2fc5d8e0def40807a610a8978c7fc9dd36f7c09444ae617c50171ce55f
5
5
  SHA512:
6
- metadata.gz: 6ffeab73073a0ab546fce79585ef6786ddd1dad9706f1665b6fb87a803f6c84aed3cd89a140a4b160d679f7a3eafba60b6384d839cca7feb629e747c70ee56e6
7
- data.tar.gz: 2bdfb54187ea3bcf2c66f4838f2f3a1d3a7013216c56b21886b8b2fd4c77df07c0512764a4f04062ff26659066b9a5aa402ab33188953d5c96feec07b6d52ed0
6
+ metadata.gz: b66f23e970a022386861381d227f44012bab41753413221ca046ca4e71c4197ff586ea1703693ac07f3e09a610f55bbf9d7059fc4abfb1b3119596d1fd193fa3
7
+ data.tar.gz: df7b82357ce70721b8e4b347dd3ba09cd8d39ce4541cc515075fd1d3b8a4fde845970762b00f2bfb46c39816c497df34bd945e7b37a2f2e7ab82a9767ed743db
@@ -1,21 +1,42 @@
1
1
  ---
2
2
  name: Pipeline
3
3
  on: push
4
+ concurrency:
5
+ group: ${{ github.workflow }}-${{ github.ref }}
6
+ cancel-in-progress: true
7
+
4
8
  jobs:
5
9
  build:
6
10
  name: Build
7
11
  runs-on: ubuntu-20.04
12
+ strategy:
13
+ matrix:
14
+ ruby-version: [2.7.5, 3.0.3, 3.1.0]
8
15
  steps:
9
16
  - uses: actions/checkout@v2
10
- - uses: ruby/setup-ruby@v1
17
+ - name: Set up Ruby ${{ matrix.ruby-version }}
18
+ uses: ruby/setup-ruby@v1
11
19
  with:
12
20
  bundler-cache: true
21
+ ruby-version: ${{ matrix.ruby-version }}
13
22
  - name: Lint
14
23
  run: bundle exec rubocop
15
24
  - name: Test
16
25
  run: bundle exec rspec
26
+
27
+ # Separate `release` job from `build`, as we only want release to be run once
28
+ # and not run for each ruby version in the matrix:
29
+ release:
30
+ name: Release
31
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
32
+ needs: build
33
+ runs-on: ubuntu-20.04
34
+ steps:
35
+ - uses: actions/checkout@v2
36
+ - uses: ruby/setup-ruby@v1
37
+ with:
38
+ bundler-cache: true
17
39
  - name: Release the gem
18
- if: ${{ github.ref == 'refs/heads/main' }}
19
40
  run: |
20
41
  mkdir -p ~/.gem
21
42
  cat << EOF > ~/.gem/credentials
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.3
1
+ 2.7.5
data/Gemfile.lock CHANGED
@@ -1,31 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- static_collection (0.2.1)
4
+ static_collection (0.3.0)
5
5
  activesupport (>= 4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.1.3.2)
10
+ activesupport (7.0.0)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 1.6, < 2)
13
13
  minitest (>= 5.1)
14
14
  tzinfo (~> 2.0)
15
- zeitwerk (~> 2.3)
16
15
  ast (2.4.2)
17
- concurrent-ruby (1.1.8)
16
+ concurrent-ruby (1.1.9)
18
17
  diff-lcs (1.4.4)
19
- i18n (1.8.10)
18
+ i18n (1.8.11)
20
19
  concurrent-ruby (~> 1.0)
21
- minitest (5.14.4)
22
- parallel (1.20.1)
23
- parser (3.0.1.1)
20
+ minitest (5.15.0)
21
+ parallel (1.21.0)
22
+ parser (3.0.3.2)
24
23
  ast (~> 2.4.1)
25
24
  rack (2.2.3)
26
25
  rainbow (3.0.0)
27
26
  rake (10.5.0)
28
- regexp_parser (2.1.1)
27
+ regexp_parser (2.2.0)
29
28
  rexml (3.2.5)
30
29
  rspec (3.10.0)
31
30
  rspec-core (~> 3.10.0)
@@ -43,40 +42,38 @@ GEM
43
42
  diff-lcs (>= 1.2.0, < 2.0)
44
43
  rspec-support (~> 3.10.0)
45
44
  rspec-support (3.10.2)
46
- rubocop (1.14.0)
45
+ rubocop (1.24.1)
47
46
  parallel (~> 1.10)
48
47
  parser (>= 3.0.0.0)
49
48
  rainbow (>= 2.2.2, < 4.0)
50
49
  regexp_parser (>= 1.8, < 3.0)
51
50
  rexml
52
- rubocop-ast (>= 1.5.0, < 2.0)
51
+ rubocop-ast (>= 1.15.1, < 2.0)
53
52
  ruby-progressbar (~> 1.7)
54
53
  unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.5.0)
54
+ rubocop-ast (1.15.1)
56
55
  parser (>= 3.0.1.1)
57
- rubocop-performance (1.11.2)
56
+ rubocop-performance (1.13.0)
58
57
  rubocop (>= 1.7.0, < 2.0)
59
58
  rubocop-ast (>= 0.4.0)
60
- rubocop-rails (2.10.1)
59
+ rubocop-rails (2.13.0)
61
60
  activesupport (>= 4.2.0)
62
61
  rack (>= 1.1)
63
62
  rubocop (>= 1.7.0, < 2.0)
64
- rubocop-rspec (2.3.0)
65
- rubocop (~> 1.0)
66
- rubocop-ast (>= 1.1.0)
67
- rubocop-vendor (0.6.0)
63
+ rubocop-rspec (2.7.0)
64
+ rubocop (~> 1.19)
65
+ rubocop-vendor (0.7.1)
68
66
  rubocop (>= 0.53.0)
69
67
  ruby-progressbar (1.11.0)
70
68
  tzinfo (2.0.4)
71
69
  concurrent-ruby (~> 1.0)
72
- unicode-display_width (2.0.0)
73
- ws-style (6.9.0)
74
- rubocop (>= 1.12.1)
70
+ unicode-display_width (2.1.0)
71
+ ws-style (6.12.3)
72
+ rubocop (>= 1.23)
75
73
  rubocop-performance (>= 1.10.2)
76
74
  rubocop-rails (>= 2.9.1)
77
75
  rubocop-rspec (>= 2.2.0)
78
76
  rubocop-vendor (>= 0.6.0)
79
- zeitwerk (2.4.2)
80
77
 
81
78
  PLATFORMS
82
79
  ruby
@@ -91,4 +88,4 @@ DEPENDENCIES
91
88
  ws-style
92
89
 
93
90
  BUNDLED WITH
94
- 2.2.16
91
+ 2.2.32
@@ -1,3 +1,3 @@
1
1
  module StaticCollection
2
- VERSION = "0.2.1".freeze
2
+ VERSION = "0.3.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_collection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-05 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport