Permalink
Switch branches/tags
Nothing to show
Commits on Mar 29, 2014
Commits on Feb 29, 2012
  1. Fix infinite recursion problem on Ruby 1.9.

    Check whether object responds to pluralized method before sending it to
    avoid recursing into method_missing until the stack overflows. The
    resulting SystemStackError was caught by the rescue statement modifier
    in Ruby 1.8 (with a noticeable pause during the recursion), but isn't
    in Ruby 1.9.
    
    Also, remove an assertion that fails now that respond_to? is called.
    Could find a way to fix it, but it's redundant.
    
    This fixes test_method_missing on Ruby 1.9; however, there are still 4
    unit tests failing on 1.9 for other reasons.
    toddthomas committed Feb 29, 2012
Commits on Feb 28, 2012
  1. Fix for many tests which fail on Ruby 1.9.x.

    On Ruby 1.9.x, to_s defaults to inspect, which breaks the technique
    used to parse the test data  filenames. Switch to File methods which
    work on Ruby 1.8 and 1.9.
    toddthomas committed Feb 28, 2012
  2. Fix and expand test_method_missing.

    Singular's method_missing recurses infinitely and thus overflows the
    stack when it is passed a method the including object doesn't respond
    to.
    
    On Ruby 1.8, the resulting SystemStackError is a StandardError, so it
    is caught by the rescue statement modifier on line 14 of
    lib/structures.rb. But in Ruby 1.9, SystemStackError is a plain 'ol
    Exception and thus is not caught.
    
    Prior to this commit, test_method_missing always passed before
    method_missing was called because NoMethodError was raised during the
    initialization of the Feed object (line 246 of lib/structures.rb) when
    parser was called on the nil argument passed in. Fixed this by using a
    valid feed object.
    
    Also added an assertion to test the situation in which I discovered the
    infinite recursion problem.
    
    test_method_missing should now succeed on 1.8 and fail on 1.9.
    toddthomas committed Feb 28, 2012
  3. Require 'yaml' to fix broken test.

    Fixes the only failing test when running on Ruby 1.8.7.
    toddthomas committed Feb 28, 2012
Commits on Nov 1, 2011
  1. Merge pull request #6 from GunioRobot/clean

    Remove extraneous whitespace.
    committed Nov 1, 2011
  2. Merge pull request #5 from jashmenn/patch-1

    Fix for URLs that use the rel=alternate that are parsed by SimpleRSS.
    committed Nov 1, 2011
Commits on Oct 27, 2011
  1. Remove whitespace [Gun.io WhitespaceBot]

    Gun.io Whitespace Robot committed Oct 27, 2011
Commits on Sep 26, 2011
  1. Fix for URLs that use the rel=alternate that are parsed by SimpleRSS.

    Uses the :link+alternate field for the URL. E.g. 
    On inspection of the RFC ( http://www.ietf.org/rfc/rfc4287.txt ) it says (section 
    4.2.7.2) :
    
    "
    atom:link elements MAY have a "rel" attribute that indicates the link
       relation type.  If the "rel" attribute is not present, the link
       element MUST be interpreted as if the link relation type is
       "alternate".
    "
    
    see: http://code.google.com/p/feed-normalizer/issues/detail?id=30#c6
    jashmenn committed Sep 26, 2011
Commits on Mar 21, 2011
  1. Gracefully handle empty <item/>s

    ginkel committed with Oct 17, 2010
  2. Tabs to spaces

    ginkel committed with Oct 17, 2010
  3. Fixed build

    ginkel committed with Oct 17, 2010
Commits on Jan 26, 2010
  1. Removing gemspec

    committed Jan 26, 2010
  2. Adding gitignore

    committed Jan 26, 2010
  3. Updating gemspec

    committed Jan 26, 2010
  4. Updating manifest

    committed Jan 26, 2010
  5. Cleaning up tests

    committed Jan 26, 2010
  6. Updating Hoe spec and version.

    committed Jan 26, 2010
Commits on Oct 27, 2009
Commits on Apr 23, 2009
  1. removed raw_string= call

    Signed-off-by: Andrew A Smith <andy@tinnedfruit.org>
    Marcel Scherf committed with Apr 19, 2009
Commits on Feb 2, 2009
  1. Adds gemspec for github to build and host gem. Updated Manifest.txt t…

    …o include gemspec.
    
    Signed-off-by: aasmith <andy@tinnedfruit.org>
    mikowitz committed with Oct 10, 2008
  2. Added support for media enclosures in both parsers. Includes updated …

    …tests and test data.
    
    Signed-off-by: aasmith <andy@tinnedfruit.org>
    Michael Berkowitz committed with Oct 10, 2008
Commits on Jun 11, 2008
  1. Remove Windows line endings

    committed Jun 11, 2008
  2. Support rss lib > 0.1.6

    committed Jun 11, 2008
Commits on Mar 9, 2008
  1. Allow whitespace leading up to a CDATA section. Closes #22.

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@74 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Mar 9, 2008
Commits on Feb 6, 2008
  1. Proper fix for 1.5.1.

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@72 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 6, 2008
  2. Fix a showstopper parse bug. Preparing release 1.5.1.

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@71 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 6, 2008
  3. Update post-release notes.

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@70 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 6, 2008
Commits on Feb 5, 2008
  1. Release 1.5.0

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@68 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 5, 2008
  2. Add entry.last_updated.

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@67 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 5, 2008
  3. Adds support for TTL on RSS feeds. Also collects skip days and skip h…

    …ours into an array. Closes #19 [joshpeek]
    
    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@66 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Feb 5, 2008
Commits on Nov 11, 2007
  1. Rewrite relative links in content. Closes #17 [joshpeek]

    git-svn-id: http://feed-normalizer.googlecode.com/svn/trunk@65 4b21cefc-af1e-0410-b352-37e3eef200da
    sciodev committed Nov 11, 2007