hexp 0.4.5 → 0.4.6
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.
- checksums.yaml +4 -4
- data/Changelog.md +7 -1
- data/lib/hexp/node.rb +5 -3
- data/lib/hexp/version.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d2fd01ae0f8fb7d0d76f8f4077e5912b871f00a7
         | 
| 4 | 
            +
              data.tar.gz: 9f385e457bde5757725b44b03ae3672ef1124bf5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 841b2eb561034b736c2c8856ac4ab4c26e43156dfa7f2567b36e1899fcd4f7be7dd16969cae2818158d36d050fd821ee75e6a06755c3b949c4e71d10cc641125
         | 
| 7 | 
            +
              data.tar.gz: 9689a0ad67036ada0a3ffea0fe7b8fdea4af451b1777d1032d24fe26cc6fdf80ce8ce410207a12cee1b549ecba2721bab8e6caeea9f5d9742bfab9da48eb625e
         | 
    
        data/Changelog.md
    CHANGED
    
    | @@ -1,6 +1,12 @@ | |
| 1 1 | 
             
            ### Development
         | 
| 2 2 |  | 
| 3 | 
            -
            [full diff](http://github.com/plexus/hexp/compare/v0.4. | 
| 3 | 
            +
            [full diff](http://github.com/plexus/hexp/compare/v0.4.6...master)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### v0.4.6
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Bugfix: make sure the Node constructors correctly calls the
         | 
| 8 | 
            +
              constructor defined by Concord. This bug was being triggered by
         | 
| 9 | 
            +
              asset_packer. Not sure how or why, but this fixes it.
         | 
| 4 10 |  | 
| 5 11 | 
             
            ### v0.4.5
         | 
| 6 12 |  | 
    
        data/lib/hexp/node.rb
    CHANGED
    
    | @@ -112,6 +112,8 @@ module Hexp | |
| 112 112 | 
             
                  new(*args)
         | 
| 113 113 | 
             
                end
         | 
| 114 114 |  | 
| 115 | 
            +
                alias concord_init initialize
         | 
| 116 | 
            +
             | 
| 115 117 | 
             
                # Normalize the arguments
         | 
| 116 118 | 
             
                #
         | 
| 117 119 | 
             
                # @param args [Array] args a Hexp node components
         | 
| @@ -130,11 +132,11 @@ module Hexp | |
| 130 132 | 
             
                             args[1].all? {|k,v| k.instance_of?(String) && v.instance_of?(String) }
         | 
| 131 133 |  | 
| 132 134 | 
             
                  if attrs_ok && args[2].instance_of?(List)
         | 
| 133 | 
            -
                     | 
| 135 | 
            +
                    concord_init(args[0], args[1], args[2])
         | 
| 134 136 | 
             
                  elsif attrs_ok && args[2].instance_of?(Array)
         | 
| 135 | 
            -
                     | 
| 137 | 
            +
                    concord_init(args[0], args[1], List.new(args[2]))
         | 
| 136 138 | 
             
                  else
         | 
| 137 | 
            -
                     | 
| 139 | 
            +
                    concord_init(*Normalize.new(args).call)
         | 
| 138 140 | 
             
                  end.freeze
         | 
| 139 141 | 
             
                end
         | 
| 140 142 |  | 
    
        data/lib/hexp/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: hexp
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.4. | 
| 4 | 
            +
              version: 0.4.6
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Arne Brasseur
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2015-03- | 
| 11 | 
            +
            date: 2015-03-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: nokogiri
         | 
| @@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 235 235 | 
             
                  version: '0'
         | 
| 236 236 | 
             
            requirements: []
         | 
| 237 237 | 
             
            rubyforge_project: 
         | 
| 238 | 
            -
            rubygems_version: 2. | 
| 238 | 
            +
            rubygems_version: 2.4.5
         | 
| 239 239 | 
             
            signing_key: 
         | 
| 240 240 | 
             
            specification_version: 4
         | 
| 241 241 | 
             
            summary: Generate and manipulate HTML documents and nodes.
         |