webpack_rails 1.2.2 → 1.3.0

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: c8a4638363fca1c08bc4337d8bd03098575a9c9d
4
- data.tar.gz: cb384563ac4327c7eae97485482de7e42ab5f249
3
+ metadata.gz: 2ce87fd8b09d37538e4476a527a1668908bf78bc
4
+ data.tar.gz: 0901773166b7a9074df2a3638493e1233996403b
5
5
  SHA512:
6
- metadata.gz: 4c4f84dca4623c7dab8922a29f61d46022d0ce0ed8a2765033457b15bded3e5db59f5e491402b53291feb96e530036c1e91ed9775cca7c55c38d5929077859a0
7
- data.tar.gz: a49e09b788c050c2853a469b9a5121bcf55f93b099578de99ab01d03918dc8a264e5f7cc65859822e961bf78f5e4e95b0abf75f471989d4619d79fd4762c7364
6
+ metadata.gz: 862fced2cb06eced667b52d2fe15b9ab7a05c1a2dac951cbc6f786fa0dee6842eb6440271a8af0f83182a28f954555aecfeb84d609516b3b3d5ba557b430f920
7
+ data.tar.gz: 511e95365db6794ea8be3674f8f846fc6727b82cc686abe397f49f6ef0775daa88f269d702f5616b0f3739c397f8a12c448688269941c436b77adf7425a1b451
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack_rails",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "main": "webpack-dev-server.js",
6
6
  "scripts": {
@@ -9,8 +9,6 @@ module WebpackRails
9
9
  def initialize(node_task_error)
10
10
  super(node_task_error.to_s)
11
11
 
12
- # TODO: expose @js_error from NodeTask::Error
13
- js_error = node_task_error.instance_variable_get(:@js_error)
14
12
  set_backtrace(js_error[:stack].split('\n')) if js_error
15
13
  end
16
14
  end
@@ -63,26 +61,6 @@ module WebpackRails
63
61
  return_value
64
62
  end
65
63
 
66
- # TODO: move to NodeTask
67
- def alive?
68
- current_pid = nil
69
- alive = false
70
- if @controller
71
- begin
72
- current_pid = @controller.pid
73
- rescue Errno::ENOENT
74
- end
75
- end
76
- if current_pid
77
- begin
78
- Process.getpgid(current_pid)
79
- alive = true
80
- rescue Errno::ESRCH
81
- end
82
- end
83
- alive
84
- end
85
-
86
64
  def build_once(webpack_task_config)
87
65
  WebpackRails::Task.with_app_node_path do
88
66
  webpack_cmd_script = `#{WebpackRails::Task.node_command} -e "process.stdout.write(require.resolve('webpack/bin/webpack.js'))"`
@@ -90,7 +90,6 @@ function makeDevServerConfig(opts) {
90
90
  new webpack.optimize.OccurenceOrderPlugin(),
91
91
  // https://webpack.github.io/docs/webpack-dev-server.html#hot-module-replacement
92
92
  new webpack.HotModuleReplacementPlugin(),
93
- new webpack.NoErrorsPlugin(),
94
93
  new ErrorMessagePlugin(),
95
94
  ]),
96
95
  });
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Friend
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-05 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: node_task
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0
19
+ version: 0.3.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.0
26
+ version: 0.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tilt
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sprockets
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: Much longer explanation of the webpack_rails!
42
56
  email: james@jsdf.co
43
57
  executables: []