react_on_rails 8.0.0.beta.3 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +6 -4
- data/docs/additional-reading/heroku-deployment.md +3 -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: 00a916427a417df2f241d2c3b63cf3baba19debd
|
4
|
+
data.tar.gz: 2cbb47d9031c7d143ce661993c48cc94f172b954
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7406a957a19c14db52bae5d5ac6bd97e5b8fec40154778f68efd67d34798c29e3ab85362e8fd583108db3bcb558c61428eefadff9ce1a3329414d9e9bc67f3f
|
7
|
+
data.tar.gz: 66c77d2d9ae28652c613015b8086976fb7ef3ae12863d653e0a944dd9d7241185db881958306fe2d6050ed4dc1d321b69b0b059c14c85fd66a204483eb235cef
|
data/CHANGELOG.md
CHANGED
@@ -4,9 +4,16 @@ All notable changes to this project's source code will be documented in this fil
|
|
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
|
|
6
6
|
## [Unreleased]
|
7
|
+
Changes since last non-beta release.
|
8
|
+
|
7
9
|
*Please add entries here for your pull requests.*
|
8
10
|
|
11
|
+
## [8.0.0-unreleased]
|
12
|
+
- All 8.0.0 changes since last beta.
|
13
|
+
|
14
|
+
## [8.0.0-beta.3] - 2017-05-27
|
9
15
|
## Changed
|
16
|
+
- Major updates for WebpackerLite 2.0.2. [#844](https://github.com/shakacode/react_on_rails/pull/845) by [justin808](https://github.com/justin808) with help from ](https://github.com/robwise)
|
10
17
|
- Logging no longer occurs when trace is turned to false. [#845](https://github.com/shakacode/react_on_rails/pull/845) by [conturbo](https://github.com/Conturbo)
|
11
18
|
|
12
19
|
## [8.0.0-beta.2] - 2017-05-08
|
@@ -583,7 +590,9 @@ Best done with Object destructing:
|
|
583
590
|
##### Fixed
|
584
591
|
- Fix several generator related issues.
|
585
592
|
|
586
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/
|
593
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/7.0.4...master
|
594
|
+
[8.0.0-unreleased]: https://github.com/shakacode/react_on_rails/compare/8.0.0-beta.3...master
|
595
|
+
[8.0.0-beta.3]: https://github.com/shakacode/react_on_rails/compare/8.0.0-beta.2...8.0.0-beta.3
|
587
596
|
[8.0.0-beta.2]: https://github.com/shakacode/react_on_rails/compare/8.0.0-beta.1...8.0.0-beta.2
|
588
597
|
[8.0.0-beta.1]: https://github.com/shakacode/react_on_rails/compare/7.0.4...8.0.0-beta.1
|
589
598
|
[7.0.4]: https://github.com/shakacode/react_on_rails/compare/7.0.3...7.0.4
|
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/shakacode/react_on_rails) [![Codeship Status for shakacode/react_on_rails](https://app.codeship.com/projects/cec6c040-971f-0134-488f-0a5146246bd8/status?branch=master)](https://app.codeship.com/projects/187011) [![Dependency Status](https://gemnasium.com/shakacode/react_on_rails.svg)](https://gemnasium.com/shakacode/react_on_rails) [![Gem Version](https://badge.fury.io/rb/react_on_rails.svg)](https://badge.fury.io/rb/react_on_rails) [![npm version](https://badge.fury.io/js/react-on-rails.svg)](https://badge.fury.io/js/react-on-rails) [![Code Climate](https://codeclimate.com/github/shakacode/react_on_rails/badges/gpa.svg)](https://codeclimate.com/github/shakacode/react_on_rails) [![Coverage Status](https://coveralls.io/repos/shakacode/react_on_rails/badge.svg?branch=master&service=github)](https://coveralls.io/github/shakacode/react_on_rails?branch=master)
|
2
2
|
|
3
|
-
#### The Docs here on `master` refer to 8.0.0-beta.
|
4
|
-
|
5
|
-
|
3
|
+
#### The Docs here on `master` refer to 8.0.0-beta.3 including support for Webpacker! 7.0.4 docs are [here](https://github.com/shakacode/react_on_rails/tree/7.0.4).
|
4
|
+
**VERSION 8 is super close!!!**
|
5
|
+
|
6
|
+
**[VERSION 8.0.0-beta.3](https://rubygems.org/gems/react_on_rails/versions/8.0.0.beta.3)** has shipped with [webpacker_lite](https://github.com/shakacode/webpacker_lite) support! Please try [the 8.0.0-beta.3 beta](https://rubygems.org/gems/react_on_rails/versions/8.0.0.beta.3) and please report issues! We're **SUPER** close as we've also upgraded the [shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial) with [PR #395](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395). That PR shows the changes needed to go to Webpacker Lite.
|
7
|
+
* Why did we fork webpacker to make webpacker_lite? Please provide feedback on my draft article: [Webpacker Lite: Why Did We Fork Webpacker?](https://medium.com/@railsonmaui/webpacker-lite-why-did-we-fork-webpacker-ee3305688d66) (Draft will soon become regular article).
|
6
8
|
|
7
9
|
**For a complete example of this gem, see our live demo at [www.reactrails.com](http://www.reactrails.com). ([Source Code](https://github.com/shakacode/react-webpack-rails-tutorial))**
|
8
10
|
|
9
|
-
**Speaking!**: Justin is speaking [GORUCO](http://goruco.com/#speakers) on Saturday, June 24, 2017 in NYC: "Front-End Sadness to Happiness: The React on Rails Story". [Email Justin](mailto:justin@shakacode.com) to give this talk at your local meetup or company. [Subscribe](https://app.mailerlite.com/webforms/landing/l1d9x5) to be notified of local and *online* presentations of this talk.
|
11
|
+
**Speaking!**: Justin is speaking [GORUCO](http://goruco.com/#speakers) on Saturday, June 24, 2017 in NYC: "Front-End Sadness to Happiness: The React on Rails Story". [Email Justin](mailto:justin@shakacode.com) to give this talk at your local meetup or company. [Subscribe](https://app.mailerlite.com/webforms/landing/l1d9x5) to be notified of local and *online* presentations of this talk. See the dates of other talks [here](https://forum.shakacode.com/t/talks-on-react-on-rails-june-2017/891).
|
10
12
|
|
11
13
|
**Aloha from Justin Gordon** ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects involving React, React-Native, and Rails, including conversion of AngularJs to React. Please [contact me](mailto:justin@shakacode.com) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing ScreenHero plus Slack/Github based [coaching](http://www.shakacode.com/work/shakacode-coaching-plan.pdf) for React on Rails. See our blog post [Can ShakaCode Help You?](https://blog.shakacode.com/can-shakacode-help-you-4a5b1e5a8a63#.jex6tg9w9) for more information.
|
12
14
|
|
@@ -10,7 +10,7 @@ The generator has created the necessary files and gems for deployment to Heroku.
|
|
10
10
|
If you want to see an updated example deployed to Heroku, please visit the [github.com/shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial).
|
11
11
|
|
12
12
|
## More details on precompilation using webpack to create JavaScript assets
|
13
|
-
This is how the rake task gets modified
|
13
|
+
This is how the `assets:precompile` rake task gets modified by `react_on_rails`. You should be able to call `clear_prerequisites` and setup your own custom precompile if needed.
|
14
14
|
```ruby
|
15
15
|
# These tasks run as pre-requisites of assets:precompile.
|
16
16
|
# Note, it's not possible to refer to ReactOnRails configuration values at this point.
|
@@ -23,6 +23,8 @@ Rake::Task["assets:precompile"]
|
|
23
23
|
end
|
24
24
|
```
|
25
25
|
|
26
|
+
For an example of how to do this, see the [dummy app](https://github.com/shakacode/react_on_rails/blob/master/spec/dummy/lib/tasks/assets.rake).
|
27
|
+
|
26
28
|
## Caching Node Modules
|
27
29
|
By default Heroku will cache the root `node_modules` directory between deploys but since we're installing in `client/node_modules` you'll need to add the following line to the `package.json` in your root directory (otherwise you'll have to sit through a full `yarn` on each deploy):
|
28
30
|
|
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: 8.0.0
|
4
|
+
version: 8.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: 2017-05-
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -456,9 +456,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
456
456
|
version: 2.0.0
|
457
457
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
458
458
|
requirements:
|
459
|
-
- - "
|
459
|
+
- - ">="
|
460
460
|
- !ruby/object:Gem::Version
|
461
|
-
version:
|
461
|
+
version: '0'
|
462
462
|
requirements: []
|
463
463
|
rubyforge_project:
|
464
464
|
rubygems_version: 2.6.8
|