interscript-maps 2.4.0 → 2.4.1

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: c2ca94b73ea25fcae4ea101ebeb42ac20783ba629fe7990ddc19ec78b0b43f1e
4
- data.tar.gz: ae5e4cb1bb63298a33585c298272883dff6e710a5848e51bf8ab2e570a106db6
3
+ metadata.gz: 48704a370df7b611d83ab6cf0f95a99cb989b109b80264e3d8c215cc400b84ae
4
+ data.tar.gz: 82fde9ce9df7256ab66b89a32474a2bc235c0ab0c404a3c7d08fab4cce20949d
5
5
  SHA512:
6
- metadata.gz: 341faa8f0b8d0f4b65b46aa9f1750e1a3c2777bbb4db6997a8f01e6f613aeb2218e7b3925313c73fe7220102a26dc3d22f69e7b23b49f3e17793603e5d93624d
7
- data.tar.gz: 7a39f13ad166287c3a6db9a9ef5e055d92f732c478c434aa1a07814254074ef6654b462bfd960a4abc9d21991b1bbdfcb80cbcbe5cb74ed45571604ed46a7777
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 a bootstrap script
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
- architecture: 'x64'
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
- - run: pushd ruby && bundle install --jobs 4 --retry 3 --with jsexec --without secryst && popd
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 the Ruby package
35
- run: pushd ruby && bundle exec rake && popd
35
+ - name: Test Ruby package
36
+ working-directory: ./ruby
37
+ run: bundle exec rake
36
38
 
37
- - name: Test the JS package
38
- run: pushd js && npm install && npm run prepareMaps && npm test && popd
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:
@@ -2,7 +2,7 @@ name: test
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master, v* ]
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 a bootstrap script
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: cache ruby gems
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
- - run: |
37
- bundle config path vendor/bundle
38
- pushd ruby && bundle install --jobs 4 --retry 3 --with jsexec --without secryst && popd
39
-
40
- - run: pushd ruby && bundle exec rspec spec/interscript_spec.rb spec/map_name_and_metadata_spec.rb && popd
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
+
@@ -1,4 +1,4 @@
1
- INTERSCRIPT_MAPS_VERSION="2.4.0"
1
+ INTERSCRIPT_MAPS_VERSION="2.4.1"
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "interscript-maps"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interscript-maps
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.