react_on_rails 9.0.0.beta.1 → 9.0.0.beta.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1dc751a094a77f26d6c7ccbeffd1fb629138f02
4
- data.tar.gz: 366a5758c073560392b74d09f2fb6eaa02959453
3
+ metadata.gz: 98c1f91f81fb4480f4288d3e657c158b83e02203
4
+ data.tar.gz: 56f19a20fed88353f3d5a5ecb5c3603b3f57988e
5
5
  SHA512:
6
- metadata.gz: 48c238386729ce992e2535f95c616c331176f549b6717ab9edeb7df2bf7da3a12df1ab4623a439719ec7e911aedd50c03e7e0e89ba4f2f745138ec4a1dbbd076
7
- data.tar.gz: 4a8d15bd0de012d1230c85e0a2b9f241e96f0fe95e28bad7bde6c1848bacc25c11fd8a99a23f875b35d9fc965bb8d2d84759bc67d99ff1dc9fc481a7a5eac106
6
+ metadata.gz: 2d6af3cb3b79bd7bdfcf1b85995a0ce100472765646d736b5d9879cf46c715ee3bef6d1db769c3f16f351729762eb36162590fd4ca50ce34166522b9b43884d6
7
+ data.tar.gz: b5ab80353b799b800a8aa50a708f119020c5462e313f2c723c63cfcecc174dc618824441100f2c30576b1c71fa60a4e755e122ae8a74c9940c46e5a4672a461b
data/CHANGELOG.md CHANGED
@@ -8,15 +8,23 @@ Changes since last non-beta release.
8
8
 
9
9
  *Please add entries here for your pull requests.*
10
10
 
11
- ### [9.0.0.beta.1]
12
- - Switch over to using Webpacker
11
+ ## 9.0 from 8.x. Upgrade Instructions
12
+ All 9.0.0 beta versions can be viewed in [PR 908](https://github.com/shakacode/react_on_rails/pull/908)
13
+
14
+ - Update the gemfile. Switch over to using Webpacker on the ShakaCode branch:
15
+
16
+ ```rb
17
+ gem "webpacker", git: "https://github.com/shakacode/webpacker.git",
18
+ branch: "issue-464-merge-webpacker-lite-into-webpacker"
19
+ ```
13
20
 
14
- - If using the WebpackConfigLoader, you will need to rename the following object properties:
15
- - hotReloadingUrl devServerUrl
16
- - hotReloadingHostname devServerHost
17
- - hotReloadingPort devServerPort
21
+ - Update for the renaming in the `WebpackConfigLoader` in your webpack configuration.
22
+ You will need to rename the following object properties:
23
+ - hotReloadingUrl ==> devServerUrl
24
+ - hotReloadingHostname ==> devServerHost
25
+ - hotReloadingPort ==> devServerPort
18
26
 
19
- - Find your webpacker_lite.yml and rename it to webpacker.yml
27
+ - Find your `webpacker_lite.yml` and rename it to `webpacker.yml`
20
28
  - Add a section like this under your development env:
21
29
  ```
22
30
  dev_server:
@@ -26,11 +34,26 @@ Changes since last non-beta release.
26
34
  # Can be enabled by export WEBPACKER_HMR=TRUE in env
27
35
  hot: false
28
36
  ```
29
- - remove `hot_reloading_host` and `hot_reloading_enabled_by_default`
30
- - rename `webpack_public_output_dir` to `public_output_path`
31
-
37
+ - See the example `spec/dummy/config/webpacker.yml`.
38
+ - Remove keys `hot_reloading_host` and `hot_reloading_enabled_by_default`. These are replaced by the `dev_server` key.
39
+ - Rename `webpack_public_output_dir` to `public_output_path`.
40
+
41
+ - Edit your Procfile.dev
42
+ - For static loading, either:
43
+ - Comment out or remove the dev_server area of your config.
44
+ - Edit your static procfile to set env value WEBPACKER_DEV_SERVER=FALSE
45
+ - For hot loading, either:
46
+ - Set the hot key in your `webpacker.yml` to `true`.
47
+ - Edit your hot procfile to set env value WEBPACKER_HMR=TRUE
32
48
 
49
+ ### [9.0.0]
50
+ *Diffs for the beta to master*
33
51
 
52
+ ### [9.0.0.beta.2]
53
+ - Fixed problems when running in development mode for both the generator and spec/dummy.
54
+
55
+ ### [9.0.0.beta.1]
56
+ - First version of depending on Webpacker rather than Webpacker Lite
34
57
 
35
58
  ### [8.0.6]
36
59
  #### fixed
@@ -651,6 +674,9 @@ Best done with Object destructing:
651
674
  - Fix several generator related issues.
652
675
 
653
676
  [Unreleased]: https://github.com/shakacode/react_on_rails/compare/8.0.5...master
677
+ [9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.1...master
678
+ [9.0.0-beta.2]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.1...9.0.0-beta.1r
679
+ [9.0.0-beta.1]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.1...master
654
680
  [8.0.5]: https://github.com/shakacode/react_on_rails/compare/8.0.3...8.0.5
655
681
  [8.0.3]: https://github.com/shakacode/react_on_rails/compare/8.0.2...8.0.3
656
682
  [8.0.2]: https://github.com/shakacode/react_on_rails/compare/8.0.1...8.0.2
data/README.md CHANGED
@@ -73,6 +73,7 @@ For more testimonials, see [Live Projects](PROJECTS.md) and [Kudos](./KUDOS.md).
73
73
  ------
74
74
 
75
75
  # NEWS
76
+ * **[VERSION 9.0.0.beta.1](https://github.com/shakacode/react_on_rails/tree/rails-webpacker) shipped! This version depends on Webpacker directly. See the [CHANGELOG.md](https://github.com/shakacode/react_on_rails/blob/rails-webpacker/CHANGELOG.md) for migration instructions.**
76
77
  * **[VERSION 8.1.0](https://rubygems.org/gems/react_on_rails/)** shipped with [webpacker_lite](https://github.com/shakacode/webpacker_lite) (soon [**webpacker**](https://github.com/rails/webpacker/issues/464#issuecomment-310986140) support! [react-webpack-rails-tutorial PR #395](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395) shows the changes needed to migrate from the Asset Pipeline to Webpacker Lite. For more information, see my article: [Webpacker Lite: Why Fork Webpacker?](https://blog.shakacode.com/webpacker-lite-why-fork-webpacker-f0a7707fac92). Per recent discussions, we [will merge Webpacker Lite changes back into Webpacker](https://github.com/rails/webpacker/issues/464#issuecomment-310986140). There's no reason to wait for this. The upgrade will eventually be trivial.
77
78
  * The Docs here on `master` refer to 9.0.0 including support for [webpacker](https://github.com/shakacode/webpacker)!
78
79
  *Use the [7.0.4 docs](https://github.com/shakacode/react_on_rails/tree/7.0.4) to refer to the older asset pipeline way.*
@@ -8,12 +8,13 @@ development:
8
8
  # generated files for development, in /public/webpack/development
9
9
  public_output_path: webpack/development
10
10
 
11
- dev_server:
12
- host: localhost
13
- port: 8080
14
- https: false
15
- # Can be enabled by export WEBPACKER_HMR=TRUE in env
16
- hot: false
11
+ # Temporarily disabling live-reloading until the server script is added.
12
+ # dev_server:
13
+ # host: localhost
14
+ # port: 8080
15
+ # https: false
16
+ # # Can be enabled by export WEBPACKER_HMR=TRUE in env
17
+ # hot: false
17
18
 
18
19
  test:
19
20
  <<: *default
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "9.0.0.beta.1"
4
+ VERSION = "9.0.0.beta.2"
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.1",
3
+ "version": "9.0.0-beta.2",
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.1
4
+ version: 9.0.0.beta.2
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-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow