bookmarks 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b6fc48b5c532d131f2012db8233924be5f943a2
4
- data.tar.gz: b00159b886d3c8aed2a38f642367db5c87e01cb9
3
+ metadata.gz: 366f0dfbc1b9a0a27ae352712737725bba4a3980
4
+ data.tar.gz: a4d1515323a73d7a15e5fa35389d91bdd8d2ad55
5
5
  SHA512:
6
- metadata.gz: 130b58d24f603d57be544d57df80c5f0931ee5f8133d120199ac7797c3e4cb1e0d2d0f3e0a381fa27add3ca6c4271137281b86a258864723adfb940dd3bd83c0
7
- data.tar.gz: a7a2f2d2d073537576af89d1649ed4597394e8162e539c56cea4101d88e0acd2fdb62f839a697ef89d6e1db3de8374ea516d19b2f8c1e66370014d335c0ff234
6
+ metadata.gz: 3e02f621dbef37ec49f419ff1dcca276b378363689ee4d1934e7a155013e18587bbfc847675403ae4a420d8c46ad564ee62d87eff3e3e4c984b3554e3ca08481
7
+ data.tar.gz: d67b837f019869195d89f949bd2806993ef7f945c784a3099a7726dfdf0a3a846d41ea43dd82c8826118a28cbce04d9a22e1a127206b31b7f744e29081277a1f
data/Changelog.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ version 0.2.2 (2013-07-25)
2
+ ===========================
3
+
4
+ * Bugfix: It now works with real Firefox files ;)
5
+
6
+
1
7
  version 0.2.1 (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.1)
4
+ bookmarks (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -79,7 +79,7 @@ module Bookmarks
79
79
  # TODO This should have its own parser class.
80
80
  def parse_a_bookmark line
81
81
  line = line.strip
82
- if line =~ /^<DT><H3>/
82
+ if line =~ /^<DT><H3/
83
83
  @h3_tags << h3_tags(line)
84
84
  elsif line =~ /^<\/DL>/
85
85
  @h3_tags.pop
@@ -100,7 +100,7 @@ module Bookmarks
100
100
  #
101
101
  # Returns String h3 content or empty string.
102
102
  def h3_tags line
103
- md = /<H3>(.*?)<\/H3>/.match(line)
103
+ md = /<H3.*?>(.*?)<\/H3>/.match(line)
104
104
  md ? md[1] : ""
105
105
  end
106
106
 
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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Nayrac