isomorfeus-react 16.9.22 → 16.9.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus-react.rb +0 -2
- data/lib/react/version.rb +1 -1
- metadata +3 -4
- data/lib/isomorfeus/execution_environment.rb +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34939ed4155f102d97748de0859100bc9194b4b1b46cbf6b6693505ed9700209
|
4
|
+
data.tar.gz: fd741cec19ca0edd66005bd363708b36accb4be265d53e6b8324e6b77befdbe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061da6a69b022bd369b51b2f73c704240a3d430dc1dccb83dbd129bf248355465becf3453d79ca33cadcf922a289ec225aa9cc2b7fa604c26a7c05495e342ea6
|
7
|
+
data.tar.gz: 10f12a2463b775148c007ad53b4a5a4d4f7200e0a6956a00061d749d5b1892edbdc8e6ec4a4e511e4e33bb6d0076053a4cdd680d893d16ce61c677f905cb387e
|
data/lib/isomorfeus-react.rb
CHANGED
data/lib/react/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 4.0.
|
89
|
+
version: 4.0.14
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 4.0.
|
96
|
+
version: 4.0.14
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: isomorfeus-speednode
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,7 +169,6 @@ files:
|
|
169
169
|
- lib/isomorfeus-react-material-ui.rb
|
170
170
|
- lib/isomorfeus-react.rb
|
171
171
|
- lib/isomorfeus/config.rb
|
172
|
-
- lib/isomorfeus/execution_environment.rb
|
173
172
|
- lib/isomorfeus/props/validate_hash_proxy.rb
|
174
173
|
- lib/isomorfeus/props/validator.rb
|
175
174
|
- lib/isomorfeus/react_view_helper.rb
|
@@ -1,37 +0,0 @@
|
|
1
|
-
module Isomorfeus
|
2
|
-
if RUBY_ENGINE == 'opal'
|
3
|
-
class << self
|
4
|
-
attr_accessor :on_browser
|
5
|
-
attr_accessor :on_ssr
|
6
|
-
|
7
|
-
def on_browser?
|
8
|
-
@on_browser
|
9
|
-
end
|
10
|
-
|
11
|
-
def on_ssr?
|
12
|
-
@on_ssr
|
13
|
-
end
|
14
|
-
|
15
|
-
def on_server?
|
16
|
-
false
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
self.on_ssr = `!!((typeof process !== 'undefined') && (typeof process.release !== "undefined") && (process.release.name === 'node'))`
|
21
|
-
self.on_browser = !on_ssr
|
22
|
-
else
|
23
|
-
class << self
|
24
|
-
def on_browser?
|
25
|
-
false
|
26
|
-
end
|
27
|
-
|
28
|
-
def on_ssr?
|
29
|
-
false
|
30
|
-
end
|
31
|
-
|
32
|
-
def on_server?
|
33
|
-
true
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|