isomorfeus-react 16.9.23 → 16.9.24
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/lib/react/component/props.rb +3 -6
- data/lib/react/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: eb0a381ef534e8f51dd774e08e419f64472504abbe3889ab2f1d3e8082f1d827
|
|
4
|
+
data.tar.gz: 29ce029bed5b94a19e00900a4254149db48164fc0bda9a1ebb3aff69f0ebdd7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51e1d414d4ce1af50e8f36d7b72af0b87e4087401794fc133a7a9f8733631b2bba9d2b97838d2e0afc06f03a8b1571695f89ca93d6fa269f494e39136cd3627f
|
|
7
|
+
data.tar.gz: 485b75678f72ae315c1847616bedf4fe6c5b469815d3810900eed6f5e044bf9360ae1aab2179e276d0d0e59531f339a21870bc27fd6fa98c41309f66fc344826
|
|
@@ -25,30 +25,27 @@ module React
|
|
|
25
25
|
|
|
26
26
|
# for router convenience
|
|
27
27
|
def history
|
|
28
|
-
return @history if @history
|
|
29
28
|
return nil unless @native.JS[:props].JS[:history]
|
|
30
29
|
if @native.JS[:props].JS[:history].JS[:pathname]
|
|
31
|
-
|
|
30
|
+
React::Component::History.new(@native.JS[:props].JS[:history])
|
|
32
31
|
else
|
|
33
32
|
@native.JS[:props].JS[:history]
|
|
34
33
|
end
|
|
35
34
|
end
|
|
36
35
|
|
|
37
36
|
def location
|
|
38
|
-
return @location if @location
|
|
39
37
|
return nil unless @native.JS[:props].JS[:location]
|
|
40
38
|
if @native.JS[:props].JS[:location].JS[:pathname]
|
|
41
|
-
|
|
39
|
+
React::Component::Location.new(@native.JS[:props].JS[:location])
|
|
42
40
|
else
|
|
43
41
|
@native.JS[:props].JS[:location]
|
|
44
42
|
end
|
|
45
43
|
end
|
|
46
44
|
|
|
47
45
|
def match
|
|
48
|
-
return @match if @match
|
|
49
46
|
return nil unless @native.JS[:props].JS[:match]
|
|
50
47
|
if @native.JS[:props].JS[:match].JS[:path]
|
|
51
|
-
|
|
48
|
+
React::Component::Match.new(@native.JS[:props].JS[:match])
|
|
52
49
|
else
|
|
53
50
|
@native.JS[:props].JS[:match]
|
|
54
51
|
end
|
data/lib/react/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isomorfeus-react
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 16.9.
|
|
4
|
+
version: 16.9.24
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Biedermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oj
|