bookmarks 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changelog.markdown +6 -0
- data/Gemfile.lock +1 -1
- data/TODO +1 -0
- data/VERSION +1 -1
- data/lib/bookmarks/document.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b6fc48b5c532d131f2012db8233924be5f943a2
|
|
4
|
+
data.tar.gz: b00159b886d3c8aed2a38f642367db5c87e01cb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 130b58d24f603d57be544d57df80c5f0931ee5f8133d120199ac7797c3e4cb1e0d2d0f3e0a381fa27add3ca6c4271137281b86a258864723adfb940dd3bd83c0
|
|
7
|
+
data.tar.gz: a7a2f2d2d073537576af89d1649ed4597394e8162e539c56cea4101d88e0acd2fdb62f839a697ef89d6e1db3de8374ea516d19b2f8c1e66370014d335c0ff234
|
data/Changelog.markdown
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
data/lib/bookmarks/document.rb
CHANGED
|
@@ -83,7 +83,7 @@ module Bookmarks
|
|
|
83
83
|
@h3_tags << h3_tags(line)
|
|
84
84
|
elsif line =~ /^<\/DL>/
|
|
85
85
|
@h3_tags.pop
|
|
86
|
-
elsif line =~ /<DT><A/
|
|
86
|
+
elsif line =~ /<DT><A HREF="http/
|
|
87
87
|
@bookmarks << NetscapeBookmark.from_string(line)
|
|
88
88
|
if (not @h3_tags.empty?) && (not @bookmarks.last.nil?)
|
|
89
89
|
@bookmarks.last.add_tags @h3_tags
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bookmarks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Xavier Nayrac
|
|
@@ -69,7 +69,7 @@ dependencies:
|
|
|
69
69
|
description: |-
|
|
70
70
|
Bookmarks is a library to parse or build a file of
|
|
71
71
|
bookmarks, currently only files in netscape format, like the ones
|
|
72
|
-
exported by Delicious.
|
|
72
|
+
exported by Delicious or Firefox.
|
|
73
73
|
email: xavier.nayrac@gmail.com
|
|
74
74
|
executables: []
|
|
75
75
|
extensions: []
|