expressir 1.2.6-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: 03e481ebfeda970cbf8896742c748656f4c8301cde155b1c2cc4c95977523e12
4
- data.tar.gz: '049a6c297c3929c70e024b838d360276490ec96caa328f964e6f51fa8fac3a5f'
3
+ metadata.gz: c35ae2b10048dfb51449ddc19d25b11ed84642a742d3e7511534d03ba5ffd318
4
+ data.tar.gz: b0db755775b7a80534db7fb1edbc1fefd7228b21ba0642bb05bc58b4b25f7416
5
5
  SHA512:
6
- metadata.gz: 837a7b01d89cb8dd1164edba3f199a4871ab3fb6e1a10f588c9239e9f40e2ef3c6003675e31df2ce1055f9620b309fd824abd4c2743d1eb480f231f950480ffe
7
- data.tar.gz: 1aee92803dbd53930b1add42ba208d99df258185205f6ac67a22cc8140ecc9ba34869b6dff60b441581d4cd88b5881bb29dde3c0026b7abe9c6d07cc822cebf7
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/**/*")
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_runtime_dependency "thor", "~> 1.0"
35
35
  spec.add_development_dependency "antlr4-native", "~> 2.1.0"
36
36
  spec.add_development_dependency "asciidoctor", "~> 2.0.13"
37
- spec.add_development_dependency "bundler", "~> 2.0"
37
+ spec.add_development_dependency "bundler", "~> 2.3"
38
38
  spec.add_development_dependency "byebug", "~> 11.1"
39
39
  spec.add_development_dependency "pry", "~> 0.12.2"
40
40
  spec.add_development_dependency "rake", "~> 13.0"
@@ -1,3 +1,3 @@
1
1
  module Expressir
2
- VERSION = "1.2.6".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.6
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-05-29 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
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '2.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.0'
68
+ version: '2.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: byebug
71
71
  requirement: !ruby/object:Gem::Requirement