Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 28, 2012
Commits on Apr 24, 2012
  1. add accessors for Nett Sales Price

    authored
Commits on Nov 7, 2011
  1. simplify requires

    authored
    * it's best to assume the LOAD_PATH is correct and not build absolute
      paths
  2. increase robustness of this proc

    authored
    * work with any object that can be converted to an integer
Commits on Apr 14, 2011
  1. update comments and specs for new ONIX::Reader new() arguments

    authored
    * passing product class as the second argument is now deprecated
    * the second argument to ONIX::Reader is now an optional options Hash
    * the product class should now be specified using the :product_class option
    * this change was motivated by the need for an :encoding option
  2. remove earlier encoding changes to ONIX::Normaliser

    authored
    * much easier to just tell Nokogiri::XML::Reader what encoding
      the source is instead of rewriting the entire file
  3. bump version

    authored
  4. ONIX::Normaliser can now rewrite the encoding in the XML declaration

    authored
    * lots of input files mess up their encoding declarations by
      * leaving the XML declaration off entirely
      * adding an XML declaration that doesn't specify an encoding
      * adding an XML declaration that spcifies the wrong encoding
    * This gem uses Nokogiri to read XML files. It always transcodes
      input files to UTF-8, but it needs an accurate encoding indicator
      to function correctly. Without the encoding indicator, it assumes
      the file is UTF-8
Commits on Apr 13, 2011
Commits on Apr 8, 2011
  1. bump version

    authored
Commits on Nov 10, 2010
  1. prepare for a new release

    authored
Commits on Oct 18, 2010
  1. prepare for release

    authored
  2. replace manual code lists with generated lists

    authored
    * Manually building hashes for code lists was leading to out of data
      lists
    * switching to loading all the lists from generated data files
    * Thanks to Vivek for prompting me to get around to this
Commits on Oct 17, 2010
  1. Handle BISAC main subject category (PR.13.1)

    authored
    * suggested by tim
  2. Fix reference name of price type qualifier (PR.24.50): 'PriceTypeQual…

    tim authored committed
    …ifier' should be 'PriceQualifier'
Commits on Sep 9, 2010
  1. bump version

    authored
Commits on Jul 1, 2010
  1. Fix a race condition in ONIX::Normaliser

    authored
    * closes #1
    * reported by pixelvixen
    * to quote the report:
    
      "You will want to set the unlink_now option to true when you close the
      tempfile. The way it is right now, the file can actually be unlinked
      *after* you copy  the old file to that location."
Commits on May 6, 2010
  1. prepare for release

    authored
Commits on Jan 5, 2010
  1. bump version

    authored
  2. include the release attribute on ONIX files we generate

    authored
    - This library only handles ONIX 2.1 at this stage, so hard code that in
  3. add ONIX::Reader#release

    authored
    - returns the release number of the ONIX file being parsed
    - in ONIX 2.1 the release attribute is optional and rarely used, so
      expect it to be nil on those files
    - on ONIX 3.0 files the attribute is mandatory, so it will be filled in
      then
Commits on Dec 22, 2009
  1. simplify (and significantly speed up) ONIX::Normaliser

    authored
    - don't bother with encoding stage, Nokogiri will transparently convert
      the source document to utf-8
    - don't bother with entity stage, Nokogiri will transparently translate
      the named entities by first loading the DTD
Commits on Dec 6, 2009
  1. use libxml to parse entities when reading an ONIX file

    authored
    - transparently converts entities into appropriate characters
    - loads the DTD into memory from the doctype URL, which requires net
      access
    - downloading the DTD slows things down, but at least we avoid an
      exception
    - thanks to Aaron Paterson for showing how to achieve this at
      http://gist.github.com/250477
Commits on Nov 4, 2009
  1. @mfvargo

    adding Contributor Role list

    mfvargo authored
Commits on Oct 31, 2009
  1. bump version

    authored
Something went wrong with that request. Please try again.