hyper-component 0.99.5 → 0.99.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/lib/react/element.rb +11 -3
- data/lib/reactive-ruby/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65b78c8ba3d9ce408f7c5b1675a7e0840bdbaebb0d274dcc4f44c59379fd91e9
|
4
|
+
data.tar.gz: a216f84309f2f80f1532528bd805e4693e5fbea667cd55fef082916313419e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cbd1e8b45a0074a42227790018fe5ea707187ca67a8c81ee77fc8799bcec37c3e742d15b38bd4dd8caf4f812fe17683fb73dc2812079a402b7593a97808d4f2
|
7
|
+
data.tar.gz: ffcae57c7ee360d0f72f790acc3b6eb3be8c26b14a6ab1ea4e9fff3621c0e867ece5d07f3e54d12fab5b419fdf5f29b28b4468c6044e20faedf6b610c92e07f1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../hyper-spec
|
3
3
|
specs:
|
4
|
-
hyper-spec (0.99.
|
4
|
+
hyper-spec (0.99.6)
|
5
5
|
capybara
|
6
6
|
chromedriver-helper (= 1.2.0)
|
7
7
|
libv8 (~> 6.7.0)
|
@@ -20,14 +20,14 @@ PATH
|
|
20
20
|
PATH
|
21
21
|
remote: ../hyper-store
|
22
22
|
specs:
|
23
|
-
hyper-store (0.99.
|
24
|
-
hyperloop-config (= 0.99.
|
23
|
+
hyper-store (0.99.6)
|
24
|
+
hyperloop-config (= 0.99.6)
|
25
25
|
opal (>= 0.11.0, < 0.12.0)
|
26
26
|
|
27
27
|
PATH
|
28
28
|
remote: ../hyperloop-config
|
29
29
|
specs:
|
30
|
-
hyperloop-config (0.99.
|
30
|
+
hyperloop-config (0.99.6)
|
31
31
|
libv8 (~> 6.7.0)
|
32
32
|
mini_racer (~> 0.2.4)
|
33
33
|
opal (>= 0.11.0, < 0.12.0)
|
@@ -37,9 +37,9 @@ PATH
|
|
37
37
|
PATH
|
38
38
|
remote: .
|
39
39
|
specs:
|
40
|
-
hyper-component (0.99.
|
41
|
-
hyper-store (= 0.99.
|
42
|
-
hyperloop-config (= 0.99.
|
40
|
+
hyper-component (0.99.6)
|
41
|
+
hyper-store (= 0.99.6)
|
42
|
+
hyperloop-config (= 0.99.6)
|
43
43
|
libv8 (~> 6.7.0)
|
44
44
|
mini_racer (~> 0.2.4)
|
45
45
|
opal (>= 0.11.0, < 0.12.0)
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
adamantium (0.2.0)
|
95
95
|
ice_nine (~> 0.11.0)
|
96
96
|
memoizable (~> 0.4.0)
|
97
|
-
addressable (2.
|
97
|
+
addressable (2.6.0)
|
98
98
|
public_suffix (>= 2.0.2, < 4.0)
|
99
99
|
archive-zip (0.11.0)
|
100
100
|
io-like (~> 0.3.0)
|
@@ -105,7 +105,7 @@ GEM
|
|
105
105
|
babel-source (>= 4.0, < 6)
|
106
106
|
execjs (~> 2.0)
|
107
107
|
builder (3.2.3)
|
108
|
-
capybara (3.
|
108
|
+
capybara (3.13.2)
|
109
109
|
addressable
|
110
110
|
mini_mime (>= 0.1.3)
|
111
111
|
nokogiri (~> 1.8)
|
@@ -345,4 +345,4 @@ DEPENDENCIES
|
|
345
345
|
timecop (~> 0.8.1)
|
346
346
|
|
347
347
|
BUNDLED WITH
|
348
|
-
1.17.
|
348
|
+
1.17.3
|
data/lib/react/element.rb
CHANGED
@@ -127,7 +127,7 @@ module React
|
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
-
def merge_built_in_event_prop!(prop_name)
|
130
|
+
def merge_built_in_event_prop!(prop_name, &block)
|
131
131
|
@properties.merge!(
|
132
132
|
prop_name => %x{
|
133
133
|
function(){
|
@@ -137,9 +137,17 @@ module React
|
|
137
137
|
if (arguments.length > 1) {
|
138
138
|
all_args = Array.prototype.slice.call(arguments);
|
139
139
|
other_args = all_args.slice(1, arguments.length);
|
140
|
-
return #{
|
140
|
+
return #{
|
141
|
+
React::State.ignore_bulk_updates(
|
142
|
+
React::Event.new(`react_event`), *(`other_args`), &block
|
143
|
+
)
|
144
|
+
};
|
141
145
|
} else {
|
142
|
-
return #{
|
146
|
+
return #{
|
147
|
+
React::State.ignore_bulk_updates(
|
148
|
+
React::Event.new(`react_event`), &block
|
149
|
+
)
|
150
|
+
};
|
143
151
|
}
|
144
152
|
}
|
145
153
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyper-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chang
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2019-01-
|
15
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: hyper-store
|
@@ -20,28 +20,28 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - '='
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.99.
|
23
|
+
version: 0.99.6
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - '='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 0.99.
|
30
|
+
version: 0.99.6
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: hyperloop-config
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.99.
|
37
|
+
version: 0.99.6
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - '='
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 0.99.
|
44
|
+
version: 0.99.6
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: libv8
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,14 +158,14 @@ dependencies:
|
|
158
158
|
requirements:
|
159
159
|
- - '='
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.99.
|
161
|
+
version: 0.99.6
|
162
162
|
type: :development
|
163
163
|
prerelease: false
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - '='
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.99.
|
168
|
+
version: 0.99.6
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: jquery-rails
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|