interscript-maps 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +11 -8
- data/.github/workflows/test.yml +18 -10
- data/interscript-maps.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48704a370df7b611d83ab6cf0f95a99cb989b109b80264e3d8c215cc400b84ae
|
4
|
+
data.tar.gz: 82fde9ce9df7256ab66b89a32474a2bc235c0ab0c404a3c7d08fab4cce20949d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ec1877d3b7daaabb986f163f688e45f8b2fff2f251ab4d43c472600c8ab2741cfcfac4bdf6d17c7d4ce93667b8b077c8eaac509c0b914f9bda8ae192391ea3
|
7
|
+
data.tar.gz: 5d6efecc1e0cc5c3fd224bcd24ec4f4ad2370b12ad6d38c3c17f7d0cb3dfeb66a2cff797018e0639ff0b0a589d1a43af228520ffc4688d2f2b8cb37cdbe27b1c
|
@@ -14,14 +14,13 @@ jobs:
|
|
14
14
|
with:
|
15
15
|
repository: interscript/interscript
|
16
16
|
|
17
|
-
- name: Run
|
17
|
+
- name: Run bootstrap script
|
18
18
|
run: ruby bootstrap.rb
|
19
19
|
|
20
20
|
- uses: ruby/setup-ruby@v1
|
21
21
|
with:
|
22
22
|
ruby-version: '2.7'
|
23
|
-
|
24
|
-
working-directory: ./ruby
|
23
|
+
bundler-cache: true
|
25
24
|
|
26
25
|
- uses: actions/setup-node@v1
|
27
26
|
with:
|
@@ -29,13 +28,17 @@ jobs:
|
|
29
28
|
|
30
29
|
# For now let's install without secryst, as we don't necessarily need it.
|
31
30
|
# We may need to change it once we start to depend on secryst maps.
|
32
|
-
-
|
31
|
+
- name: Install bundle
|
32
|
+
working-directory: ./ruby
|
33
|
+
run: bundle install --jobs 4 --retry 3 --with jsexec --without secryst
|
33
34
|
|
34
|
-
- name: Test
|
35
|
-
|
35
|
+
- name: Test Ruby package
|
36
|
+
working-directory: ./ruby
|
37
|
+
run: bundle exec rake
|
36
38
|
|
37
|
-
- name: Test
|
38
|
-
|
39
|
+
- name: Test JS package
|
40
|
+
working-directory: ./js
|
41
|
+
run: npm install && npm run prepareMaps && npm test
|
39
42
|
|
40
43
|
- name: Publish to rubygems.org
|
41
44
|
env:
|
data/.github/workflows/test.yml
CHANGED
@@ -2,7 +2,7 @@ name: test
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [
|
5
|
+
branches: [ main, v* ]
|
6
6
|
pull_request:
|
7
7
|
|
8
8
|
jobs:
|
@@ -15,15 +15,15 @@ jobs:
|
|
15
15
|
with:
|
16
16
|
repository: interscript/interscript
|
17
17
|
|
18
|
-
- name: Run
|
18
|
+
- name: Run bootstrap script
|
19
19
|
run: ruby bootstrap.rb
|
20
20
|
|
21
21
|
- name: Set up Ruby
|
22
22
|
uses: ruby/setup-ruby@v1
|
23
23
|
with:
|
24
24
|
ruby-version: 2.7
|
25
|
-
|
26
|
-
- name:
|
25
|
+
|
26
|
+
- name: Cache Ruby gems
|
27
27
|
uses: actions/cache@v2
|
28
28
|
env:
|
29
29
|
cache-name: cache-ruby-modules
|
@@ -32,9 +32,17 @@ jobs:
|
|
32
32
|
key: ${{ runner.os }}-ruby-2.7-gems-${{ hashFiles('**/interscript.gemspec') }}
|
33
33
|
restore-keys: |
|
34
34
|
${{ runner.os }}-ruby-2.7-gems-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
|
36
|
+
- name: Configure bundle to use vendor mode
|
37
|
+
run: bundle config path vendor/bundle
|
38
|
+
|
39
|
+
- name: Install bundle
|
40
|
+
working-directory: ./ruby
|
41
|
+
run: |
|
42
|
+
bundle install --jobs 4 --retry 3 --with jsexec --without secryst
|
43
|
+
|
44
|
+
- name: Execute tests
|
45
|
+
working-directory: ./ruby
|
46
|
+
run: |
|
47
|
+
bundle exec rspec spec/interscript_spec.rb spec/map_name_and_metadata_spec.rb
|
48
|
+
|
data/interscript-maps.gemspec
CHANGED