webpack_assets 0.0.3 → 0.0.4

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: f8b9ad84617df9eb16af6e899e27d4024ea1c4eb
4
- data.tar.gz: afc4ff8a3cf4b4e3a36f1c6cede56ce743f58a8d
3
+ metadata.gz: 675ac1302940dcaa03f8d35544c3ed514dac4187
4
+ data.tar.gz: c664859e59c51f881213ed1c07f23604657adda5
5
5
  SHA512:
6
- metadata.gz: 40476f2e7f9b1113cd2fb4e94b7919a7bd512ad7258a0624cd9284125ee4369053f1c1b478a80e8cedc27671210d05b857020a2eea29b62ce800cd74dd5f5f58
7
- data.tar.gz: 4ab8b89c9df5dc9c2e953498acc4d759802c506873d726e0cedf76465de586f894b5d221c500e4afd0b1454e64976039f6f58cc6de31f22092af1dd3af50111e
6
+ metadata.gz: b68a69d30b3d463d9174fe90f3e5758f37d8fe8bdabe7393557a1f43bb2600b47b4bfb527c9375a18ff32e2671e968bbcf7633281feb19e62575ba6f6674acdf
7
+ data.tar.gz: 41871b241b66c22e751a9ef1c86cde7ddd2cdeb1301531c54d25f22b371500205112824dc2136dd48ead9ae364ba016d6b33c1512ae3653bc063c1d1f0ac115d
@@ -18,10 +18,8 @@ namespace :assets do
18
18
  sh "NODE_ENV=#{Rails.env} $(npm bin)/webpack"
19
19
  end
20
20
 
21
- # can you look up the file to clobber based on the webpack file?
22
- # "#{app.config.root}/#{app.config.}
21
+ # look up the file to clobber, or fallback to default
23
22
  task :clobber do
24
-
25
23
  path = begin
26
24
  "#{Rails.root}/#{Rails.application.config.webpack_build_path}"
27
25
  rescue
@@ -33,7 +31,7 @@ namespace :assets do
33
31
  namespace :webpack do
34
32
  desc 'compile with webpack and watch for changes'
35
33
  task :watch do
36
- sh "NODE_ENV=#{Rails.env} $(npm bin)/webpack --config webpack.config.js --watch --devtool inline-source-map"
34
+ sh "NODE_ENV=#{Rails.env} $(npm bin)/webpack --config webpack.config.js --colors --progress --watch --devtool inline-source-map"
37
35
  end
38
36
  end
39
37
 
@@ -1,3 +1,3 @@
1
1
  module WebpackAssets
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Madsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2015-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.2.2
81
+ rubygems_version: 2.4.6
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: add webpack build into assets:precompile