isomorfeus-react 16.9.23 → 16.9.24

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: 34939ed4155f102d97748de0859100bc9194b4b1b46cbf6b6693505ed9700209
4
- data.tar.gz: fd741cec19ca0edd66005bd363708b36accb4be265d53e6b8324e6b77befdbe7
3
+ metadata.gz: eb0a381ef534e8f51dd774e08e419f64472504abbe3889ab2f1d3e8082f1d827
4
+ data.tar.gz: 29ce029bed5b94a19e00900a4254149db48164fc0bda9a1ebb3aff69f0ebdd7d
5
5
  SHA512:
6
- metadata.gz: 061da6a69b022bd369b51b2f73c704240a3d430dc1dccb83dbd129bf248355465becf3453d79ca33cadcf922a289ec225aa9cc2b7fa604c26a7c05495e342ea6
7
- data.tar.gz: 10f12a2463b775148c007ad53b4a5a4d4f7200e0a6956a00061d749d5b1892edbdc8e6ec4a4e511e4e33bb6d0076053a4cdd680d893d16ce61c677f905cb387e
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
- @history = React::Component::History.new(@native.JS[:props].JS[:history])
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
- @location = React::Component::Location.new(@native.JS[:props].JS[:location])
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
- @match = React::Component::Match.new(@native.JS[:props].JS[:match])
48
+ React::Component::Match.new(@native.JS[:props].JS[:match])
52
49
  else
53
50
  @native.JS[:props].JS[:match]
54
51
  end
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = '16.9.23'
2
+ VERSION = '16.9.24'
3
3
  end
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.23
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-29 00:00:00.000000000 Z
11
+ date: 2019-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj