eat 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/eat.rb +1 -1
- data/lib/eat/version.rb +1 -1
- data/test/test_eat.rb +4 -0
- metadata +6 -6
data/lib/eat.rb
CHANGED
data/lib/eat/version.rb
CHANGED
data/test/test_eat.rb
CHANGED
@@ -17,6 +17,10 @@ class TestEat < Test::Unit::TestCase
|
|
17
17
|
assert eat(__FILE__).include?('class TestEat < Test::Unit::TestCase')
|
18
18
|
end
|
19
19
|
|
20
|
+
def test_filesystem_uri
|
21
|
+
assert eat("file://#{File.expand_path(__FILE__)}").include?('class TestEat < Test::Unit::TestCase')
|
22
|
+
end
|
23
|
+
|
20
24
|
def test_http
|
21
25
|
assert eat('http://brighterplanet.com/robots.txt').include?('User-agent')
|
22
26
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Seamus Abshere
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-29 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements: []
|
82
82
|
|
83
83
|
rubyforge_project: eat
|
84
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 3
|
87
87
|
summary: A more trustworthy open-uri for use with RSS feeds, config scripts, etc.
|