react_on_rails 2.0.0.rc.4 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00b3529c45b04826cc9f06735e62276563ddce94
4
- data.tar.gz: 04d6beee91a23ebaba8161a828b5f1d8e20f34f5
3
+ metadata.gz: 8ca2aa69174be7281a0e4319360d0b9fd21be4b9
4
+ data.tar.gz: 306c30df0533dfbd7a21611cfbc8852293dea608
5
5
  SHA512:
6
- metadata.gz: 8d5d6aedc821b9ac2f7e3f53d1764413d7d42fdb48480edfa0833720bf3392075b8e228c697fd1caee841eebfca269bc793113b6775089728083c2aed15e86c1
7
- data.tar.gz: f9944838c5cf645e5d00f19bf4846907572164428e89ec64b1afe9f75a6162ce43fd9a300be360f31134675455cea41248540e0cbf32405952cf875cd9a669b6
6
+ metadata.gz: 9fc4440ecf50374bef3c2ba918a7beb14671b6d20ac7e04e0915425342fada7b2f1acc046af3129f10bc96f7f6ebe2310c79cab2154ec987dbc91c4f9993de2e
7
+ data.tar.gz: bea573253e5da260b3ee01a99eae1286e56d8f99c78e9b4ca2a5eca2d8aaf114ec5d70a85e1c6e883e9abeba4666c483932bae439365241cbd6499437c28091c
data/README.md CHANGED
@@ -1,15 +1,12 @@
1
- [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/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) [![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)
1
+ [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/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) [![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)
2
2
 
3
3
  # NEWS
4
- 2.0 is about to ship! Please grab the latest and let us know if you see any issues!
5
4
 
6
- * https://rubygems.org/gems/react_on_rails
7
- * https://www.npmjs.com/package/react-on-rails
8
- * Branch: https://github.com/shakacode/react_on_rails/tree/npm-react-on-rails-js
9
- * PR: https://github.com/shakacode/react_on_rails/pull/148
5
+ * 2.0 has shipped! Please grab the latest and let us know if you see any issues!
6
+ * It does not yet have *generator* support for CSS modules and hot reloading via the Rails server per shown in the [shakacode/react-webpack-rails-tutorial]. We're always looking for contributors! Thus, the setup for webpack, foreman, and sass will be somewhat different until we get the generators caught up.
10
7
 
11
8
  # React on Rails
12
- React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. Currently, both React v0.14 and v0.13 are supported, with server rendering. [Redux](https://github.com/rackt/redux) and [React-Router](https://github.com/rackt/react-redux) are supported as well. See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all!
9
+ React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. React v0.14.x is supported, with server rendering. [Redux](https://github.com/rackt/redux) and [React-Router](https://github.com/rackt/react-redux) are supported as well. See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all!
13
10
 
14
11
  Be sure to see the [React Webpack Rails Tutorial Code](https://github.com/shakacode/react-webpack-rails-tutorial) along with the live example at [www.reactrails.com](http://www.reactrails.com).
15
12
 
@@ -143,6 +140,15 @@ We're definitely not doing that. With react_on_rails, webpack is mainly generati
143
140
 
144
141
  5. Visit [localhost:3000/hello_world](http://localhost:3000/hello_world)
145
142
 
143
+ ## NPM
144
+ All JavaScript in React On Rails is loaded from npm: [react-on-rails](https://www.npmjs.com/package/react-on-rails). To manually install this (you did not use the generator), assuming you have a standard configuration, run this command:
145
+
146
+ ```
147
+ cd client && npm i --saveDev react-on-rails
148
+ ```
149
+
150
+ That will install the latest version and update your package.json.
151
+
146
152
  ## How it Works
147
153
  The generator installs your webpack files in the `client` folder. Foreman uses webpack to compile your code and output the bundled results to `app/assets/javascripts/generated`, which are then loaded by sprockets. These generated bundle files have been added to your `.gitignore` for your convenience.
148
154
 
@@ -5,7 +5,7 @@ We're now releasing this as a combined ruby gem plus npm package. We will keep t
5
5
  ## Testing the Gem before Release from a Rails App
6
6
  See [Contributing](../contributing.md)
7
7
 
8
- ## Releaseing a new gem version
8
+ ## Releasing a new gem version
9
9
  Install https://github.com/svenfuchs/gem-release
10
10
 
11
11
  ```bash
@@ -1,3 +1,3 @@
1
1
  module ReactOnRails
2
- VERSION = "2.0.0.rc.4"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "2.0.0-rc.4",
3
+ "version": "2.0.0",
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
@@ -409,9 +409,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
409
409
  version: '0'
410
410
  required_rubygems_version: !ruby/object:Gem::Requirement
411
411
  requirements:
412
- - - ">"
412
+ - - ">="
413
413
  - !ruby/object:Gem::Version
414
- version: 1.3.1
414
+ version: '0'
415
415
  requirements: []
416
416
  rubyforge_project:
417
417
  rubygems_version: 2.5.1