calloutd 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/calloutd.rb +6 -7
  2. metadata +3 -3
data/lib/calloutd.rb CHANGED
@@ -23,10 +23,7 @@ class Callouts
23
23
 
24
24
  end
25
25
  =end
26
- def err(m)
27
- p "err!:#{m}"
28
- print m.backtrace.join("\n")
29
- end
26
+
30
27
  class CallOut
31
28
  @@callout_fs_root = "."
32
29
  class << self
@@ -137,9 +134,10 @@ class CallOut
137
134
  }
138
135
  end
139
136
  rescue Exception=>e
140
- err(e)
141
- p e.inspect
142
137
  File.delete(fname)
138
+ p "err!:#{e}"
139
+ print e.backtrace.join("\n")
140
+
143
141
 
144
142
  end
145
143
  }
@@ -172,7 +170,8 @@ def calloutd
172
170
 
173
171
  end
174
172
  rescue Exception=>e
175
- err(e)
173
+ p "err!:#{e}"
174
+ print e.backtrace.join("\n")
176
175
  end
177
176
  next true
178
177
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calloutd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ju Weihua (Jackie Ju)