isomorfeus-redux 4.0.19 → 4.0.20
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/isomorfeus/execution_environment_helpers.rb +12 -0
- data/lib/isomorfeus-redux.rb +2 -0
- data/lib/redux/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd996d49213dec418ce28f56c5c26b10aaed39210235403d2f93e2103f1cd099
|
|
4
|
+
data.tar.gz: c45d9514d1def03ce507852cd8aa030619d2559faaa178ca689c70396e3c0d5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21126d3193d8614a5b4d31236c1a9fe15153e8e3b07331dfc5a8bc08cd0f76b853d06585e2abcde523ecefe851a99d7234f919cbbf0177978c71abba49fe4c4b
|
|
7
|
+
data.tar.gz: 815660743e328ec45f474e38511b94802adb3e5e1d8449c7a0cf8377168cf6fb8dccdd50ba7d211bac4131d15e354f0727718c29633a9ec62b77bd15937b4e52
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
module Isomorfeus
|
|
2
|
+
module ExecutionEnvironmentHelpers
|
|
3
|
+
def on_browser?; Isomorfeus.on_browser?; end
|
|
4
|
+
def on_ssr?; Isomorfeus.on_ssr?; end
|
|
5
|
+
def on_desktop?; Isomorfeus.on_desktop?; end
|
|
6
|
+
def on_ios?; Isomorfeus.on_ios?; end
|
|
7
|
+
def on_android?; Isomorfeus.on_android?; end
|
|
8
|
+
def on_mobile?; Isomorfeus.on_mobile?; end
|
|
9
|
+
def on_database?; Isomorfeus.on_database?; end
|
|
10
|
+
def on_server?; Isomorfeus.on_server?; end
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/isomorfeus-redux.rb
CHANGED
|
@@ -4,6 +4,7 @@ if RUBY_ENGINE == 'opal'
|
|
|
4
4
|
require 'promise'
|
|
5
5
|
require 'isomorfeus/core_ext/hash/deep_merge'
|
|
6
6
|
require 'isomorfeus/execution_environment'
|
|
7
|
+
require 'isomorfeus/execution_environment_helpers'
|
|
7
8
|
require 'redux'
|
|
8
9
|
require 'redux/store'
|
|
9
10
|
require 'redux/reducers'
|
|
@@ -17,6 +18,7 @@ else
|
|
|
17
18
|
require promise_path
|
|
18
19
|
require 'redux/version'
|
|
19
20
|
require 'isomorfeus/execution_environment'
|
|
21
|
+
require 'isomorfeus/execution_environment_helpers'
|
|
20
22
|
|
|
21
23
|
Opal.append_path(__dir__.untaint)
|
|
22
24
|
|
data/lib/redux/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isomorfeus-redux
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Biedermann
|
|
@@ -49,6 +49,7 @@ files:
|
|
|
49
49
|
- lib/isomorfeus-redux.rb
|
|
50
50
|
- lib/isomorfeus/core_ext/hash/deep_merge.rb
|
|
51
51
|
- lib/isomorfeus/execution_environment.rb
|
|
52
|
+
- lib/isomorfeus/execution_environment_helpers.rb
|
|
52
53
|
- lib/isomorfeus/promise.rb
|
|
53
54
|
- lib/isomorfeus/redux_config.rb
|
|
54
55
|
- lib/redux.rb
|