sutch-anemone 0.7.2.1 → 0.7.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.rdoc +1 -0
- data/VERSION +1 -1
- data/lib/anemone/page.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmZiYWJiZTc0MzczZTk3YWViMjZiNjQ3OTFlMmFmOWIxMTgyNTg3OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzBiMWI1NGJhNGVjNWVhOWYxM2M0NWFiNWM0YTg0ZjVhZjEzMjJjYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzdjZGI5OGJhMTc2NTMzMzMyODUzNmM4ZmY4OTY4N2VhODg4YWMxNTUzZjQ2
|
10
|
+
YjY3ZmIxZTcwYTg3NGY4N2Q5MWU5ODFhNGYwZDY3NzBkMDIxMTRlMTZmMTUz
|
11
|
+
Y2Y0YjdlMDM3NWUyODBhZTIwMzBmZWI5YjZkYjhlZjljZTgxNmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmVhYjA1NjE2MDhkNjUzYTFmZmYzMzY4OGM4NTEyZjJkZmMwYjJmNzM0MDJj
|
14
|
+
OGY2MGZlYWIzZWVmODFmNWJhNmQwOTE1YTNmMWM0YWI3YjY1ODYwNmUxMjZl
|
15
|
+
NmQwNWI0MjY5ZjMxYzc5MGUyYjU5Yzk4ZDliZmRlYjAxOTY1NTc=
|
data/CHANGELOG.rdoc
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
== sutch's branch
|
4
4
|
|
5
|
+
* Improved removal of fragments from URLs (now handles other characters in fragment)
|
5
6
|
* Changed SQLite3 timeout to allow for other clients to read from database
|
6
7
|
* Changed for wmonk: allow restarting of spider by not checking starting URLs
|
7
8
|
* Added Anemone::Resource to provide for spidering of resources other than HTML pages
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.2
|
1
|
+
0.7.2.2
|
data/lib/anemone/page.rb
CHANGED
@@ -154,7 +154,7 @@ module Anemone
|
|
154
154
|
return nil if link.nil?
|
155
155
|
|
156
156
|
# remove anchor
|
157
|
-
link = URI.encode(URI.decode(link.to_s.
|
157
|
+
link = URI.encode(URI.decode(link.to_s.sub(/##{URI(link).fragment}$/,'')))
|
158
158
|
|
159
159
|
relative = URI(link)
|
160
160
|
absolute = base ? base.merge(relative) : @url.merge(relative)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutch-anemone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.2.
|
4
|
+
version: 0.7.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Kite (Dennis Sutch's fork)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|