vuejs-webpack-rails 0.0.1 → 0.0.2

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: 3dec3036b208c0e9c42d5553abc67c5ec278bcc2
4
- data.tar.gz: 45a19234d628fdf01ce58af0c2e4447f06550a6a
3
+ metadata.gz: 68804d057121f1ff6d2567ef881255cd368facde
4
+ data.tar.gz: b605d3b15d80a2e97d49404510b22fc6de2b6fb4
5
5
  SHA512:
6
- metadata.gz: e148a37f5b793a314cd62426aa48a206a8d2b607a7c5c5845e8a8b65c22913b3f4624fde30c4e317053e226332eea2e3598b9d4a6cc14aced7badf21c1fa80ca
7
- data.tar.gz: 8b65b5cd57a115eebc625f27411055bc0b56b5a6df4d7dc9486c79e4947f29567c56b6d431d58664956179733c5ef2f7de7b3a92a26693aa5d9c68294c76dbc9
6
+ metadata.gz: e47af650aac9ad66f2a7abac080054893d614e9d740ba92b55616a25fb6418a26e04fcff967765bdcfc0a22458b8033f982e5865387c6e4a60603593612f2550
7
+ data.tar.gz: d6bbf72bc4ff4e5dc5187cbc3736b4d499248f3f701219418dcf85f44526739c526d142ae61886a98ed34184d536df26e2c5d2a737456e55ef13d3eef3c141e7
@@ -54,6 +54,10 @@ module VuejsWebpackRails
54
54
  end
55
55
  end
56
56
 
57
+ def modify_procfile
58
+ gsub_file 'Procfile', %r{(config/webpack.config.js)\s*$}, '\1 --hot --inline'
59
+ end
60
+
57
61
  def install_packages
58
62
  install_npm_packanges '-S', *%w(vue lodash)
59
63
  install_npm_packanges '-D', *%w(webpack-manifest-plugin extract-text-webpack-plugin webpack-merge)
@@ -2,7 +2,7 @@ module Vuejs
2
2
  module Webpack
3
3
  # :nodoc:
4
4
  module Rails
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vuejs-webpack-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiaohui Zhang