react_on_rails 9.0.0.beta.4 → 9.0.0.beta.5

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
  SHA1:
3
- metadata.gz: 783b0a6e55e370ed403cba0091110be07bfc770b
4
- data.tar.gz: 10adb0285d267ce610bcadbe8827491cd2ee3230
3
+ metadata.gz: 83a6f5fa7cce290d5f0a141ceb31d2747635424d
4
+ data.tar.gz: 49886bec43fe521a65392a26f8942a952d95d360
5
5
  SHA512:
6
- metadata.gz: 63f130934835e2dfdb665286cdd03e36f9df926344124e270b223d1992665102ef5d8c7b85d3aecc870db27a9eeb29294d6c06bf8f566171e399e64bef4d61a0
7
- data.tar.gz: 31af3fc1036ab04fc840cbdff6742b91ab470d12cd6e9afadb1126f656392e27f6cd175db49a30b2ec585ecba3bc181285f4454e6faad3d26a032f016996c8e5
6
+ metadata.gz: 1a9ba177c8893c8eba72a7b41ca80a465631f6deeb610c0cff18c9b3838195c08146108abbf2598e202e9472fdf3f416ce18eced884771d42d0bcc87372192d7
7
+ data.tar.gz: b2792d30ad81f3fb797608c1e6d5163f51c90e0bea6ad1fc3d9fa6e8f5f69fb14723563c40a8836fb26eb1bdefa268601a7ddb2828d741f07fcfd66dde9ce4a1
@@ -25,7 +25,7 @@ module ReactOnRails
25
25
 
26
26
  def stale_generated_webpack_files
27
27
  manifest_needed = ReactOnRails::Utils.using_webpacker? &&
28
- !Webpacker::Manifest.exist?
28
+ !ReactOnRails::Utils.manifest_exists?
29
29
 
30
30
  return ["manifest.json"] if manifest_needed
31
31
 
@@ -106,6 +106,10 @@ exitstatus: #{status.exitstatus}#{stdout_msg}#{stderr_msg}
106
106
  rails_version_less_than("4.1.1")
107
107
  end
108
108
 
109
+ def manifest_exists?
110
+ Webpacker::Configuration.manifest_path.exist?
111
+ end
112
+
109
113
  module Required
110
114
  def required(arg_name)
111
115
  raise ArgumentError, "#{arg_name} is required"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "9.0.0.beta.4"
4
+ VERSION = "9.0.0.beta.5"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "9.0.0-beta.4",
3
+ "version": "9.0.0-beta.5",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0.beta.4
4
+ version: 9.0.0.beta.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-06 00:00:00.000000000 Z
11
+ date: 2017-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow