isomorfeus-redux 4.0.19 → 4.0.20

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: 0eabc9771d1a6cd01277a34a779def3b54053a6cf18d81ed659a39cdbce6e84b
4
- data.tar.gz: 8474fbbb10aa537d2136484e36938d66a6c3ba118854ee7db441d0cd6ab7678a
3
+ metadata.gz: bd996d49213dec418ce28f56c5c26b10aaed39210235403d2f93e2103f1cd099
4
+ data.tar.gz: c45d9514d1def03ce507852cd8aa030619d2559faaa178ca689c70396e3c0d5f
5
5
  SHA512:
6
- metadata.gz: 9e1bbc10687e598ba74712425f84165ca3a89ad373a62f1ccd21381b3420f5f9d2d60a8dc953b30dddfe9d830fa3dbd443c575c81d30f75b98c6aad3a531bbc4
7
- data.tar.gz: 2a720626c51e0c24764c0afb8bcaa825a39e929ac45475ddec90b7a933a982b54f718908b6cf2343e375dc3fba3dfe7b12d21bd4cae6a5efe3dec801bfb59702
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Redux
2
- VERSION = '4.0.19'
2
+ VERSION = '4.0.20'
3
3
  end
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.19
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