sane 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sane/bugs.rb +1 -1
- data/sane.gemspec +5 -4
- data/spec/test_sane.spec +6 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.5
|
data/lib/sane/bugs.rb
CHANGED
data/sane.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sane}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.5"
|
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-
|
12
|
+
s.date = %q{2009-11-17}
|
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 = [
|
@@ -61,3 +61,4 @@ Gem::Specification.new do |s|
|
|
61
61
|
s.add_dependency(%q<hash_set_operators>, [">= 0"])
|
62
62
|
end
|
63
63
|
end
|
64
|
+
|
data/spec/test_sane.spec
CHANGED
@@ -78,8 +78,12 @@ describe TestSane do
|
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
|
-
it "should have good looking
|
82
|
-
assert( (1.1 - 0.9).inspect
|
81
|
+
it "should have good looking float#inspect" do
|
82
|
+
assert( (1.1 - 0.9).inspect.include? '0.2000000' ) # 0.20000000000000006661 or something close to it
|
83
|
+
end
|
84
|
+
|
85
|
+
it "should return false if you call File.executable? non_existent_file" do
|
86
|
+
assert !File.executable?('nonexistent')
|
83
87
|
end
|
84
88
|
|
85
89
|
|
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.
|
4
|
+
version: 0.9.5
|
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-
|
12
|
+
date: 2009-11-17 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|