opal-optimizer 0.1.6 → 0.1.7

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: 6498304a0ea20dac60d150ea41df0876ade32476a48a489daca24396686de528
4
- data.tar.gz: e453ead6b82eedb0fd1c03fc38cd2de64a5d1ceda31a55a541e83f50b9ed76d8
3
+ metadata.gz: bf23005730649eb821541375811e4f3fe609b571778edc431f1027d938067c1a
4
+ data.tar.gz: 68677aaf76724edbb197b204524022370f2f583e2f6f353ed89c2bc1438fd3f6
5
5
  SHA512:
6
- metadata.gz: bcbf6fb6a5f209e3cea950be73637504ce830c16a9ef8e7402156b64d82e8905c6406a12e0acbc52feb2a1770a4f869ca1c52b78c6f08b590c6c64df94d7c9c7
7
- data.tar.gz: 941e429601ce081347bad1179f152f0dd5aa0f3b20374cf683e021ca1c00e5e078cd63e44476af127fcc8d21eb0f34b35c605df5ae9a129c2e28c3917c970a59
6
+ metadata.gz: 7918f4b13862e97666dc14c11e6e20cc28a25614cd297fe02f3154ba1d4f497a2a9f2c574fc623ae0d5b279d0e8c3d451ddddfbbb867aaa1d23db6076dab6a3a
7
+ data.tar.gz: c983e86359e2f6d7878ff982b217febdf6f40108c16fa71b4bcd9cdbc21877d6fbea88cc208c237ad0af45c40e7acd4ea917b527260280ec3b04bba0a02df41a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.1.7
2
+
3
+ * Opal 1.6 compatibility
4
+
1
5
  ## v0.1.6
2
6
 
3
7
  * Further Opal 1.4 compatibility
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  class Optimizer
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
@@ -24,12 +24,15 @@ module Opal
24
24
  es.end_with?("TypeError.$$super = Error;\n}).call(this);")
25
25
  @opal_version = 1.0
26
26
  elsif es.start_with?("(function(global_object) {\n \"use strict\";\n\n // @note\n "\
27
- "// A few conventions for the documentation of this file:") &&
28
- es.end_with?("TypeError.$$super = Error;\n}).call(this);")
29
- if es.include? 'function $prop(object,'
30
- @opal_version = 1.4
31
- else
32
- @opal_version = 1.1
27
+ "// A few conventions for the documentation of this file:")
28
+ if es.end_with?("TypeError.$$super = Error;\n}).call(this);")
29
+ if es.include? 'function $prop(object,'
30
+ @opal_version = 1.4
31
+ else
32
+ @opal_version = 1.1
33
+ end
34
+ elsif es.end_with?("Opal.file_sources = {};\n}).call(this);")
35
+ @opal_version = 1.6
33
36
  end
34
37
  end
35
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-optimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - hmdne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-23 00:00:00.000000000 Z
11
+ date: 2022-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rkelly-turbo
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.2.22
91
+ rubygems_version: 3.3.7
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Optimize Opal's resulting javascript code