react_webpack_rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -4
- data/js/src/version.js +1 -1
- data/lib/generators/react_webpack_rails/merge_helpers.rb +1 -1
- data/lib/generators/react_webpack_rails/templates/packages/core.json +1 -1
- data/lib/react_webpack_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9013d3d9ed832b067ef13eef2818ee979c896e96
|
4
|
+
data.tar.gz: 75af140b6ce33183f6917776e5abd6ef790caa39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fad1735106799d939a82f8d0eae96697d529eb60647df587bdb92d4399c752d44d079ac336c8480db3538601861bce6f47983e2cdde443207ad739c49b527323
|
7
|
+
data.tar.gz: 2b2debfff85637619d44659abd999efd30ddc437131c66eb50734d4d9201c56c954f3bfbe0d22ab469f9a0c2cc1037de796949ccca3688187d6f026363e6d189
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.2.1
|
2
|
+
* Fix Readme typo
|
3
|
+
* Fix json loader in generator
|
4
|
+
* Fix node module version in core package.json
|
5
|
+
|
1
6
|
## 0.2.0
|
2
7
|
* Added server-side execution of js
|
3
8
|
* Updated package.json generator,
|
@@ -18,7 +23,7 @@
|
|
18
23
|
#### migration 0.1.2 -> 0.2.0
|
19
24
|
* Make sure you have latest npm package installed. In your package.json:
|
20
25
|
```js
|
21
|
-
"
|
26
|
+
"react-webpack-rails": "0.2.0"
|
22
27
|
```
|
23
28
|
* In `app/react/index.js` replace `window.RWR = RWR;` with `RWR.run();` - it's required by node environment.
|
24
29
|
* Setup node server by running server_side generator.
|
data/README.md
CHANGED
@@ -4,9 +4,6 @@
|
|
4
4
|
#### Rails - Webpack setup with React integration.
|
5
5
|
This gem provides easy and convenient way to build modern JavaScript stack on top of Rails applications using [Webpack](http://webpack.github.io/) and [React](https://facebook.github.io/react/).
|
6
6
|
|
7
|
-
### Development branch!
|
8
|
-
See [0.1-stable](https://github.com/netguru/react_webpack_rails/tree/0.1-stable) for latest release.
|
9
|
-
|
10
7
|
## Features
|
11
8
|
* [Install Generator](https://github.com/netguru/react_webpack_rails/blob/master/docs/install_generator.md) for quick [Webpack](http://webpack.github.io/) setup.
|
12
9
|
* Integrated [react-hot-loader](https://github.com/gaearon/react-hot-loader)
|
@@ -112,7 +109,7 @@ RWR.renderComponent('customComponentName', {user_id: 1}, element);
|
|
112
109
|
|
113
110
|
```ruby
|
114
111
|
def action_name
|
115
|
-
render react_component 'customComponentName', props: { user_id: 1 }
|
112
|
+
render react_component: 'customComponentName', props: { user_id: 1 }
|
116
113
|
end
|
117
114
|
```
|
118
115
|
|
data/js/src/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export default '0.2.
|
1
|
+
export default '0.2.1';
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_webpack_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Gawlik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-02-
|
12
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.4.
|
173
|
+
rubygems_version: 2.4.8
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: React and Rails integration done with webpack
|