rails-webpack 0.2.0 → 0.2.1

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: d764cae98ddef26b2d9a07d8fcc64f7331478d53
4
- data.tar.gz: 9e654db45596e44acb7d3e266bb8cd81f28c4a19
3
+ metadata.gz: d85a5fe86ae8bdaadcd6042afbef34877cceb4a6
4
+ data.tar.gz: 112880e1f3ba59cd9678e39ec5347c3be4f1d1ed
5
5
  SHA512:
6
- metadata.gz: 3b916ec4993cdc720d0170efa10a45ddac6d362a837c44da7a307575f7433a9e873fb4549d5b0eeba71adc4b1064c0a5704b482b72cfbb7c65c71213934c7a02
7
- data.tar.gz: 05d7e45538d286b103db0f56848e5e3b8a4ce7839c468bd130762433c537b9d2c10381e523c70ae6c542043431eb8113503a0f41afe3c08acb146f9b5289b028
6
+ metadata.gz: 099138a005ff250a6c98af2dbe199894c3a36bbbc33cca0cc1ae1670a0f9869b4061677477f465717a3e3831d45918100b141e341d4fad85cd67ac030ef00b06
7
+ data.tar.gz: ac58f41d6da8394679eec67e5c8c002885d9abf39be6f90523d38950d3a7d2f82e6ba3b5e2ef58263c1878b2e1212183cbccf7c094869b0d487f53d276d681df
@@ -3,7 +3,7 @@ module Webpack
3
3
  source_root File.expand_path(__dir__)
4
4
 
5
5
  def change_rails_context
6
- gsub_file 'Rakefile', 'require File.expand_path(\'../config/application\', __FILE__)', 'require_realtive \'config/environment\''
6
+ gsub_file 'Rakefile', 'require File.expand_path(\'../config/application\', __FILE__)', 'require_relative \'config/environment\''
7
7
  end
8
8
 
9
9
  def init_config
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Webpack
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ webpack = (gulp, plugins, root) ->
3
3
  webpack = require 'webpack'
4
4
  stream = require 'webpack-stream'
5
5
  named = require 'vinyl-named'
6
- (callback) ->
6
+ () ->
7
7
  gulp.src('src/pages/**.coffee')
8
8
  .pipe(named())
9
9
  .pipe(stream(
@@ -22,12 +22,8 @@ webpack = (gulp, plugins, root) ->
22
22
  new webpack.ResolverPlugin(
23
23
  new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
24
24
  )
25
- ],
26
- (err, stats) ->
27
- throw new gutil.PluginError('webpack', err) if(err)
28
- plugins.util.log('[webpack]', stats.toString())
29
- callback())
30
- )
25
+ ]
26
+ ))
31
27
  .pipe(gulp.dest(path.join root, '../assets/compiled/'))
32
28
  return null
33
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-webpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeong, Jiung