opal 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/bin/opal +4 -2
- data/lib/opal/cli_options.rb +7 -4
- data/lib/opal/version.rb +1 -1
- data/opal/corelib/constants.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6e7fb203e60928ae10285147c9259431ad904bb
|
4
|
+
data.tar.gz: 4e04607172498e81a8c0bac07618b73063cc1071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3166f7678e076072e28efca10316e7e5ddb2a0d8affc87a4f6e08292a79ac0302fe07196a6fcfdad690d7afff02f73c22a704415ff4845781a29f9ded725b6d6
|
7
|
+
data.tar.gz: dbdbe1e68e6af9239ba5edc000225fbe0ada841b01ebd98d3eb95138ee7e541271cc1ae5d663dbbdb244446fe6f07c4f0eaf6dff81dbb0ed8964bbc649309342
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,16 @@ Whitespace conventions:
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
+
## [0.10.1] - 2016-07-06
|
25
|
+
|
26
|
+
|
27
|
+
### Fixed
|
28
|
+
|
29
|
+
- Fixed `-L` option for compiling requires as modules (#1510)
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
24
34
|
## [0.10.0] - 2016-07-04
|
25
35
|
|
26
36
|
|
@@ -849,7 +859,7 @@ Whitespace conventions:
|
|
849
859
|
|
850
860
|
|
851
861
|
|
852
|
-
[0.10.0]: https://github.com/opal/opal/compare/v0.9.4...
|
862
|
+
[0.10.0]: https://github.com/opal/opal/compare/v0.9.4...v0.10.0
|
853
863
|
[0.9.4]: https://github.com/opal/opal/compare/v0.9.3...v0.9.4
|
854
864
|
[0.9.3]: https://github.com/opal/opal/compare/v0.9.2...v0.9.3
|
855
865
|
[0.9.2]: https://github.com/opal/opal/compare/v0.9.1...v0.9.2
|
data/bin/opal
CHANGED
@@ -12,11 +12,13 @@ rescue OptionParser::InvalidOption => e
|
|
12
12
|
end
|
13
13
|
|
14
14
|
require 'opal/cli'
|
15
|
-
|
15
|
+
options_hash = options.options
|
16
|
+
options_hash.merge!(
|
16
17
|
file: ARGF.file,
|
17
18
|
filename: ARGF.filename,
|
18
19
|
argv: ARGV.dup
|
19
|
-
)
|
20
|
+
) unless options_hash[:lib_only]
|
21
|
+
cli = Opal::CLI.new options_hash
|
20
22
|
|
21
23
|
begin
|
22
24
|
cli.run
|
data/lib/opal/cli_options.rb
CHANGED
@@ -97,10 +97,6 @@ module Opal
|
|
97
97
|
options[:no_exit] = true
|
98
98
|
end
|
99
99
|
|
100
|
-
on('-L', '--library', 'Generate only the code of the library. Omit [programfile] and [-e]') do |no_exit|
|
101
|
-
options[:lib_only] = true
|
102
|
-
end
|
103
|
-
|
104
100
|
section 'Compilation Options:'
|
105
101
|
|
106
102
|
on('-M', '--no-method-missing', 'Enable/Disable method missing') do
|
@@ -135,6 +131,13 @@ module Opal
|
|
135
131
|
options[:file] = file
|
136
132
|
end
|
137
133
|
|
134
|
+
on('-L', '--library', 'Compile only required libraries. Omit [programfile] and [-e]. Assumed [-cOE].') do
|
135
|
+
options[:lib_only] = true
|
136
|
+
options[:no_exit] = true
|
137
|
+
options[:compile] = true
|
138
|
+
options[:skip_opal_require] = true
|
139
|
+
end
|
140
|
+
|
138
141
|
on("--irb", "Enable IRB var mode") do
|
139
142
|
options[:irb] = true
|
140
143
|
end
|
data/lib/opal/version.rb
CHANGED
data/opal/corelib/constants.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
RUBY_PLATFORM = 'opal'
|
2
2
|
RUBY_ENGINE = 'opal'
|
3
3
|
RUBY_VERSION = '2.2.3'
|
4
|
-
RUBY_ENGINE_VERSION = '0.10.
|
5
|
-
RUBY_RELEASE_DATE = '2016-07-
|
4
|
+
RUBY_ENGINE_VERSION = '0.10.1'
|
5
|
+
RUBY_RELEASE_DATE = '2016-07-06'
|
6
6
|
RUBY_PATCHLEVEL = 0
|
7
7
|
RUBY_REVISION = 0
|
8
8
|
RUBY_COPYRIGHT = 'opal - Copyright (C) 2013-2015 Adam Beynon'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Beynon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sourcemap
|