sane 0.25.1 → 0.25.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.
- data/VERSION +1 -1
- data/lib/sane/sane_random.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.25.
|
1
|
+
0.25.2
|
data/lib/sane/sane_random.rb
CHANGED
@@ -58,13 +58,13 @@ end
|
|
58
58
|
# taken from http://oldrcrs.rubypal.com/rcr/show/309
|
59
59
|
|
60
60
|
module Kernel
|
61
|
-
BASE_DIR = Dir.getwd
|
61
|
+
# BASE_DIR = Dir.getwd
|
62
62
|
|
63
63
|
def __DIR__
|
64
|
-
dir = (/^(.+)?:\d+/ =~ caller[0]) ? File.expand_path(File.dirname($1),
|
64
|
+
dir = (/^(.+)?:\d+/ =~ caller[0]) ? File.expand_path(File.dirname($1), Dir.pwd) : nil
|
65
65
|
dir
|
66
66
|
end unless defined?(__DIR__)
|
67
|
-
# deemed too unfriendly since it would
|
67
|
+
# below deemed too unfriendly since it would
|
68
68
|
# seem to imply that _file__ also exists
|
69
69
|
# alias __dir__ __DIR__ unless defined?(__dir__)
|
70
70
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.25.
|
5
|
+
version: 0.25.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Roger Pack
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-12-
|
13
|
+
date: 2011-12-21 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: os
|