expressir 1.1.0 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.cross_rubies +9 -18
- data/.github/workflows/rake.yml +50 -5
- data/.github/workflows/release.yml +12 -3
- data/.gitmodules +1 -1
- data/.hound.yml +3 -0
- data/.rubocop.yml +6 -506
- data/expressir.gemspec +3 -3
- data/ext/express-parser/express_parser.cpp +4361 -2955
- data/ext/express-parser/extconf.rb +6 -3
- data/lib/expressir/model/repository.rb +3 -5
- data/lib/expressir/version.rb +1 -1
- data/rakelib/cross-ruby.rake +10 -2
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed22396a4091ea7d3a8566db42a74806abfc53fae2af66bdac4c2a0dc76080cb
|
4
|
+
data.tar.gz: 15b525668cbd513ec35e17e3ff73971923db791ecb1bab098a9d085440b8daf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2629d400d4d0892e79a3ae66693ae737b01d9234a585ee2ec40bc9be6a15c7de8c28698fefc6d9b78f65d50d730435e74fd3b4ac52b5d573a7b927931ffa4bf
|
7
|
+
data.tar.gz: 8956af3892298332b0f4c8b27ca2bbaf1132f199dc6216d7a66f35fcee3d13ad429ff514bc6fecd97acf4b11e0f07547359f335b4f3389b13014b89d83650129
|
data/.cross_rubies
CHANGED
@@ -1,30 +1,21 @@
|
|
1
|
+
3.1.0:i686-w64-mingw32
|
2
|
+
3.1.0:x86_64-w64-mingw32
|
3
|
+
3.1.0:i686-linux-gnu
|
4
|
+
3.1.0:x86_64-linux-gnu
|
5
|
+
3.1.0:aarch64-linux-gnu
|
6
|
+
3.1.0:x86_64-darwin
|
7
|
+
3.1.0:arm64-darwin
|
1
8
|
3.0.0:i686-w64-mingw32
|
2
9
|
3.0.0:x86_64-w64-mingw32
|
3
10
|
3.0.0:i686-linux-gnu
|
4
11
|
3.0.0:x86_64-linux-gnu
|
12
|
+
3.0.0:aarch64-linux-gnu
|
5
13
|
3.0.0:x86_64-darwin
|
6
14
|
3.0.0:arm64-darwin
|
7
15
|
2.7.0:i686-w64-mingw32
|
8
16
|
2.7.0:x86_64-w64-mingw32
|
9
17
|
2.7.0:i686-linux-gnu
|
10
18
|
2.7.0:x86_64-linux-gnu
|
19
|
+
2.7.0:aarch64-linux-gnu
|
11
20
|
2.7.0:x86_64-darwin
|
12
21
|
2.7.0:arm64-darwin
|
13
|
-
2.6.0:i686-w64-mingw32
|
14
|
-
2.6.0:x86_64-w64-mingw32
|
15
|
-
2.6.0:i686-linux-gnu
|
16
|
-
2.6.0:x86_64-linux-gnu
|
17
|
-
2.6.0:x86_64-darwin
|
18
|
-
2.6.0:arm64-darwin
|
19
|
-
2.5.0:i686-w64-mingw32
|
20
|
-
2.5.0:x86_64-w64-mingw32
|
21
|
-
2.5.0:i686-linux-gnu
|
22
|
-
2.5.0:x86_64-linux-gnu
|
23
|
-
2.5.0:x86_64-darwin
|
24
|
-
2.5.0:arm64-darwin
|
25
|
-
2.4.0:i686-w64-mingw32
|
26
|
-
2.4.0:x86_64-w64-mingw32
|
27
|
-
2.4.0:i686-linux-gnu
|
28
|
-
2.4.0:x86_64-linux-gnu
|
29
|
-
2.4.0:x86_64-darwin
|
30
|
-
2.4.0:arm64-darwin
|
data/.github/workflows/rake.yml
CHANGED
@@ -2,7 +2,7 @@ name: rake
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [ master ]
|
5
|
+
branches: [ master, main ]
|
6
6
|
pull_request:
|
7
7
|
|
8
8
|
jobs:
|
@@ -13,17 +13,17 @@ jobs:
|
|
13
13
|
strategy:
|
14
14
|
fail-fast: false
|
15
15
|
matrix:
|
16
|
-
ruby: [ '
|
16
|
+
ruby: [ '3.1', '3.0', '2.7' ]
|
17
17
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
18
18
|
experimental: [ false ]
|
19
19
|
include:
|
20
|
-
- ruby: '
|
20
|
+
- ruby: 'head'
|
21
21
|
os: 'ubuntu-latest'
|
22
22
|
experimental: true
|
23
|
-
- ruby: '
|
23
|
+
- ruby: 'head'
|
24
24
|
os: 'windows-latest'
|
25
25
|
experimental: true
|
26
|
-
- ruby: '
|
26
|
+
- ruby: 'head'
|
27
27
|
os: 'macos-latest'
|
28
28
|
experimental: true
|
29
29
|
|
@@ -49,3 +49,48 @@ jobs:
|
|
49
49
|
run: bundle exec rake compile
|
50
50
|
|
51
51
|
- run: bundle exec rake
|
52
|
+
|
53
|
+
# test release workflow
|
54
|
+
pack:
|
55
|
+
runs-on: ubuntu-18.04
|
56
|
+
strategy:
|
57
|
+
fail-fast: false
|
58
|
+
matrix:
|
59
|
+
host: [ linux, windows, darwin ]
|
60
|
+
steps:
|
61
|
+
- uses: actions/checkout@v2
|
62
|
+
with:
|
63
|
+
submodules: recursive
|
64
|
+
|
65
|
+
- uses: ruby/setup-ruby@v1
|
66
|
+
with:
|
67
|
+
ruby-version: '3.0'
|
68
|
+
# bundler-cache: true important to not use cache because it leads to "cannot find -lrice"
|
69
|
+
# more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
|
70
|
+
|
71
|
+
- run: bundle install --jobs 4 --retry 3
|
72
|
+
|
73
|
+
# build gem WITHOUT pre-built native extension
|
74
|
+
- run: gem build expressir.gemspec
|
75
|
+
|
76
|
+
- if: matrix.host == 'linux'
|
77
|
+
uses: actions/upload-artifact@v2
|
78
|
+
with:
|
79
|
+
name: pkg-ruby
|
80
|
+
path: expressir-*.gem
|
81
|
+
|
82
|
+
- name: Enable swap
|
83
|
+
run: |
|
84
|
+
sudo fallocate -l 15g /compile.swap
|
85
|
+
sudo chmod 600 /compile.swap
|
86
|
+
sudo mkswap /compile.swap
|
87
|
+
sudo swapon /compile.swap
|
88
|
+
sudo swapon --all --verbose
|
89
|
+
|
90
|
+
# build gem WITH pre-built native extension
|
91
|
+
- run: bundle exec rake gem:${{ matrix.host }}
|
92
|
+
|
93
|
+
- uses: actions/upload-artifact@v2
|
94
|
+
with:
|
95
|
+
name: pkg-${{ matrix.host }}
|
96
|
+
path: pkg/*.gem
|
@@ -21,7 +21,7 @@ jobs:
|
|
21
21
|
|
22
22
|
- uses: ruby/setup-ruby@v1
|
23
23
|
with:
|
24
|
-
ruby-version: '
|
24
|
+
ruby-version: '3.0'
|
25
25
|
|
26
26
|
- if: ${{ github.event_name == 'workflow_dispatch' }} # unfortunatelly cannot keep this condition on job level
|
27
27
|
run: |
|
@@ -41,10 +41,11 @@ jobs:
|
|
41
41
|
- uses: actions/checkout@v2
|
42
42
|
with:
|
43
43
|
submodules: recursive
|
44
|
+
ref: main # https://github.com/actions/checkout/issues/439#issuecomment-830862188
|
44
45
|
|
45
46
|
- uses: ruby/setup-ruby@v1
|
46
47
|
with:
|
47
|
-
ruby-version: '
|
48
|
+
ruby-version: '3.0'
|
48
49
|
# bundler-cache: true important to not use cache because it leads to "cannot find -lrice"
|
49
50
|
# more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
|
50
51
|
|
@@ -59,6 +60,14 @@ jobs:
|
|
59
60
|
name: pkg-ruby
|
60
61
|
path: expressir-*.gem
|
61
62
|
|
63
|
+
- name: Enable swap
|
64
|
+
run: |
|
65
|
+
sudo fallocate -l 15g /compile.swap
|
66
|
+
sudo chmod 600 /compile.swap
|
67
|
+
sudo mkswap /compile.swap
|
68
|
+
sudo swapon /compile.swap
|
69
|
+
sudo swapon --all --verbose
|
70
|
+
|
62
71
|
# build gem WITH pre-built native extension
|
63
72
|
- run: bundle exec rake gem:${{ matrix.host }}
|
64
73
|
|
@@ -93,7 +102,7 @@ jobs:
|
|
93
102
|
|
94
103
|
- uses: ruby/setup-ruby@v1
|
95
104
|
with:
|
96
|
-
ruby-version: '
|
105
|
+
ruby-version: '3.0'
|
97
106
|
|
98
107
|
- run: ls -l pkg/
|
99
108
|
|
data/.gitmodules
CHANGED
data/.hound.yml
ADDED