webpack-rails-react 1.0.12 → 1.0.13

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: 72ea94976aacb0823f175d4602d72f76cebc186d
4
- data.tar.gz: 354d077dccc95f9cd289631c4f43f150ecd7cabd
3
+ metadata.gz: 0e1b93425cd75a378705ffbad219cbae249f6785
4
+ data.tar.gz: dbd7af2f10bc25b7d07bc33fd04a8ec7c435a849
5
5
  SHA512:
6
- metadata.gz: d10fd0265f9882c0baf37d8c76fa6e06d69e10d1573cbbf47e14dcc8e72c32fffd901d8864e9f4ebb786c80d0c5901e88a8096c2c6311cde9efc05dd86019b6f
7
- data.tar.gz: 4ca18a34212177b7109b6c8e1e1faacec5af3c3a0d29ed2e859439ba3fe482e09a962b80b5f9fb1ef2ca301020622b42ec85665260777a03edef684e6a18c2ae
6
+ metadata.gz: ab16da0e2d58787fba80be3d6f2dbe87a5831db2c3d6828bc5259d67f89e63ba14d674d52de6c16fb6529217c8aa299f5b8b773ec80dbe2b15bccbf68a24a109
7
+ data.tar.gz: 07a53432ebf98da14b47e8f1b0cbc9e07709e6cda66c449f916d4e5c480bcd76db38d87b2b9266aa34093ff1297a150d9adcffc554ee796d3a30ab82d1a91f33
data/README.md CHANGED
@@ -12,15 +12,20 @@ This gem has been tested against Rails 4.2 and Ruby 2.2. Earlier versions of Rai
12
12
 
13
13
  ## Using webpack-rails-react
14
14
 
15
+ ### Install Flags
16
+ 1. No Flags -> Basic Webpack and React Boilerplate
17
+ 2. --router -> Webpack / React / React Router Boilerplate
18
+ 3. --redux -> Webpack / React / Redux Boilerplate
19
+ 4. --router --redux -> Webpack / React / Router / Redux Boilerplate
20
+
15
21
  ### Installation
16
22
 
17
23
  1. Add `webpack-rails-react` to your gemfile
18
- 1. Run `bundle install` to install the gem
19
- 1. Run `bundle exec rails generate webpack_rails_react:install` to copy across example files
20
- 1. Run `npm run dev_server` to start `webpack-dev-server`
21
- 1. Add the webpack entry point to your layout (see next section)
22
- 1. Edit `webpack/application.js` and write some code
23
-
24
+ 2. Run `bundle install` to install the gem
25
+ 3. Run `bundle exec rails generate webpack_rails_react:install` to copy across example files
26
+ 4. Run `npm run dev_server` to start `webpack-dev-server`
27
+ 5. Add the webpack entry point to your layout (see next section)
28
+ 6. Edit `webpack/application.js` and write some code
24
29
 
25
30
  ### Adding the entry point to your Rails application
26
31
 
data/example/package.json CHANGED
@@ -15,7 +15,8 @@
15
15
  "babel-loader": "^6.2.4",
16
16
  "babel-preset-es2015": "^6.9.0",
17
17
  "babel-preset-react": "^6.5.0",
18
- "babel-preset-stage-0": "^6.5.0"
18
+ "babel-preset-stage-0": "^6.5.0",
19
+ "webpack-dev-middleware": "1.7.0"
19
20
  },
20
21
  "devDependencies": {
21
22
  "webpack-dev-server": "^1.9.0"
@@ -2,7 +2,7 @@ module Webpack
2
2
  # :nodoc:
3
3
  module Rails
4
4
  module React
5
- VERSION = "1.0.12"
5
+ VERSION = "1.0.13"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack-rails-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Jungst
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
12
+ date: 2016-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails