node_task 0.3.4 → 0.3.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: 985d1aa9ea747c6bf0d40ee8c88a29ee132fd549
4
- data.tar.gz: 8b5cfc193b9336b07bb6e6d529f564b0e80e0479
3
+ metadata.gz: e44f03bae329e6a34564b9ba9b6d4d3993d1ae8a
4
+ data.tar.gz: 904df2ea39a7cfa56bbf6844b4802c9b48caa762
5
5
  SHA512:
6
- metadata.gz: 41137decfb4b9125e9de14c7cfd1c900abaefb4a9c5f0d0e1a35397c961dac53b3b903e273325e70236564c2c9073bc01364cb6be2d57fd575ee8a7317d230fb
7
- data.tar.gz: a9f54029fc547f9ae3b3ad5fa450318bab46587420195934be95aad93a65f31070b734f53f1113fcc382c5748ea8ce155f03c658f7944cad39e3ab9611c15485
6
+ metadata.gz: 494af063fe80c64b308eea2863be55e0496cb3960ea161426d5210609f2c6ace2303b56ce0a5be01c26de0cddfd72b4c5908b56e67d94624c4316fda1bbad702
7
+ data.tar.gz: db414092152a9fb90c5b18d3027adabfb48448dfb1c8d0f9ec56ee6a2cdec61e1890febc3ff0251360d5d2d0cfa31628a366a1d7bd15591fb7d930ab92acbee9
@@ -12,15 +12,15 @@ class NodeTask
12
12
  attr_accessor :js_error
13
13
 
14
14
  def initialize(original_js_error)
15
- js_error = original_js_error
15
+ @js_error = original_js_error
16
16
 
17
- super(js_error ? js_error[:message] : nil)
17
+ super(@js_error ? @js_error[:message] : nil)
18
18
  end
19
19
 
20
20
  def to_s
21
- return super unless js_error
21
+ return super unless @js_error
22
22
 
23
- js_error[:stack] || js_error[:message]
23
+ @js_error[:stack] || @js_error[:message]
24
24
  end
25
25
  end
26
26
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruby_node_task",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "",
5
5
  "main": "nodeTask.js",
6
6
  "scripts": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: node_task
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Friend