robots 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -1
- data/README +1 -1
- data/VERSION +1 -1
- data/lib/robots.rb +2 -1
- data/robots.gemspec +6 -5
- data/test/test_robots.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -9,7 +9,7 @@ Usage:
|
|
9
9
|
|
10
10
|
If you want caching, you're on your own. I suggest marshalling an instance of the parser.
|
11
11
|
|
12
|
-
Copyright (c) 2008 Kyle Maxwell
|
12
|
+
Copyright (c) 2008 Kyle Maxwell, contributors
|
13
13
|
|
14
14
|
Permission is hereby granted, free of charge, to any person
|
15
15
|
obtaining a copy of this software and associated documentation
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/lib/robots.rb
CHANGED
data/robots.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
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{robots}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.8.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kyle Maxwell"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-02-08}
|
13
13
|
s.description = %q{It parses robots.txt files}
|
14
14
|
s.email = %q{kyle@kylemaxwell.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.homepage = %q{http://github.com/fizx/robots}
|
30
30
|
s.rdoc_options = ["--charset=UTF-8"]
|
31
31
|
s.require_paths = ["lib"]
|
32
|
-
s.rubygems_version = %q{1.3.
|
32
|
+
s.rubygems_version = %q{1.3.5}
|
33
33
|
s.summary = %q{Simple robots.txt parser}
|
34
34
|
s.test_files = [
|
35
35
|
"test/test_robots.rb"
|
@@ -48,3 +48,4 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
49
49
|
end
|
50
50
|
end
|
51
|
+
|
data/test/test_robots.rb
CHANGED
@@ -39,7 +39,7 @@ class TestRobots < Test::Unit::TestCase
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def test_other_values
|
42
|
-
sitemap = {"Sitemap" => "http://www.eventbrite.com/sitemap_index.xml"}
|
42
|
+
sitemap = {"Sitemap" => ["http://www.eventbrite.com/sitemap_index.xml", "http://www.eventbrite.com/sitemap_index.xml"]}
|
43
43
|
assert_equal(sitemap, @robots.other_values("http://eventbrite.com"))
|
44
44
|
end
|
45
45
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Maxwell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-02-08 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements: []
|
65
65
|
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.3.
|
67
|
+
rubygems_version: 1.3.5
|
68
68
|
signing_key:
|
69
69
|
specification_version: 3
|
70
70
|
summary: Simple robots.txt parser
|