Permalink
Switch branches/tags
Nothing to show
Commits on Mar 3, 2010
  1. Require mocha before shoulda to fix 'uninitialized constant Test::Uni…

    …t::TestResult::TestResultFailureSupport'
    
    	* test/test_helper.rb: require mocha earlier
    josephholsten committed Mar 3, 2010
Commits on Feb 23, 2010
  1. Add ListingMapper to convert listing keys

    	* lib/rets4r.rb: require listing service, mapper
    	* lib/rets4r/listing_mapper.rb: new file
    	* lib/rets4r/listing_service.rb: new file
    	* test/data/listing_service.yml: new file
    	* test/listing_mapper_test.rb: new file
    	* test/test_helper.rb: new file
    
    	* lib/rets4r/core_ext/array/extract_options.rb: helper from rails
    	* lib/rets4r/core_ext/class/attribute_accessors.rb: likewise
    	* lib/rets4r/core_ext/hash/keys.rb: likewise
    	* lib/rets4r/core_ext/hash/slice.rb: likewise
    josephholsten committed Feb 23, 2010
Commits on Feb 22, 2010
  1. Test that SAX parser yeilds durring read.

    	* test/compact_nokogiri_test.rb: modified
    	* test/data/1.5/search_compact_big.xml: new file
    briandunn committed with josephholsten Feb 19, 2010
  2. * lib/rets4r/client/parsers/compact_nokogiri.rb

    		(CompactNokogiriParser#each): new. should yield each row as the stream is
    									  read
    		(CompactNokogiriParser#to_a): reads the whole stream and returns
    									  rows in an array
    	* lib/rets4r/loader.rb: uses the each method to yield as the stream
    						    is read
    	* test/compact_nokogiri_test.rb: uses to_a instead.
    briandunn committed with josephholsten Feb 10, 2010
  3. Removed unnecessary writing of response to xml file in /tmp dir.

    Signed-off-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
    digitalaun committed with josephholsten Feb 8, 2010
  4. Reversed aliases and accessors to use Ruby-style accessors with the g…

    …et/set methods aliased.
    
    Signed-off-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
    digitalaun committed with josephholsten Feb 8, 2010
  5. Added in #data alias to #response for compatibility.

    Signed-off-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
    digitalaun committed with josephholsten Feb 8, 2010
  6. Removed old experiment.

    Signed-off-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
    digitalaun committed with josephholsten Feb 8, 2010
  7. Added compact response with only a count.

    Signed-off-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
    digitalaun committed with josephholsten Feb 8, 2010
  8. requiring needed compact parser

    avit committed with josephholsten Sep 15, 2009
Commits on Feb 6, 2010
  1. Version bump to 1.1.16

    josephholsten committed Feb 6, 2010
  2. Make loader accept any IO

    	* lib/rets4r/client/parsers/compact_nokogiri.rb
          (RETS4R::Loader::load): parse from io, not file name. Callers
          changed
    josephholsten committed Feb 6, 2010
Commits on Jan 22, 2010
  1. Version bump to 1.1.15

    josephholsten committed Jan 22, 2010
  2. Fix bug for parsing long lines

    	* lib/rets4r/client/parsers/compact_nokogiri.rb
          (RETS4R::Client::CompactNokogiriParser::CompactDocument#start_element)
          (RETS4R::Client::CompactNokogiriParser::CompactDocument#end_element)
          (RETS4R::Client::CompactNokogiriParser::CompactDocument#characters):
            defer string handling until the element has ended
    	* test/compact_nokogiri_test.rb
          (CompactNokogiriTest#test_should_handle_big_data): added
    	* test/data/1.5/bad_compact.xml: new file
    josephholsten committed Jan 22, 2010
  3. Version bump to 1.1.14

    josephholsten committed Jan 22, 2010
  4. Add sax parser

    	* lib/rets4r.rb: require compact_nokogiri.rb
    	* lib/rets4r/loader.rb (RETS4R::Loader::load): use sax parser
    	* lib/rets4r/client/parsers/compact_nokogiri.rb: new file
    	* test/compact_nokogiri_test.rb: new file
    josephholsten committed Jan 22, 2010
  5. Run tests that end in _test.rb

    	* Rakefile: add *_test.rb to test pattern
    josephholsten committed Jan 22, 2010
  6. Add a batch file loader

    	* lib/rets4r.rb: require loader
    	* lib/rets4r/loader.rb: new file
    	* test/loader_test.rb: new file
    josephholsten committed Jan 22, 2010
  7. Add parser example

    	* examples/client_parser.rb: added
    josephholsten committed Jan 22, 2010
  8. Fix reference to rcov instead of relevance-rcov

    	* lib/tasks/coverage.rake: say rcov, not relevance-rcov
    josephholsten committed Jan 22, 2010
  9. Add limit to settings

    	* examples/client_search.rb: pull limit from settings
    	* examples/settings.yml: set a sane default
    josephholsten committed Jan 22, 2010
Commits on Jan 20, 2010
  1. use demo rets server

    josephholsten committed Jan 20, 2010
Commits on Nov 26, 2009
  1. fix links list

    josephholsten committed Nov 26, 2009
  2. fix indentation

    josephholsten committed Nov 26, 2009
  3. Link to related sites

    	* README.rdoc: updated docs
    josephholsten committed Nov 26, 2009
Commits on Nov 25, 2009
  1. Use gemcutter (Joseph Holsten)

        * Rakefile: include GemcutterTasks
    josephholsten committed Nov 25, 2009
  2. Fix rdoc reference (Joseph Holsten)

    	* README: renamed to README.rdoc
    	* Rakefile: likewise
    	* rets4r.gemspec: likewise
    	* CONTRIBUTORS: added Joseph Holsten
    josephholsten committed Nov 25, 2009
  3. Version bump to 1.1.13

    josephholsten committed Nov 25, 2009