opal 1.1.0.rc1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/benchmark-ips/bm_js_symbols_vs_strings.rb +7 -2
- data/lib/opal/version.rb +1 -1
- data/opal.gemspec +1 -1
- data/opal/corelib/constants.rb +2 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf169fc98d390d965c39386668f569467dc11db3eff5f2571db172f9f632b02
|
4
|
+
data.tar.gz: 7d4d4e0de908d931ca39ac6d05d5fcbc1f1f1c1585e0cad22549ad31129f4064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c80d8bcb148c8c8563b88c0e482f77937e4f4e8cc2144a5f9f83ea1e4b914a3e3bf7888b591d9721a20e050a64e08ddb099af7c5b4cb939d8c2f8472a662c9d
|
7
|
+
data.tar.gz: e04acce5335dd3ffe2bafdd40425ad788ff50316240d7863c7b8256b97f69a48a7f18cdcb9d9c1ddf0b738e366d5290b510ed6978735661a8f59f3e9003d3148
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (C) 2013-
|
1
|
+
Copyright (C) 2013-2021 by Adam Beynon and the Opal contributors
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
4
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -250,7 +250,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
|
|
250
250
|
|
251
251
|
(The MIT License)
|
252
252
|
|
253
|
-
Copyright (C) 2013-
|
253
|
+
Copyright (C) 2013-2021 by Adam Beynon and the Opal contributors
|
254
254
|
|
255
255
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
256
256
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -4,15 +4,20 @@ Benchmark.ips do |x|
|
|
4
4
|
o[Symbol.for('foo')] = 123
|
5
5
|
o.foo = 123
|
6
6
|
var foo = Symbol('foo')
|
7
|
+
var gfoo = Symbol.for('foo')
|
7
8
|
o[foo] = 123
|
8
9
|
var a = 0, b = 0, c = 0
|
9
10
|
}
|
10
11
|
|
11
|
-
x.report('global symbol') do
|
12
|
+
x.report('live global symbol') do
|
12
13
|
`a += o[Symbol.for('foo')]`
|
13
14
|
end
|
14
15
|
|
15
|
-
x.report('symbol') do
|
16
|
+
x.report('stored global symbol') do
|
17
|
+
`a += o[gfoo]`
|
18
|
+
end
|
19
|
+
|
20
|
+
x.report('stored symbol') do
|
16
21
|
`a += o[foo]`
|
17
22
|
end
|
18
23
|
|
data/lib/opal/version.rb
CHANGED
data/opal.gemspec
CHANGED
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
|
|
43
43
|
spec.add_development_dependency 'bundler'
|
44
44
|
spec.add_development_dependency 'rack-test'
|
45
45
|
spec.add_development_dependency 'selenium-webdriver'
|
46
|
-
spec.add_development_dependency 'benchmark-ips'
|
46
|
+
spec.add_development_dependency 'benchmark-ips', '< 2.8'
|
47
47
|
spec.add_development_dependency 'sinatra'
|
48
48
|
spec.add_development_dependency 'rubocop', '~> 0.67.0'
|
49
49
|
spec.add_development_dependency 'rubocop-performance', '~> 1.1.0'
|
data/opal/corelib/constants.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
RUBY_PLATFORM = 'opal'
|
2
2
|
RUBY_ENGINE = 'opal'
|
3
3
|
RUBY_VERSION = '3.0.0'
|
4
|
-
RUBY_ENGINE_VERSION = '1.1.0
|
5
|
-
RUBY_RELEASE_DATE = '2021-
|
4
|
+
RUBY_ENGINE_VERSION = '1.1.0'
|
5
|
+
RUBY_RELEASE_DATE = '2021-02-19'
|
6
6
|
RUBY_PATCHLEVEL = 0
|
7
7
|
RUBY_REVISION = '0'
|
8
8
|
RUBY_COPYRIGHT = 'opal - Copyright (C) 2013-2021 Adam Beynon and the Opal contributors'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ast
|
@@ -142,16 +142,16 @@ dependencies:
|
|
142
142
|
name: benchmark-ips
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - "
|
145
|
+
- - "<"
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
147
|
+
version: '2.8'
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- - "
|
152
|
+
- - "<"
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: '
|
154
|
+
version: '2.8'
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: sinatra
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1056,10 +1056,10 @@ licenses:
|
|
1056
1056
|
metadata:
|
1057
1057
|
homepage_uri: https://opalrb.com/
|
1058
1058
|
bug_tracker_uri: https://github.com/opal/opal/issues
|
1059
|
-
changelog_uri: https://github.com/opal/opal/blob/v1.1.0
|
1060
|
-
readme_uri: https://github.com/opal/opal/blob/v1.1.0
|
1061
|
-
api_documentation_uri: http://opalrb.com/docs/api/v1.1.0
|
1062
|
-
guides_uri: http://opalrb.com/docs/guides/v1.1.0
|
1059
|
+
changelog_uri: https://github.com/opal/opal/blob/v1.1.0/CHANGELOG.md
|
1060
|
+
readme_uri: https://github.com/opal/opal/blob/v1.1.0/README.md
|
1061
|
+
api_documentation_uri: http://opalrb.com/docs/api/v1.1.0/index.html
|
1062
|
+
guides_uri: http://opalrb.com/docs/guides/v1.1.0/index.html
|
1063
1063
|
chat_uri: https://gitter.im/opal/opal
|
1064
1064
|
source_code_uri: https://github.com/opal/opal
|
1065
1065
|
post_install_message:
|
@@ -1073,9 +1073,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1073
1073
|
version: '2.3'
|
1074
1074
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1075
1075
|
requirements:
|
1076
|
-
- - "
|
1076
|
+
- - ">="
|
1077
1077
|
- !ruby/object:Gem::Version
|
1078
|
-
version:
|
1078
|
+
version: '0'
|
1079
1079
|
requirements: []
|
1080
1080
|
rubygems_version: 3.2.3
|
1081
1081
|
signing_key:
|