react_rails_webpack 3.1.0 → 3.1.1

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: 7df79ab8898ae43bbf479c52485fcb82f9c54417
4
- data.tar.gz: 22713d477ca4b524ff22c71f916699d3929cf81b
3
+ metadata.gz: 44181f74f3b9427dc7d7279a5e25927b017862bb
4
+ data.tar.gz: 858bae73c2996b98b99fd79aa86d7baae2ef9bda
5
5
  SHA512:
6
- metadata.gz: a8001cad731cedcab5c09aef6130ce80613e94911b0c798a59d86362d4d95d5baadeea65312507937a2e1bf2956b0c9cb47afa8ca02079a68d2185ad26f7e56f
7
- data.tar.gz: e2c25167f5ad6e448e032954b5f8c11c4e6e96db3621e1538fceee08edd625aac03f05f2e4cc9f2299c1a734bffff06d00210bf63eb3bcf5d77232b6550c384e
6
+ metadata.gz: d8968eb417acf729ef2cde93ee7ca4306eda90688d5b25c2287a34113786d1bc2020b461b3489ff132c93c8202b2656d1dae367ed98d49f72d73f5cfed7b8dbc
7
+ data.tar.gz: be54bc7101e0d3e38c00731ac3859c320435489a486c875771b51a393e381aa3e0a5ca17c98ac959d74f474f41b3d197cb49bc1c5cb564e8dec46cc7b93cc3d7
data/FEATURES.md CHANGED
@@ -2,10 +2,11 @@
2
2
 
3
3
  1. One-command setup
4
4
  2. Use any packages from the [npm](https://www.npmjs.com) ecosystem
5
- 3. Built-in examples of plain and [redux](http://redux.js.org)-backed React components
5
+ 3. [Built-in examples](images/demo_page.png) of plain and [redux](http://redux.js.org)-backed React components
6
6
  4. The [webpack](https://webpack.github.io) development server for React components will live update your changes to any device on your local network (including phones)
7
7
  5. Integrated with [hjs-webpack](https://github.com/HenrikJoreteg/hjs-webpack) to simplify webpack configuration ([video about hjs-webpack](http://learn.humanjavascript.com/react-ampersand/setting-up-webpack))
8
8
  6. Integration code is added directly to project, making it easy to read and modify
9
9
  7. Hot-reloading of components
10
10
  8. Built-in [Redux DevTools](https://github.com/gaearon/redux-devtools) integration for React-Redux components
11
11
  9. Built-in examples of [Redux](https://github.com/gaearon/redux-devtools) reducer testing using [Chai](http://chaijs.com)
12
+ 10. Built-in examples for using [Font Awesome](http://fontawesome.io/) icons and images (as of version 3.1.0)
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # ReactRailsWebpack
2
+
2
3
  [![Gem Version](https://badge.fury.io/rb/react_rails_webpack.svg)](https://badge.fury.io/rb/react_rails_webpack)
3
4
 
4
5
  > Warning: If you are upgrading across major versions, please read the [release notes in the changelog](CHANGELOG.md).
@@ -9,11 +10,17 @@ Ruby gem for quickly creating highly customizable react/rails integrations using
9
10
 
10
11
  1. One-command setup
11
12
  2. Use any packages from the [npm](https://www.npmjs.com) ecosystem
12
- 3. Built-in examples of plain and [redux](http://redux.js.org)-backed React components
13
+ 3. [Built-in examples](#demo-page) of plain and [redux](http://redux.js.org)-backed React components
13
14
  4. The [webpack](https://webpack.github.io) development server for React components will live update your changes to any device on your local network (including phones) (gif demo of this feature [here](images/rrw_demo_short.gif))
14
15
 
15
16
  [more features...](FEATURES.md)
16
17
 
18
+ ## Demo Page
19
+
20
+ > Generate this page after installation with [the create_example_page command](#set-up-an-example-page-in-your-rails-app)
21
+
22
+ ![Image of main demo page with two example React components on it](images/demo_page.png "Image of main demo page with two example React components on it")
23
+
17
24
  ## Install
18
25
 
19
26
  > Video demo of setup and use on a new Rails app [here](https://vimeo.com/180349372)
@@ -32,6 +39,7 @@ Ruby gem for quickly creating highly customizable react/rails integrations using
32
39
  ## Contents
33
40
 
34
41
  - **[Key features](#key-features)**
42
+ - **[Demo Page](#demo-page)**
35
43
  - **[Install](#install)**
36
44
  - **[Requirements](#requirements)**
37
45
  - **[About](#about)**
Binary file
@@ -34,7 +34,7 @@
34
34
  "postcss-loader": "^0.8.2",
35
35
  "react-dom": "^15.0.1",
36
36
  "react-redux": "^4.4.5",
37
- "react-tap-event-plugin": "^1.0.0",
37
+ "react-tap-event-plugin": "^2.0.0",
38
38
  "redux": "^3.5.2",
39
39
  "redux-devtools": "^3.3.1",
40
40
  "redux-devtools-dock-monitor": "^1.1.1",
@@ -29,7 +29,7 @@ var config = getConfig({
29
29
  in: 'src/app.js', // Tells webpack to look in the src/app.js file to find the code for components and rendering
30
30
  out: '../app/assets/webpack', // Tells webpack to put compiled files into ../app/assets/webpack when it runs
31
31
  clearBeforeBuild: true, // Tells webpack to destroy and remake pre-existing OUT folder before compiling files to it
32
- uglify: uglifyOpts, // Tells webpack to destroy and remake pre-existing OUT folder before compiling files to it
32
+ uglify: uglifyOpts, // Disables most of Uglify
33
33
  html: function (data) {
34
34
  var sourceFileNote = "<aside class='source'>Find the source for this page in client/webpack.config.js</aside>"
35
35
 
@@ -1,3 +1,3 @@
1
1
  module ReactRailsWebpack
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_rails_webpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neurodynamic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-29 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -83,6 +83,7 @@ files:
83
83
  - Rakefile
84
84
  - bin/console
85
85
  - bin/setup
86
+ - images/demo_page.png
86
87
  - images/rrw_demo_short.gif
87
88
  - lib/react_rails_webpack.rb
88
89
  - lib/react_rails_webpack/app/controllers/react_example_controller.rb