quick-debug 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -59,7 +59,7 @@ require 'quick-debug'
59
59
  For especially legacy/hostile environments, or if you want to use this _really_ quickly, you can directly require the `quick-debug.rb` file in your code - it has no dependencies. If you do this often, a symlink could come in really useful. For example:
60
60
 
61
61
  ```
62
- $ sudo ln -s /Library/Ruby/Gems/1.8/gems/quick-debug-0.0.1/lib/quick-debug.rb /quick-debug
62
+ $ sudo ln -s /Library/Ruby/Gems/1.8/gems/quick-debug-0.0.1/lib/quick-debug.rb /quick-debug.rb
63
63
  ```
64
64
 
65
65
  Then, from within your code:
@@ -1,4 +1,5 @@
1
- require "#{File.dirname(__FILE__)}/quick-debug/version"
1
+ require 'pathname'
2
+ require "#{File.dirname(Pathname.new(__FILE__).realpath)}/quick-debug/version"
2
3
 
3
4
  class D
4
5
  @@logpath = '/tmp/quick-debug.txt'
@@ -1,3 +1,3 @@
1
1
  class D
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Suan-Aik Yeo