expressir 1.2.6-x64-mingw32 → 1.2.8-x64-mingw32

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: 9dfac3046d059f5e54c3be7cbfef1b303bb16fce6bbe8d094714218968579cbf
4
- data.tar.gz: b08e543f2091f892596def64728dc1a9f62d2679ae76b9d5852e7b18f90fba65
3
+ metadata.gz: 06d39a5e392b483591574b9e7726bdfb0694de9e37f3e2ce6acef76b2ace82b8
4
+ data.tar.gz: e38cf796d057edd6c3d6b42b2edcb83e78ed3519297cf856f6faa2716b68c0bf
5
5
  SHA512:
6
- metadata.gz: 334a71af5b5bd677d0a7e1bb6010247885030b999b14bed32753819886567534433507bece1ce3c630a33bac454dbe590625fb1071fa7b2b7ce9b12e4ce3b1f7
7
- data.tar.gz: 5f3d71a76f0d7bb5c5660d7fd932842bd74af7033f20905d9aac8e0da4efa2b2ec59c7633389d4bf4df7b8a7d8e34b635ddd088a8214ecc01ba91ffd80ec9a73
6
+ metadata.gz: 9482b16bd6a7ea4bf50760e8ddd4ef83ec2df862993d9dfb8a25e629dc5ce0e5cb163d2290e074ca6a7c0578c03bf5d668b68249d229cd8a0884aa50d27fea27
7
+ data.tar.gz: 2f0a1c8407d5331cb528fc604e2fe67bbea67d9fff7d4cf3629f3dcf9ff7db172bc7a7cf29c99a30dca868a35edd27f6e0c7ff7b22391cbd53267e7089b5324b
@@ -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: x64-mingw32
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