ruby2js 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/ruby2js/converter/class.rb +2 -1
- data/lib/ruby2js/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7be3ac378426bc010a8e435f3be72cf21e2b0097f75e05c320e972df2d40de2
|
|
4
|
+
data.tar.gz: 615394a93302b09a241569996ba0186eda723fafe751ceca62dc4521d0bf3b56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6309c00069f51a2b78f14f4fb2c7d45364449b82f74a1fc91af420bea17f5b4d112b11963a92873baa1f72b049e4d1060221f2fd59b762f3af6a780063be2eb2
|
|
7
|
+
data.tar.gz: ecbed895c7319cbce8e8faafc510a0ab64e4a0e3eb14ed9a2d31ebbef4bcd131d52e8340dbc95d9c6ecdff5dc21c919722e76d74f8f940802b3d55484b1083ae
|
data/README.md
CHANGED
|
@@ -221,7 +221,7 @@ the script.
|
|
|
221
221
|
|
|
222
222
|
* <a id="camelCase" href="https://github.com/rubys/ruby2js/blob/master/lib/ruby2js/filter/camelCase.rb">camelCase</a>
|
|
223
223
|
converts `underscore_case` to `camelCase`. See
|
|
224
|
-
[
|
|
224
|
+
[camelcase_spec](https://github.com/rubys/ruby2js/blob/master/spec/camelcase_spec.rb)
|
|
225
225
|
for examples.
|
|
226
226
|
|
|
227
227
|
* <a id="functions" href="https://github.com/rubys/ruby2js/blob/master/lib/ruby2js/filter/functions.rb">functions</a>
|
|
@@ -196,7 +196,8 @@ module Ruby2JS
|
|
|
196
196
|
|
|
197
197
|
if inheritance
|
|
198
198
|
body.unshift s(:send, name, :prototype=,
|
|
199
|
-
s(:send, s(:const, nil, :Object), :create,
|
|
199
|
+
s(:send, s(:const, nil, :Object), :create,
|
|
200
|
+
s(:attr, inheritance, :prototype))),
|
|
200
201
|
s(:send, s(:attr, name, :prototype), :constructor=, name)
|
|
201
202
|
else
|
|
202
203
|
body.compact!
|
data/lib/ruby2js/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby2js
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Ruby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-10-
|
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parser
|