zzamboni-things2thl 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,6 +1,23 @@
1
+ 2009-05-26 Diego Zamboni <diego@zzamboni.org>
2
+
3
+ * VERSION: Version bump to 0.8.2
4
+
5
+ 2009-05-25 Diego Zamboni <diego@zzamboni.org>
6
+
7
+ * lib/Things2THL.rb: Eliminate double URIs of the form 'URI [URI]'
8
+ (i.e. when the link text is the URI itself) when converting notes.
9
+
10
+ 2009-05-25 Diego Zamboni <diego@zzamboni.org>
11
+
12
+ * things2thl.gemspec: Regenerated gemspec for version 0.8.1
13
+
14
+ 2009-05-25 Diego Zamboni <diego@zzamboni.org>
15
+
16
+ * : fixed conflict
17
+
1
18
  2009-05-25 Diego Zamboni <diego@zzamboni.org>
2
19
 
3
- * README: Fixed README for new options.
20
+ * ChangeLog, README: Fixed README for new options.
4
21
 
5
22
  2009-05-25 Diego Zamboni <diego@zzamboni.org>
6
23
 
@@ -10,6 +27,10 @@
10
27
 
11
28
  * README, things2thl.gemspec: Regenerated gemspec for version 0.8.0
12
29
 
30
+ 2009-05-25 Diego Zamboni <diego@zzamboni.org>
31
+
32
+ * things2thl.gemspec: Regenerated gemspec for version 0.8.0
33
+
13
34
  2009-05-25 Diego Zamboni <diego@zzamboni.org>
14
35
 
15
36
  * ChangeLog, VERSION: Version bump to 0.8.0
data/README CHANGED
@@ -1,4 +1,4 @@
1
- Things2THL 0.8.1
1
+ Things2THL 0.8.2
2
2
  http://zzamboni.github.com/things2thl/
3
3
 
4
4
  Conversion program to transfer data from Things
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.1
1
+ 0.8.2
data/lib/Things2THL.rb CHANGED
@@ -847,8 +847,10 @@ module Things2THL
847
847
  while html.at('alias')
848
848
  html.at('alias').swap( aliastostring(html).gsub(/^.*\000\022\000.(.*?)\000.*$/m, 'file:///\1') )
849
849
  end
850
- # Finally return the HTML in "plain text" format, which shows the links in brackets
851
- html.to_plain_text
850
+ # Produce the HTML in "plain text" format, which shows the links in brackets
851
+ result=html.to_plain_text
852
+ # Eliminate double URIs of the form 'URI [URI]' (i.e. when the link text is the URI itself)
853
+ result.gsub(/([\w]+:.*)\s+\[\1\]/, '\1')
852
854
  end
853
855
 
854
856
  # Add a new task containing project notes when the project is a THL list,
data/things2thl.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{things2thl}
5
- s.version = "0.8.1"
5
+ s.version = "0.8.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Diego Zamboni"]
9
- s.date = %q{2009-05-25}
9
+ s.date = %q{2009-05-26}
10
10
  s.default_executable = %q{things2thl}
11
11
  s.description = %q{Library and command-line tool for migrating Things data to The Hit List}
12
12
  s.email = %q{diego@zzamboni.org}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zzamboni-things2thl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Zamboni
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-25 00:00:00 -07:00
12
+ date: 2009-05-26 00:00:00 -07:00
13
13
  default_executable: things2thl
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency