react_on_rails 12.0.0.pre.beta.3 → 12.0.0.pre.beta.4

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: e4652a34dc5c5b7c6dc27a60c17784219c81ef879adfc86de0ff7022cfb44ccb
4
- data.tar.gz: 74606d2bc6faf28ba8e006c939c8d83da5f302c4eeed0a8f7b83bd17af69c418
3
+ metadata.gz: 4f6b45ecf176bae7fd87037e00147a35747244f7c6ce113b88e5b556a455b278
4
+ data.tar.gz: 831b05ad059ff57802feaeaa6b0a363765e78eca90b55d9dd9eeab5383e95042
5
5
  SHA512:
6
- metadata.gz: a4d18a27009cf0916c84f14b78445266de5ede5dbbcc3de944fde3572daff143eedb3b1f81d5856c798e34936ec736b0acf25ccf47e11d8b297b15a404a8db27
7
- data.tar.gz: 8afa44acedfa9fcb39cb33883eeed773acb14510973f03bb2a218408d5715dd701ccd88bec1089dd5d8bea8ca52c083e280f9aef57601afb789f3d44181b2533
6
+ metadata.gz: 37e5dd4e97d970f0bb041da1b6e74e92b137b1ad74a72fe78b3bd885aaeb1712fb710fff4e3fd4230a56e1864506172dd95d2b0c50155b502b54fb101dd9fb2e
7
+ data.tar.gz: 0fbebe0217dde4d72a95fc10f5f88ff7a8535618da757b207519c7e44ca72da5c2763d56e09339d963d445419feffab8336a19a8bb3489589d60ff35f1bae928
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "12.0.0-beta.3"
4
+ VERSION = "12.0.0-beta.4"
5
5
  end
@@ -9,14 +9,19 @@ ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
9
9
  ENV["NODE_ENV"] ||= "development"
10
10
 
11
11
  unless ReactOnRails::WebpackerUtils.webpacker_webpack_production_config_exists?
12
+ # Ensure that rails/webpacker does not call bin/webpack if we're providing
13
+ # the build command.
14
+ ENV["WEBPACKER_PRECOMPILE"] = "false"
15
+
12
16
  if Rake::Task.task_defined?("assets:precompile")
13
17
  Rake::Task["assets:precompile"].enhance do
14
18
  Rake::Task["react_on_rails:assets:webpack"].invoke
15
- puts "Invoking task wepacker:clean from React on Rails"
19
+ puts "Invoking task webpacker:clean from React on Rails"
16
20
  Rake::Task["webpacker:clean"].invoke
17
21
  end
18
22
  else
19
- Rake::Task.define_task("assets:precompile" => ["react_on_rails:assets:webpack"])
23
+ Rake::Task.define_task("assets:precompile" => ["react_on_rails:assets:webpack",
24
+ "webpacker:clean"])
20
25
  end
21
26
  end
22
27
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "12.0.0-beta.3",
3
+ "version": "12.0.0-beta.4",
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: 12.0.0.pre.beta.3
4
+ version: 12.0.0.pre.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable