expressir 1.2.7-x86_64-linux → 1.2.8-x86_64-linux

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: 666bf72045b70acae74ff192a3008761c2d64071a3aff7eeaaaa8f0b5da421ba
4
- data.tar.gz: aeb94b0f97f84a0e9875bccacc6a61b2d3ad3e2ca88a34cfc3c5784131e0b34a
3
+ metadata.gz: c35ae2b10048dfb51449ddc19d25b11ed84642a742d3e7511534d03ba5ffd318
4
+ data.tar.gz: b0db755775b7a80534db7fb1edbc1fefd7228b21ba0642bb05bc58b4b25f7416
5
5
  SHA512:
6
- metadata.gz: 6b515d5595864f25a538a3900efd1017ce56e9343b11cfa58c856dd0c30ba9422e1bf80fd77e87e2c3c5859c735085a5f7d58c4ea292d9061332bf5ad836101a
7
- data.tar.gz: 91d5de28f68680a417663b197a487487080d428dff8cdc5ef94e6ff451e75984427245bf209b4d15f0a1abf3db98c52afe0a22ed2cf7a03bec93fe024a7a2c14
6
+ metadata.gz: e9e11e2094b28d7cb49dd04cfcb6b19fece2dee68607cf406ef7d6274eacf7239d9638df9df2ecf925a95280d24f3ffe93750d3c26ee8dbb635f4b2164521b30
7
+ data.tar.gz: 8ff82dc62c9c7ed1327f6c494b20f070b3b1af0e775e14b269a90bad09472d444294397c27e9bf2c32f61142186c6c3aa4c89372cf9c642ea5376578e0231581
@@ -5,6 +5,17 @@ on:
5
5
  branches: [ master, main ]
6
6
  pull_request:
7
7
 
8
+ concurrency:
9
+ group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
10
+ cancel-in-progress: true
11
+
12
+ env:
13
+ BUNDLER_VER: 2.3.24
14
+ # Forcing bundler version to ensure that it is consistent everywhere and
15
+ # does not cause bundler gem reinstalls
16
+ # bundler/rubygems 2.3.22 is a minimal requirement to support gnu/musl differentiation
17
+ # https://github.com/rubygems/rubygems/pull/4488
18
+
8
19
  jobs:
9
20
  rubocop:
10
21
  runs-on: ubuntu-latest
@@ -15,9 +26,10 @@ jobs:
15
26
  submodules: recursive
16
27
 
17
28
  - name: Install Ruby
18
- uses: ruby/setup-ruby@v1
29
+ uses: ruby/setup-ruby@master
19
30
  with:
20
31
  ruby-version: 3.0
32
+ bundler: ${{ env.BUNDLER_VER }}
21
33
  bundler-cache: true
22
34
 
23
35
  - name: Bundle
@@ -46,13 +58,14 @@ jobs:
46
58
  run: brew install autoconf automake libtool
47
59
 
48
60
  - name: Install Ruby
49
- uses: ruby/setup-ruby@v1
61
+ uses: ruby/setup-ruby@master
50
62
  with:
51
63
  ruby-version: ${{ matrix.ruby }}
64
+ bundler: ${{ env.BUNDLER_VER }}
52
65
  bundler-cache: true
53
66
 
54
67
  - name: Process cache
55
- uses: actions/cache@v2
68
+ uses: actions/cache@v3
56
69
  id: cache
57
70
  with:
58
71
  path: lib/expressir/express/express_parser.*
@@ -79,11 +92,12 @@ jobs:
79
92
  submodules: recursive
80
93
 
81
94
  - name: Setup Ruby
82
- uses: ruby/setup-ruby@v1
95
+ uses: ruby/setup-ruby@master
83
96
  with:
84
97
  ruby-version: '3.0'
85
98
  # bundler-cache: true important to not use cache because it leads to "cannot find -lrice"
86
99
  # more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
100
+ bundler: ${{ env.BUNDLER_VER }}
87
101
 
88
102
  - name: Bundle
89
103
  run: bundle install --jobs 4 --retry 3
@@ -92,7 +106,7 @@ jobs:
92
106
  run: gem build expressir.gemspec
93
107
 
94
108
  - name: Package gem without native extension
95
- uses: actions/upload-artifact@v2
109
+ uses: actions/upload-artifact@v3
96
110
  with:
97
111
  name: pkg-ruby
98
112
  path: expressir-*.gem
@@ -110,11 +124,12 @@ jobs:
110
124
  submodules: recursive
111
125
 
112
126
  - name: Setup Ruby
113
- uses: ruby/setup-ruby@v1
127
+ uses: ruby/setup-ruby@master
114
128
  with:
115
129
  ruby-version: '3.0'
116
130
  # bundler-cache: true important to not use cache because it leads to "cannot find -lrice"
117
131
  # more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
132
+ bundler: ${{ env.BUNDLER_VER }}
118
133
 
119
134
  - name: Bundle
120
135
  run: bundle install --jobs 4 --retry 3
@@ -131,7 +146,7 @@ jobs:
131
146
  run: bundle exec rake gem:${{ matrix.host }}
132
147
 
133
148
  - name: Package gem with native extension
134
- uses: actions/upload-artifact@v2
149
+ uses: actions/upload-artifact@v3
135
150
  with:
136
151
  name: pkg-${{ matrix.host }}
137
152
  path: pkg/*.gem
@@ -147,10 +162,11 @@ jobs:
147
162
  os: [ ubuntu-latest, windows-latest, macos-latest ]
148
163
  steps:
149
164
  - name: Install Ruby
150
- uses: ruby/setup-ruby@v1
165
+ uses: ruby/setup-ruby@master
151
166
  with:
152
167
  ruby-version: ${{ matrix.ruby }}
153
168
  bundler-cache: true
169
+ bundler: ${{ env.BUNDLER_VER }}
154
170
 
155
171
  - name: Checkout
156
172
  uses: actions/checkout@v3
@@ -159,9 +175,9 @@ jobs:
159
175
 
160
176
  - name: Bundle
161
177
  run: bundle install --jobs 4 --retry 3
162
-
178
+
163
179
  - name: Download packaged gem
164
- uses: actions/download-artifact@v2
180
+ uses: actions/download-artifact@v3
165
181
  with:
166
182
  name: pkg-ruby
167
183
  path: pkg
@@ -185,19 +201,20 @@ jobs:
185
201
  ruby: [ '3.1', '3.0', '2.7' ]
186
202
  steps:
187
203
  - name: Install Ruby
188
- uses: ruby/setup-ruby@v1
204
+ uses: ruby/setup-ruby@master
189
205
  with:
190
206
  ruby-version: ${{ matrix.ruby }}
191
207
  bundler-cache: true
208
+ bundler: ${{ env.BUNDLER_VER }}
192
209
 
193
210
  - name: Checkout
194
211
  uses: actions/checkout@v3
195
212
 
196
213
  - name: Bundle
197
214
  run: bundle install --jobs 4 --retry 3
198
-
215
+
199
216
  - name: Download packaged gem
200
- uses: actions/download-artifact@v2
217
+ uses: actions/download-artifact@v3
201
218
  with:
202
219
  name: pkg-darwin
203
220
  path: pkg
@@ -222,19 +239,20 @@ jobs:
222
239
  ruby: [ '3.1', '3.0', '2.7' ]
223
240
  steps:
224
241
  - name: Install Ruby
225
- uses: ruby/setup-ruby@v1
242
+ uses: ruby/setup-ruby@master
226
243
  with:
227
244
  ruby-version: ${{ matrix.ruby }}
228
245
  bundler-cache: true
246
+ bundler: ${{ env.BUNDLER_VER }}
229
247
 
230
248
  - name: Checkout
231
249
  uses: actions/checkout@v3
232
250
 
233
251
  - name: Bundle
234
252
  run: bundle install --jobs 4 --retry 3
235
-
253
+
236
254
  - name: Download packaged gem
237
- uses: actions/download-artifact@v2
255
+ uses: actions/download-artifact@v3
238
256
  with:
239
257
  name: pkg-linux
240
258
  path: pkg
@@ -255,25 +273,26 @@ jobs:
255
273
  runs-on: windows-latest
256
274
  strategy:
257
275
  fail-fast: false
258
- # Ruby 3.1 fails
259
- # https://github.com/lutaml/expressir/issues/103
276
+ # Ruby 3.1 fails
277
+ # https://github.com/lutaml/expressir/issues/103
260
278
  matrix:
261
279
  ruby: [ '3.1', '3.0', '2.7' ]
262
280
  steps:
263
281
  - name: Install Ruby
264
- uses: ruby/setup-ruby@v1
282
+ uses: ruby/setup-ruby@master
265
283
  with:
266
284
  ruby-version: ${{ matrix.ruby }}
267
285
  bundler-cache: true
286
+ bundler: ${{ env.BUNDLER_VER }}
268
287
 
269
288
  - name: Checkout
270
289
  uses: actions/checkout@v3
271
290
 
272
291
  - name: Bundle
273
292
  run: bundle install --jobs 4 --retry 3
274
-
293
+
275
294
  - name: Download packaged gem
276
- uses: actions/download-artifact@v2
295
+ uses: actions/download-artifact@v3
277
296
  with:
278
297
  name: pkg-windows
279
298
  path: pkg
@@ -11,17 +11,29 @@ on:
11
11
  push:
12
12
  tags: [ v* ]
13
13
 
14
+ concurrency:
15
+ group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
16
+ cancel-in-progress: true
17
+
18
+ env:
19
+ BUNDLER_VER: 2.3.24
20
+ # Forcing bundler version to ensure that it is consistent everywhere and
21
+ # does not cause bundler gem reinstalls
22
+ # bundler/rubygems 2.3.22 is a minimal requirement to support gnu/musl differentiation
23
+ # https://github.com/rubygems/rubygems/pull/4488
24
+
14
25
  jobs:
15
26
  bump:
16
- runs-on: ubuntu-18.04
27
+ runs-on: ubuntu-latest
17
28
  steps:
18
29
  - uses: actions/checkout@v2
19
30
  with:
20
31
  submodules: recursive
21
32
 
22
- - uses: ruby/setup-ruby@v1
33
+ - uses: ruby/setup-ruby@master
23
34
  with:
24
35
  ruby-version: '3.0'
36
+ bundler: ${{ env.BUNDLER_VER }}
25
37
 
26
38
  - if: ${{ github.event_name == 'workflow_dispatch' }} # unfortunatelly cannot keep this condition on job level
27
39
  run: |
@@ -31,7 +43,7 @@ jobs:
31
43
  gem bump --version ${{ github.event.inputs.next_version }} --tag --push
32
44
 
33
45
  pack:
34
- runs-on: ubuntu-18.04
46
+ runs-on: ubuntu-latest
35
47
  needs: bump
36
48
  strategy:
37
49
  fail-fast: false
@@ -43,11 +55,12 @@ jobs:
43
55
  submodules: recursive
44
56
  ref: main # https://github.com/actions/checkout/issues/439#issuecomment-830862188
45
57
 
46
- - uses: ruby/setup-ruby@v1
58
+ - uses: ruby/setup-ruby@master
47
59
  with:
48
60
  ruby-version: '3.0'
49
61
  # bundler-cache: true important to not use cache because it leads to "cannot find -lrice"
50
62
  # more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
63
+ bundler: ${{ env.BUNDLER_VER }}
51
64
 
52
65
  - run: bundle install --jobs 4 --retry 3
53
66
 
@@ -55,7 +68,7 @@ jobs:
55
68
  - run: gem build expressir.gemspec
56
69
 
57
70
  - if: matrix.host == 'linux'
58
- uses: actions/upload-artifact@v2
71
+ uses: actions/upload-artifact@v3
59
72
  with:
60
73
  name: pkg-ruby
61
74
  path: expressir-*.gem
@@ -71,7 +84,7 @@ jobs:
71
84
  # build gem WITH pre-built native extension
72
85
  - run: bundle exec rake gem:${{ matrix.host }}
73
86
 
74
- - uses: actions/upload-artifact@v2
87
+ - uses: actions/upload-artifact@v3
75
88
  with:
76
89
  name: pkg-${{ matrix.host }}
77
90
  path: pkg/*.gem
@@ -80,29 +93,30 @@ jobs:
80
93
  runs-on: ubuntu-18.04
81
94
  needs: pack
82
95
  steps:
83
- - uses: actions/download-artifact@v2
96
+ - uses: actions/download-artifact@v3
84
97
  with:
85
98
  name: pkg-ruby
86
99
  path: pkg
87
100
 
88
- - uses: actions/download-artifact@v2
101
+ - uses: actions/download-artifact@v3
89
102
  with:
90
103
  name: pkg-linux
91
104
  path: pkg
92
105
 
93
- - uses: actions/download-artifact@v2
106
+ - uses: actions/download-artifact@v3
94
107
  with:
95
108
  name: pkg-windows
96
109
  path: pkg
97
110
 
98
- - uses: actions/download-artifact@v2
111
+ - uses: actions/download-artifact@v3
99
112
  with:
100
113
  name: pkg-darwin
101
114
  path: pkg
102
115
 
103
- - uses: ruby/setup-ruby@v1
116
+ - uses: ruby/setup-ruby@master
104
117
  with:
105
118
  ruby-version: '3.0'
119
+ bundler: ${{ env.BUNDLER_VER }}
106
120
 
107
121
  - run: ls -l pkg/
108
122
 
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_from:
2
2
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
6
  SuggestExtensions: false
7
7
  Exclude:
8
8
  - 'vendor/**/*'
data/expressir.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.metadata["source_code_uri"] = spec.homepage
18
18
  spec.metadata["changelog_uri"] = "https://github.com/lutaml/expressir/releases"
19
19
 
20
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
20
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
21
21
 
22
22
  spec.files = `git ls-files`.split("\n")\
23
23
  + Dir.glob("ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/**/*")
@@ -1,3 +1,3 @@
1
1
  module Expressir
2
- VERSION = "1.2.7".freeze
2
+ VERSION = "1.2.8".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expressir
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor