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 +4 -4
- data/lib/node_task/node_task.rb +4 -4
- data/lib/node_task/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e44f03bae329e6a34564b9ba9b6d4d3993d1ae8a
|
4
|
+
data.tar.gz: 904df2ea39a7cfa56bbf6844b4802c9b48caa762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494af063fe80c64b308eea2863be55e0496cb3960ea161426d5210609f2c6ace2303b56ce0a5be01c26de0cddfd72b4c5908b56e67d94624c4316fda1bbad702
|
7
|
+
data.tar.gz: db414092152a9fb90c5b18d3027adabfb48448dfb1c8d0f9ec56ee6a2cdec61e1890febc3ff0251360d5d2d0cfa31628a366a1d7bd15591fb7d930ab92acbee9
|
data/lib/node_task/node_task.rb
CHANGED
@@ -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
|
|
data/lib/node_task/package.json
CHANGED