Permalink
Commits on Feb 1, 2012
Commits on Aug 26, 2011
  1. Comment above the final return

    burtlo committed Aug 26, 2011
Commits on Aug 23, 2011
  1. Version 0.4.1

    burtlo committed Aug 23, 2011
      :in_groups_of feature for large XML data sets based on the work that
      @pplcanfly created for the original happymapper branch
  2. Feature: in_groups_of

    burtlo committed Aug 23, 2011
      Based completely on the work that @pplcanfly created for the original
      happymapper project. Added here with the functionality to allow the user
      to define the results in groups that will be yielded and returned with a block.
  3. Removed unused Manifest

    burtlo committed Aug 23, 2011
  4. Removed the VERSION file

    burtlo committed Aug 23, 2011
  5. Rakefile and Gemfile dependencies

    burtlo committed Aug 23, 2011
     - Removed the jeweler rake task
     + Added yard to the Gemfile
     + Updated the Gemfile.lock
Commits on Aug 22, 2011
Commits on Jul 13, 2011
  1. Merge pull request #2 from JamesFerguson/master

    burtlo committed Jul 13, 2011
    Add an element ... :attributes => {...} example to README.md
Commits on Jul 12, 2011
  1. Merge pull request #1 from JamesFerguson/master

    burtlo committed Jul 12, 2011
    Handle :attributes on an element that is also :single => false
Commits on Jul 8, 2011
  1. Before this fix result.first is defined and returns ["rel", "alternat…

    JamesFerguson committed Jul 8, 2011
    …e"] where the first attribute is rel="alternate". Of course the array has no attribute_nodes method.
    
    The change still correctly handles a Nokogiri::XML::NodeSet but also handles a Nokogiri::XML::Element even though it has a #first method.
  2. Spec for an element with both :single => false and :attributes => {..…

    JamesFerguson committed Jul 8, 2011
    ….} using a simple atom feed with two link elements on the feed as well as a link element on the only entry.
  3. bundle

    JamesFerguson committed Jul 8, 2011
Commits on Jun 25, 2011
  1. Updated documentation

    burtlo committed Jun 25, 2011
      Updated the documentation
      Updated the gemspec to use the markdown README
Commits on Jun 5, 2011
  1. Documentation for methods

    burtlo committed Jun 5, 2011
Commits on Jun 4, 2011
  1. to_xml - Read Only

    burtlo committed Jun 4, 2011
      When an element, attribute, or text node is a value that you have no
      interest in saving to XML, you can ensure that takes place by stating
      that it is `read only`.
    
        has_one :modified, Boolean, :read_only => true
        attribute :temporary, Boolean, :read_only => true
Commits on May 25, 2011
  1. FIX Default XML namespaces

    burtlo committed May 25, 2011
      Default namespaces were being written correctly to xml
    
        register_namespace 'xmlns', 'urn:eventis:prodis:onlineapi:1.0'
    
      This would result in the following output in the xml output xmlns:xmlns="urn:eventis:prodis:onlineapi:1.0"
      However this output should look like xmlns="urn:eventis:prodis:onlineapi:1.0"
Commits on May 2, 2011
  1. Updated Specs

    burtlo committed May 2, 2011
      Added specific call out to the on_save with a specified function
      Updated the language of the tests to be more specification
Commits on May 1, 2011
  1. Spec Update & Rakefile Fix

    Franklin Webber committed May 1, 2011
      - Fix removed check_dependencies from Rakefile
    
      + Updated the spec tests to be more clear about the operation
        and less about the specifics of the current test
Commits on Apr 16, 2011
  1. Text Node Support in to_xml

    burtlo committed Apr 16, 2011
     Text nodes were not be persisted when saving to xml.
     They are now being persisted with the similar on_save operation
     logic.
Commits on Apr 15, 2011
  1. README - Bundle instructions

    burtlo committed Apr 15, 2011
     Bundle instructions were incorrect (@ewlarson)
  2. Nil Attributes

    burtlo committed Apr 15, 2011
      @ewlarson pointed out that attributes were being stated when they
      were nil. By default now they will not be present unless otherwise
      stated with the attribute :state_when_nil
Commits on Mar 13, 2011
  1. to_xml on_save operation support for methods

    burtlo committed Mar 13, 2011
      + support for attributes to have on_save operations
      + on_save will accept a name of a method that will be executed when saving
        to xml
Commits on Mar 6, 2011
  1. Updated README

    burtlo committed Mar 6, 2011
      + Updated the README for the branch
      + Included to_xml examples
      + Included module mixin example
  2. to_xml with support for namespacing

    burtlo committed Mar 6, 2011
      + utilizes the default namespace but that can be overridden per element
      + composed classes will use the specified namespace unless they already have
        one defined
      + items will receive the namespace applied to them if they have them specified
Commits on Mar 5, 2011
  1. to_xml tests for more situations

    burtlo committed Mar 5, 2011
      + attributes
      + class composition
      + on_save
      + state_when_nil
      + utilizing the method and not attributes