From abbb22203eaff703bf63289de37d655134499923 Mon Sep 17 00:00:00 2001 From: Dan Lecocq Date: Wed, 16 Nov 2016 08:00:50 -0800 Subject: [PATCH 1/3] Failing test about robots.txt agent case insensitivity. --- tests/test_robots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_robots.py b/tests/test_robots.py index e76e438..fd05433 100644 --- a/tests/test_robots.py +++ b/tests/test_robots.py @@ -136,7 +136,7 @@ def test_exposes_sitemaps(self): def test_case_insensitivity(self): '''Make sure user agent matches are case insensitive''' robot = robots.Robots.parse('http://example.com/robots.txt', ''' - User-agent: agent + User-agent: Agent Disallow: /path ''') self.assertFalse(robot.allowed('/path', 'agent')) From 419135c774dea818dc232a2e056cc1c0b7114c02 Mon Sep 17 00:00:00 2001 From: Dan Lecocq Date: Wed, 16 Nov 2016 08:01:48 -0800 Subject: [PATCH 2/3] Passing test about robots.txt agent case insensitivity. Rebase me when https://github.com/seomoz/rep-cpp/pull/8 is merged. --- reppy/rep-cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reppy/rep-cpp b/reppy/rep-cpp index 2439eb6..e13fbe2 160000 --- a/reppy/rep-cpp +++ b/reppy/rep-cpp @@ -1 +1 @@ -Subproject commit 2439eb64a3fba37981be6f9e2a48934f2176bb82 +Subproject commit e13fbe2e2844d7d5ad4e01087f9b4b888589a1e8 From e9e24230475d26c0edef3c91a30f2fd4243dbb1a Mon Sep 17 00:00:00 2001 From: Dan Lecocq Date: Wed, 16 Nov 2016 08:03:52 -0800 Subject: [PATCH 3/3] Version bump to 0.4.3. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 62a9922..237be36 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ setup( name = 'reppy', - version = '0.4.2', + version = '0.4.3', description = 'Replacement robots.txt Parser', long_description = '''Replaces the built-in robotsparser with a RFC-conformant implementation that supports modern robots.txt constructs like