webpack-rails-react 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e648ebd9ed9c65d4f05cae99788cb61f18119f71
4
- data.tar.gz: 6d8dfdd8823dabe0035be121f0a8e4a3cdd259fb
3
+ metadata.gz: 7918861b93f73c40f4f0a49ede1cdc97977e25f2
4
+ data.tar.gz: 1933e1bb7d7497cd4e9cdca0dc80a3da6605c213
5
5
  SHA512:
6
- metadata.gz: 70c31b7ce725105199be5e2766f1b11ea4866c8026baf970b52be2f599279b56f5fcea946c8fa8e4e9f36d3bc5abf5128c23716ce4ddb9f74c25e581eca2c57f
7
- data.tar.gz: 1a4f23c436e1f4f501284c5c6d359f627f628bb0c2fbb96f0325a7474645f4a42936678226a5abea2ee9d471eed9cabd139063b66707485ee9ff850231565f23
6
+ metadata.gz: 1cf108b5df767de36f02494f7d58df0d7896a07cff532963704da5591e58064badd8fc7539440ae32ab31a9cb4505491180570955b7fd1cb188197502330b90c
7
+ data.tar.gz: c889babd339076d8059d6535eb98f5c3414481212b4d3d09efca03719e91657b8b3904d109684d594e8ff9365830f2f6776b9aa58d4b11c8184c562382457be8
data/README.md CHANGED
@@ -70,8 +70,10 @@ Add `rake webpack:compile` to your deployment. It serves a similar purpose as Sp
70
70
  If you're using `[chunkhash]` in your build asset filenames (which you should be, if you want to cache them in production), you'll need to persist built assets between deployments. Consider in-flight requests at the time of deployment: they'll receive paths based on the old `manifest.json`, not the new one.
71
71
 
72
72
  ## Example Apps
73
- [basic](https://github.com/wdjungst/webpack-rails-react-basic)
74
- [react-router](https://github.com/wdjungst/webpack-rails-react-router)
73
+ * [basic](https://github.com/cottonwoodcoding/webpack-rails-react-basic)
74
+ * [react-router](https://github.com/cottonwoodcoding/webpack-rails-react-router)
75
+ * [redux](https://github.com/cottonwoodcoding/webpack-rails-react-redux)
76
+ * [redux react-router](https://github.com/cottonwoodcoding/webpack-rails-react-redux-router)
75
77
  ## TODO
76
78
 
77
79
  * Add eslint to client
@@ -12,7 +12,11 @@ module WebpackRailsReact
12
12
  end
13
13
 
14
14
  def copy_procfile
15
- copy_file "Procfile", "Procfile"
15
+ if File.exists? "Procfile"
16
+ append_file "Procfile", "webpack: ./node_modules/.bin/webpack-dev-server --config config/webpack.config.js"
17
+ else
18
+ copy_file "Procfile", "Procfile"
19
+ end
16
20
  end
17
21
 
18
22
  def copy_package_json
@@ -2,7 +2,7 @@ module Webpack
2
2
  # :nodoc:
3
3
  module Rails
4
4
  module React
5
- VERSION = "1.0.4"
5
+ VERSION = "1.0.5"
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Jungst