sane 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sane/sane_random.rb +2 -0
- data/sane.gemspec +2 -2
- data/spec/spec.sane.rb +4 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.16.
|
1
|
+
0.16.1
|
data/lib/sane/sane_random.rb
CHANGED
@@ -80,11 +80,13 @@ end
|
|
80
80
|
|
81
81
|
module Kernel
|
82
82
|
BASE_DIR = Dir.getwd
|
83
|
+
|
83
84
|
def __DIR__
|
84
85
|
dir = (/^(.+)?:\d+/ =~ caller[0]) ? File.expand_path(File.dirname($1), BASE_DIR) : nil
|
85
86
|
dir += '/' if dir
|
86
87
|
dir
|
87
88
|
end unless defined?(__DIR__)
|
89
|
+
alias __dir__ __DIR__ unless defined?(__dir__)
|
88
90
|
end
|
89
91
|
|
90
92
|
if RUBY_VERSION >= '1.9.2'
|
data/sane.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sane}
|
8
|
-
s.version = "0.16.
|
8
|
+
s.version = "0.16.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roger Pack"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-22}
|
13
13
|
s.description = %q{Helpers for ruby core to make it easier to work with--things that are missing from core but should arguably be there}
|
14
14
|
s.email = ["rogerdpack@gmail.com"]
|
15
15
|
s.extra_rdoc_files = [
|
data/spec/spec.sane.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Pack
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-22 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|