Skip to content

Commit 1536185

Browse files
authored
Merge pull request #198 from smalruby/merge/smalruby3-desktop
Merge/smalruby3 desktop
2 parents 32d18bf + b0863ad commit 1536185

14 files changed

+34
-38
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules/*
22
build/*
33
dist/*
44
static/javascripts/*
5+
opal/*

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ npm-*
1717
# generated translation files
1818
/translations
1919
/locale
20+
21+
# generated opal files
22+
/static/javascripts/setup-opal.js

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ install:
2323
script:
2424
- npm run test:lint
2525
- npm run test:unit
26-
- npm run clean && $(npm bin)/webpack --colors --bail --silent
26+
- npm run clean && npm run setup-opal && $(npm bin)/webpack --colors --bail --silent
2727
- npm run test:integration
2828
deploy:
2929
- provider: script

LEGAL

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ test/unit/lib/ruby-generator.test.jsx
4646

4747
These files are licensed under the MIT License (see the file LICENSE).
4848

49-
static/javascripts/opal.js
50-
static/javascripts/opal.min.js
51-
static/javascripts/opal-parser.js
52-
static/javascripts/opal-parser.min.js
49+
opal/opal.js
50+
opal/opal.min.js
51+
opal/opal-parser.js
52+
opal/opal-parser.min.js
5353

5454
These files are licensed under the MIT License
5555
(see https://github.com/opal/opal/blob/master/LICENSE ).

LICENSE

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
Copyright (c) 2018 Ruby Programming Shounendan
2+
All rights reserved.
23

3-
MIT License
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
45

5-
Permission is hereby granted, free of charge, to any person obtaining
6-
a copy of this software and associated documentation files (the
7-
"Software"), to deal in the Software without restriction, including
8-
without limitation the rights to use, copy, modify, merge, publish,
9-
distribute, sublicense, and/or sell copies of the Software, and to
10-
permit persons to whom the Software is furnished to do so, subject to
11-
the following conditions:
6+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
127

13-
The above copyright notice and this permission notice shall be
14-
included in all copies or substantial portions of the Software.
8+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
159

16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

opal/config-opal-parser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Opal.load('opal-parser');
2+
Opal.load('parser');
3+
Opal.load('parser/ruby23');
4+
Opal.Parser.CurrentRuby = Opal.Parser.Ruby23;

opal/config-opal.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Opal.load('opal');
2+
Opal.config.unsupported_features_severity = 'ignore';
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)