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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 992ac16e12c48dbaef85eb0de3bd6077fa0859cf
4
- data.tar.gz: 8245d6ef34cc2555d0d23a505f35c5a6215162ae
3
+ metadata.gz: a6e7fb203e60928ae10285147c9259431ad904bb
4
+ data.tar.gz: 4e04607172498e81a8c0bac07618b73063cc1071
5
5
  SHA512:
6
- metadata.gz: a2e595513e93d7a7ddec468dcb3ae4ebadee844d042419f80403669b0e2047f8a54a00b736e9fa3408fac685df0f3aaf6894a4f816d814c914708fda00f546e8
7
- data.tar.gz: 168be2c9aa3823a6ad810892e3408314bfe538bc776004bc33c8239f6dcfce25ef72e63563fa869347c56ff70809c924e151aca3102a58e9ea3e4bc08aaa1213
6
+ metadata.gz: 3166f7678e076072e28efca10316e7e5ddb2a0d8affc87a4f6e08292a79ac0302fe07196a6fcfdad690d7afff02f73c22a704415ff4845781a29f9ded725b6d6
7
+ data.tar.gz: dbdbe1e68e6af9239ba5edc000225fbe0ada841b01ebd98d3eb95138ee7e541271cc1ae5d663dbbdb244446fe6f07c4f0eaf6dff81dbb0ed8964bbc649309342
@@ -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...HEAD
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
- cli = Opal::CLI.new options.options.merge(
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
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  # WHEN RELEASING:
3
3
  # Remember to update RUBY_ENGINE_VERSION in opal/corelib/constants.rb too!
4
- VERSION = '0.10.0'
4
+ VERSION = '0.10.1'
5
5
  end
@@ -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.0'
5
- RUBY_RELEASE_DATE = '2016-07-04'
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sourcemap