feedtools 0.2.12 → 0.2.13

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ == FeedTools 0.2.13
2
+ * fixed issued with missing namespace parameter for uuid creation
1
3
  == FeedTools 0.2.12
2
4
  * schema change!
3
5
  * fixed missing cache connection breaking redirects
data/lib/feed_tools.rb CHANGED
@@ -32,7 +32,7 @@ FEED_TOOLS_ENV = ENV['FEED_TOOLS_ENV'] ||
32
32
  ENV['RAILS_ENV'] ||
33
33
  'production' # :nodoc:
34
34
 
35
- FEED_TOOLS_VERSION = "0.2.12"
35
+ FEED_TOOLS_VERSION = "0.2.13"
36
36
 
37
37
  $:.unshift(File.dirname(__FILE__))
38
38
  $:.unshift(File.dirname(__FILE__) + "/feed_tools/vendor")
@@ -376,7 +376,7 @@ module FeedTools
376
376
  end
377
377
  normalized_url = normalize_url(url)
378
378
  require 'uuidtools'
379
- return UUID.sha1_create(normalized_url).to_uri_string
379
+ return UUID.sha1_create(UUID_URL_NAMESPACE, normalized_url).to_uri_string
380
380
  end
381
381
 
382
382
  # Returns true if the parameter appears to be a valid uri
data/rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/gempackagetask'
7
7
  require 'rake/contrib/rubyforgepublisher'
8
8
 
9
9
  PKG_NAME = 'feedtools'
10
- PKG_VERSION = '0.2.12'
10
+ PKG_VERSION = '0.2.13'
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
 
13
13
  RELEASE_NAME = "REL #{PKG_VERSION}"
data/test/helper_test.rb CHANGED
@@ -28,4 +28,9 @@ class HelperTest < Test::Unit::TestCase
28
28
 
29
29
  FeedTools.tidy_enabled = false
30
30
  end
31
+
32
+ def test_build_urn_uri
33
+ assert_equal("urn:uuid:fa6d0b87-3f36-517d-b9b7-1349f8c3fc6b",
34
+ FeedTools.build_urn_uri('http://sporkmonger.com/'))
35
+ end
31
36
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: feedtools
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.12
7
- date: 2005-09-27 00:00:00 -04:00
6
+ version: 0.2.13
7
+ date: 2005-09-28 00:00:00 -04:00
8
8
  summary: "Parsing, generation, and caching system for xml news feeds."
9
9
  require_paths:
10
10
  - lib