quick-debug 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ class D
39
39
  timestamp = Time.now.strftime("%a %H:%M:%S")
40
40
  File.open(@@logpath, 'a+') do |f|
41
41
  print_separator_if_needed f
42
- f.puts "[#{timestamp}] #{eval_inspect(caller[1], &block)}"
42
+ f.puts "[#{timestamp}] #{eval_inspect(caller[2], &block)}"
43
43
  end
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  class D
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick-debug
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Suan-Aik Yeo