react_on_rails 6.0.0.rc.6 → 6.0.0
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/CHANGELOG.md +3 -3
- data/docs/additional-reading/babel.md +2 -0
- data/docs/additional-reading/node-server-rendering.md +0 -2
- data/docs/additional-reading/rails-assets.md +1 -1
- data/docs/additional-reading/turbolinks.md +1 -1
- data/docs/additional-reading/webpack-dev-server.md +0 -1
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ceea071c5632c70ad26d87600c7ea7dd142f454
|
|
4
|
+
data.tar.gz: 91ebd4f95c6e312fc92b8d140a2050d06194f1a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c655ee1d10a68374b04e9cabf1ed3072a613c57a54ca4dacd1981d4aace05290e80a8a6f57398e3fae50d90e26814008aead08b4e476a2863e996a02ac6e04e
|
|
7
|
+
data.tar.gz: ab07331caf0543d415fa5ebddcbbe5e492307e5e4af4ca6fb4d49d6c3df830ba9af01fc164819ba2c14da3428668734cc6ec9806f18d64bf15ffc1d791ae9d4f
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. Items under
|
|
|
4
4
|
Contributors: please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version.
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [6.0.0
|
|
7
|
+
## [6.0.0]
|
|
8
8
|
##### Breaking Changes
|
|
9
9
|
- Added automatic compilation of assets at precompile is now done by ReactOnRails. Thus, you don't need to provide your own assets.rake file that does the precompilation.
|
|
10
10
|
[#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808).
|
|
@@ -332,8 +332,8 @@ Best done with Object destructing:
|
|
|
332
332
|
##### Fixed
|
|
333
333
|
- Fix several generator related issues.
|
|
334
334
|
|
|
335
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/
|
|
336
|
-
[6.0.0
|
|
335
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.0...master
|
|
336
|
+
[6.0.0]: https://github.com/shakacode/react_on_rails/compare/5.2.0...6.0.0
|
|
337
337
|
[5.2.0]: https://github.com/shakacode/react_on_rails/compare/5.1.1...5.2.0
|
|
338
338
|
[5.1.1]: https://github.com/shakacode/react_on_rails/compare/5.1.0...5.1.1
|
|
339
339
|
[5.1.0]: https://github.com/shakacode/react_on_rails/compare/5.0.0...5.1.0
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
# Babel
|
|
2
2
|
|
|
3
3
|
As of React on Rails 2.0, we recommend Babel 6 and at least node version 5.5. If you want to stick with Babel 5 for a bit, see [Issue #238](https://github.com/shakacode/react_on_rails/issues/238).
|
|
4
|
+
|
|
5
|
+
We recommend that you take a look at https://github.com/shakacode/react-webpack-rails-tutorial and follow the recipe there. We will try to keep that simple example updated.
|
|
@@ -13,7 +13,7 @@ css files compiled by webpack on the client side, because they don't use
|
|
|
13
13
|
|
|
14
14
|
### Solution
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
React on Rails creates symlinks of non-digested versions to digested versions when doing a Rails assets compile.
|
|
17
17
|
The solution is implemented using `assets:precompile` after-hook. The assets for symlinking
|
|
18
18
|
are defined by `config.symlink_non_digested_assets_regex` in `config/initializers/react_on_rails.rb`.
|
|
19
19
|
To disable symlinks set this parameter to `nil`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Turbolinks
|
|
2
2
|
|
|
3
3
|
* See [Turbolinks on Github](https://github.com/rails/turbolinks)
|
|
4
|
-
* Currently support 2.5.x of Turbolinks and 5.0.0
|
|
4
|
+
* Currently support 2.5.x of Turbolinks and 5.0.0 of Turbolinks 5.
|
|
5
5
|
* Turbolinks is currently included only via the Rails gem and the Rails manifest file rather than NPM. [Turbolinks Issue #658 ](https://github.com/rails/turbolinks/issues/658) discusses this.
|
|
6
6
|
|
|
7
7
|
## Why Turbolinks?
|
|
@@ -13,4 +13,3 @@ Note that **React-related error messages are possibly more helpful when encounte
|
|
|
13
13
|
|
|
14
14
|
### Adding Additional Routes for the Dev Server
|
|
15
15
|
As you add more routes to your front-end application, you will need to make the corresponding API for the dev server in `client/server.js`. See our example `server.js` from our [tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client%2Fserver-express.js).
|
|
16
|
-
|
data/package.json
CHANGED
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: 6.0.0
|
|
4
|
+
version: 6.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Gordon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -450,9 +450,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
450
450
|
version: '0'
|
|
451
451
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
452
452
|
requirements:
|
|
453
|
-
- - "
|
|
453
|
+
- - ">="
|
|
454
454
|
- !ruby/object:Gem::Version
|
|
455
|
-
version:
|
|
455
|
+
version: '0'
|
|
456
456
|
requirements: []
|
|
457
457
|
rubyforge_project:
|
|
458
458
|
rubygems_version: 2.5.1
|