Skip to content

Commit 9c07245

Browse files
author
webdev778
authored
Merge pull request #745 from interscript/v2.4
V2.4
2 parents 0127919 + dac0ad6 commit 9c07245

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+71
-1132
lines changed

.github/workflows/assets.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
BUNDLE_WITHOUT: "secryst:jsexec"
1313
SKIP_JS: "1"
1414
steps:
15-
- name: Checkout repository and submodules
15+
- name: Checkout repository
1616
uses: actions/checkout@v2
1717
with:
18-
submodules: true
18+
repository: interscript/interscript
19+
- name: Run a bootstrap script
20+
run: ruby bootstrap.rb
1921
- name: Use Ruby
2022
uses: ruby/setup-ruby@v1
2123
with:

.github/workflows/rake.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ name: rake
22

33
on:
44
push:
5-
branches: [ master, main ]
5+
branches: [ master, v* ]
66
tags: [ v* ]
77
pull_request:
88

9-
defaults:
10-
run:
11-
working-directory: ./ruby
12-
139
jobs:
1410
rspec:
1511
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
@@ -37,10 +33,13 @@ jobs:
3733
SKIP_JS: "1"
3834

3935
steps:
40-
- name: Checkout repository and submodules
36+
- name: Checkout repository
4137
uses: actions/checkout@v2
4238
with:
43-
submodules: true
39+
repository: interscript/interscript
40+
41+
- name: Run a bootstrap script
42+
run: ruby bootstrap.rb
4443

4544
- name: Use Ruby
4645
uses: ruby/setup-ruby@v1
@@ -51,5 +50,7 @@ jobs:
5150

5251
- name: Run RSpecs
5352
run: |
53+
pushd ruby
5454
bundle install --with=jsexec
5555
bundle exec rspec -f f
56+
popd

.github/workflows/release.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
1314
with:
14-
submodules: true
15+
repository: interscript/interscript
1516

16-
- uses: actions/setup-ruby@v1
17+
- name: Run a bootstrap script
18+
run: ruby bootstrap.rb
19+
20+
- uses: ruby/setup-ruby@v1
1721
with:
1822
ruby-version: '2.7'
1923
architecture: 'x64'
24+
working-directory: ./ruby
2025

2126
- uses: actions/setup-node@v1
2227
with:
@@ -43,26 +48,10 @@ jobs:
4348
:rubygems_api_key: ${RUBYGEMS_API_KEY}
4449
EOF
4550
chmod 0600 ~/.gem/credentials
46-
pushd js
47-
git status
48-
popd
49-
pushd maps
50-
git status
51-
gem release
52-
popd
5351
pushd ruby
5452
git status
5553
gem release
5654
popd
57-
- name: Publish to npmjs.org
58-
env:
59-
NPMJS_TOKEN: ${{secrets.INTERSCRIPT_NPM_TOKEN}}
60-
run: |
61-
pushd js
62-
npm config set //registry.npmjs.org/:_authToken=$NPMJS_TOKEN
63-
npm run prepareMaps
64-
npm publish
65-
popd
6655
6756
# Let's keep it commented out for now. Please uncomment it once you are ready with
6857
# interscript-api to support Interscript v2.

.gitignore

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
/coverage/
55
/InstalledFiles
66
/pkg/
7-
/ruby/spec/reports/
8-
/ruby/spec/examples.txt
9-
/ruby/test/tmp/
10-
/ruby/test/version_tmp/
11-
/ruby/tmp/
12-
/ruby/Gemfile.lock
7+
/spec/reports/
8+
/spec/examples.txt
9+
/test/tmp/
10+
/test/version_tmp/
11+
/tmp/
12+
/Gemfile.lock
1313

1414
# Used by dotenv library to load environment variables.
1515
# .env
@@ -20,10 +20,10 @@
2020
## Specific to RubyMotion:
2121
.dat*
2222
.repl_history
23-
/ruby/build/
23+
/build/
2424
*.bridgesupport
25-
/ruby/build-iPhoneOS/
26-
/ruby/build-iPhoneSimulator/
25+
/build-iPhoneOS/
26+
/build-iPhoneSimulator/
2727

2828
## Specific to RubyMotion (use of CocoaPods):
2929
#
@@ -34,15 +34,15 @@
3434
# vendor/Pods/
3535

3636
## Documentation cache and generated files:
37-
/ruby/.yardoc/
38-
/ruby/_yardoc/
39-
/ruby/doc/
40-
/ruby/rdoc/
37+
/.yardoc/
38+
/_yardoc/
39+
/doc/
40+
/rdoc/
4141

4242
## Environment normalization:
43-
/ruby/.bundle/
44-
/ruby/vendor/bundle
45-
/ruby/lib/bundler/man/
43+
/.bundle/
44+
/vendor/bundle
45+
/lib/bundler/man/
4646

4747
# for a library or gem, you might want to ignore these files since the code is
4848
# intended to run in multiple environments; otherwise, check them in:
@@ -51,21 +51,29 @@
5151
# .ruby-gemset
5252

5353
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54-
/ruby/.rvmrc
54+
/.rvmrc
5555

5656
# Don't bundle generated files
57-
/ruby/visualizations
58-
/ruby/json
59-
/ruby/vis_json
60-
/ruby/auth_json
61-
/ruby/metadata.json
62-
/ruby/compiled
57+
/visualizations
58+
/json
59+
/vis_json
60+
/auth_json
61+
/metadata.json
62+
/compiled
6363

6464
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
6565
# .rubocop-https?--*
66-
/js/src/maps
67-
/js/node_modules
6866

6967
#misic
7068
.idea
71-
.bundle
69+
.bundle/.bundle/
70+
/.yardoc
71+
/_yardoc/
72+
/coverage/
73+
/doc/
74+
/pkg/
75+
/spec/reports/
76+
/tmp/
77+
78+
# rspec failure tracking
79+
.rspec_status

.gitmodules

Lines changed: 0 additions & 6 deletions
This file was deleted.

ruby/.rspec renamed to .rspec

File renamed without changes.

ruby/Gemfile renamed to Gemfile

File renamed without changes.

0 commit comments

Comments
 (0)