sane 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
data/lib/sane.rb CHANGED
@@ -3,6 +3,6 @@ require 'require_all'
3
3
  require 'backports/tools.rb' # backports
4
4
  require 'backports/1.9/io' # File.binread
5
5
  require 'hash_set_operators' # not sure why these aren't in core
6
- require_rel 'sane_ruby' # require all sub files
6
+ require_rel 'sane' # require all sub files
7
7
 
8
8
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/sane/os.rb ADDED
@@ -0,0 +1,11 @@
1
+ class OS
2
+
3
+ # OS.windows?
4
+ # true if on windows [and/or jruby]
5
+ # false if on linux or cygwin
6
+ def self.windows?
7
+ require 'rbconfig'
8
+ RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
9
+ end
10
+
11
+ end
@@ -89,10 +89,3 @@ end
89
89
  if RUBY_VERSION >= '1.9.2'
90
90
  $: << '.' # for some reason loading files from the cwd was taken out. That is not sane.
91
91
  end
92
-
93
- class OS
94
- def self.windows?
95
- require 'rbconfig'
96
- RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
97
- end
98
- end
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.9.0"
8
+ s.version = "0.9.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-11-03}
12
+ s.date = %q{2009-11-05}
13
13
  s.description = %q{Helper methods for ruby to make it easier to work with out of the box--things that are missing from core but should be there}
14
14
  s.email = ["rogerdpack@gmail.com"]
15
15
  s.extra_rdoc_files = [
@@ -23,14 +23,15 @@ Gem::Specification.new do |s|
23
23
  "VERSION",
24
24
  "lib/_dbg.rb",
25
25
  "lib/sane.rb",
26
- "lib/sane_ruby/add_regexes.rb",
27
- "lib/sane_ruby/bugs.rb",
28
- "lib/sane_ruby/enumerable-extra.rb",
29
- "lib/sane_ruby/enumerable_brackets.rb",
30
- "lib/sane_ruby/hash_hashes.rb",
31
- "lib/sane_ruby/hash_set_operators_bug_fix.rb",
32
- "lib/sane_ruby/irb_startup_options.rb",
33
- "lib/sane_ruby/sane_random.rb",
26
+ "lib/sane/add_regexes.rb",
27
+ "lib/sane/bugs.rb",
28
+ "lib/sane/enumerable-extra.rb",
29
+ "lib/sane/enumerable_brackets.rb",
30
+ "lib/sane/hash_hashes.rb",
31
+ "lib/sane/hash_set_operators_bug_fix.rb",
32
+ "lib/sane/irb_startup_options.rb",
33
+ "lib/sane/os.rb",
34
+ "lib/sane/sane_random.rb",
34
35
  "sane.gemspec",
35
36
  "spec/test_sane.spec",
36
37
  "todo"
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.9.0
4
+ version: 0.9.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-11-03 00:00:00 -07:00
12
+ date: 2009-11-05 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -59,14 +59,15 @@ files:
59
59
  - VERSION
60
60
  - lib/_dbg.rb
61
61
  - lib/sane.rb
62
- - lib/sane_ruby/add_regexes.rb
63
- - lib/sane_ruby/bugs.rb
64
- - lib/sane_ruby/enumerable-extra.rb
65
- - lib/sane_ruby/enumerable_brackets.rb
66
- - lib/sane_ruby/hash_hashes.rb
67
- - lib/sane_ruby/hash_set_operators_bug_fix.rb
68
- - lib/sane_ruby/irb_startup_options.rb
69
- - lib/sane_ruby/sane_random.rb
62
+ - lib/sane/add_regexes.rb
63
+ - lib/sane/bugs.rb
64
+ - lib/sane/enumerable-extra.rb
65
+ - lib/sane/enumerable_brackets.rb
66
+ - lib/sane/hash_hashes.rb
67
+ - lib/sane/hash_set_operators_bug_fix.rb
68
+ - lib/sane/irb_startup_options.rb
69
+ - lib/sane/os.rb
70
+ - lib/sane/sane_random.rb
70
71
  - sane.gemspec
71
72
  - spec/test_sane.spec
72
73
  - todo