bookmarks 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3245aeebe26e88b088bd079680022e2c07a12d85
4
- data.tar.gz: a5bd9fd6a42e87f1dc9b7a491ff3f3aff0092480
3
+ metadata.gz: 8b6fc48b5c532d131f2012db8233924be5f943a2
4
+ data.tar.gz: b00159b886d3c8aed2a38f642367db5c87e01cb9
5
5
  SHA512:
6
- metadata.gz: b8732c82641f01aeb904e5b663c486d6aaab591db2567f3361bcc2672456be031752db176c08efef73894b91d2066d3e19754afee7d6c573ffe74d8c86e5f1bc
7
- data.tar.gz: a88867e39a47bc0d48a17999ec69ad862eca64ffcb396b80817ef25564a23215f7aec5cb51dfe9ffa5bb878fb78a67d853326f793a1ccbb540bfa68c584deb2c
6
+ metadata.gz: 130b58d24f603d57be544d57df80c5f0931ee5f8133d120199ac7797c3e4cb1e0d2d0f3e0a381fa27add3ca6c4271137281b86a258864723adfb940dd3bd83c0
7
+ data.tar.gz: a7a2f2d2d073537576af89d1649ed4597394e8162e539c56cea4101d88e0acd2fdb62f839a697ef89d6e1db3de8374ea516d19b2f8c1e66370014d335c0ff234
data/Changelog.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ version 0.2.1 (2013-07-25)
2
+ ===========================
3
+
4
+ * Bugfix: URIs not starting with 'http' are now ignored.
5
+
6
+
1
7
  version 0.2.0 (2013-07-25)
2
8
  ===========================
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bookmarks (0.2.0)
4
+ bookmarks (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/TODO CHANGED
@@ -0,0 +1 @@
1
+ Assurer qu'un href sans date ne crash pas.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -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.0
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: []