sane 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -20
- data/VERSION +1 -1
- data/lib/sane.rb +3 -7
- data/lib/sane/{hash_set_operators_bug_fix.rb → hash_minus_hash.rb} +0 -0
- data/sane.gemspec +6 -6
- metadata +5 -5
data/Rakefile
CHANGED
@@ -1,30 +1,12 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'jeweler'
|
3
3
|
Jeweler::Tasks.new do |s|
|
4
|
-
|
5
4
|
s.name = %q{sane}
|
6
|
-
# 3: add hash_set_operators
|
7
|
-
# 0.2.2: add Regex+Regex, bug fixes
|
8
|
-
# 0.2.0:
|
9
|
-
# add irb simple prompt, auto indent by default [sane defaults!]
|
10
|
-
# 1: add $: << '.', don't do Hash#hash on 1.9
|
11
|
-
# 0.1.
|
12
|
-
# 9 add irb autocompletion on by default [if you're in an IRB session, that is]
|
13
|
-
# 8 add Hash#hash
|
14
|
-
# 7 add File.binwrite
|
15
|
-
# rename aliaz alias_h [ for alias hash ]
|
16
|
-
# 6 add File.binread [1.9 has it, 1.8 not]
|
17
|
-
# 5 remove #sum method [not rails compat]
|
18
|
-
# 4 add _dbg as a file
|
19
|
-
# 0.1.3 require 'pp' with _dbg
|
20
|
-
# 0.1.2 add singleton_class
|
21
|
-
# 0.1.1 add aliaz
|
22
|
-
|
23
5
|
s.homepage = 'http://github.com/rogerdpack/sane_ruby'
|
24
6
|
s.authors = ["Roger Pack"]
|
25
7
|
s.description = s.summary = %q{Helpers for ruby core to make it easier to work with--things that are missing from core but should arguably be there}
|
26
8
|
s.email = ["rogerdpack@gmail.com"]
|
27
|
-
s.add_dependency("rdp-require_all")
|
28
|
-
s.add_dependency("hash_set_operators")
|
9
|
+
s.add_dependency("rdp-require_all")
|
29
10
|
s.add_dependency 'os'
|
11
|
+
s.add_dependency 'andand' # turns out to be pretty useful...
|
30
12
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.16.0
|
data/lib/sane.rb
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
# require some "necessary" gems
|
2
|
-
|
3
|
-
require 'rubygems' if RUBY_VERSION < '1.9' # for the other requires
|
4
|
-
|
1
|
+
# require some "necessary" other gems
|
5
2
|
require 'require_all' # for require_rel
|
6
|
-
require 'hash_set_operators' # not sure why this one isn't in core
|
7
3
|
require 'os'
|
8
|
-
|
9
|
-
require_rel 'sane' #
|
4
|
+
require 'andand'
|
5
|
+
require_rel 'sane' # now require all files in sub directory
|
10
6
|
|
11
7
|
class Sane
|
12
8
|
# helper for installing it locally on 1.8
|
File without changes
|
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.
|
8
|
+
s.version = "0.16.0"
|
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-18}
|
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 = [
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
"lib/sane/file.rb",
|
33
33
|
"lib/sane/float.rb",
|
34
34
|
"lib/sane/hash_hashes.rb",
|
35
|
-
"lib/sane/
|
35
|
+
"lib/sane/hash_minus_hash.rb",
|
36
36
|
"lib/sane/irb_startup_options.rb",
|
37
37
|
"lib/sane/sane_random.rb",
|
38
38
|
"sane.gemspec",
|
@@ -54,17 +54,17 @@ Gem::Specification.new do |s|
|
|
54
54
|
|
55
55
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
56
56
|
s.add_runtime_dependency(%q<rdp-require_all>, [">= 0"])
|
57
|
-
s.add_runtime_dependency(%q<hash_set_operators>, [">= 0"])
|
58
57
|
s.add_runtime_dependency(%q<os>, [">= 0"])
|
58
|
+
s.add_runtime_dependency(%q<andand>, [">= 0"])
|
59
59
|
else
|
60
60
|
s.add_dependency(%q<rdp-require_all>, [">= 0"])
|
61
|
-
s.add_dependency(%q<hash_set_operators>, [">= 0"])
|
62
61
|
s.add_dependency(%q<os>, [">= 0"])
|
62
|
+
s.add_dependency(%q<andand>, [">= 0"])
|
63
63
|
end
|
64
64
|
else
|
65
65
|
s.add_dependency(%q<rdp-require_all>, [">= 0"])
|
66
|
-
s.add_dependency(%q<hash_set_operators>, [">= 0"])
|
67
66
|
s.add_dependency(%q<os>, [">= 0"])
|
67
|
+
s.add_dependency(%q<andand>, [">= 0"])
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
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.
|
4
|
+
version: 0.16.0
|
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-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: "0"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
26
|
+
name: os
|
27
27
|
type: :runtime
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: "0"
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: andand
|
37
37
|
type: :runtime
|
38
38
|
version_requirement:
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -68,7 +68,7 @@ files:
|
|
68
68
|
- lib/sane/file.rb
|
69
69
|
- lib/sane/float.rb
|
70
70
|
- lib/sane/hash_hashes.rb
|
71
|
-
- lib/sane/
|
71
|
+
- lib/sane/hash_minus_hash.rb
|
72
72
|
- lib/sane/irb_startup_options.rb
|
73
73
|
- lib/sane/sane_random.rb
|
74
74
|
- sane.gemspec
|