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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82cf0421b04b36a3d4d397510dcd90adc0a181d1
4
- data.tar.gz: 1f4a2ab57c547894e180ede1c5cb4001b98889cf
3
+ metadata.gz: d2fd01ae0f8fb7d0d76f8f4077e5912b871f00a7
4
+ data.tar.gz: 9f385e457bde5757725b44b03ae3672ef1124bf5
5
5
  SHA512:
6
- metadata.gz: 5d6668354d47a11855b83d08178c24e98a05759ef063884f5b6576c17d8ce3cfb058fb15b3ffec3663cd210fa742ba64ae1a36d795661c50ba31faebc80e7d49
7
- data.tar.gz: cba13dcce9246705dd2cfcbe03638f93314a850809b5952c89377b04fbcd53dbea599fe4e0b0c3cfa871808ec1aaa951904e9694542832d7a60c9558a62b3138
6
+ metadata.gz: 841b2eb561034b736c2c8856ac4ab4c26e43156dfa7f2567b36e1899fcd4f7be7dd16969cae2818158d36d050fd821ee75e6a06755c3b949c4e71d10cc641125
7
+ data.tar.gz: 9689a0ad67036ada0a3ffea0fe7b8fdea4af451b1777d1032d24fe26cc6fdf80ce8ce410207a12cee1b549ecba2721bab8e6caeea9f5d9742bfab9da48eb625e
@@ -1,6 +1,12 @@
1
1
  ### Development
2
2
 
3
- [full diff](http://github.com/plexus/hexp/compare/v0.4.5...master)
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
 
@@ -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
- super(args[0], args[1], args[2])
135
+ concord_init(args[0], args[1], args[2])
134
136
  elsif attrs_ok && args[2].instance_of?(Array)
135
- super(args[0], args[1], List.new(args[2]))
137
+ concord_init(args[0], args[1], List.new(args[2]))
136
138
  else
137
- super(*Normalize.new(args).call)
139
+ concord_init(*Normalize.new(args).call)
138
140
  end.freeze
139
141
  end
140
142
 
@@ -1,3 +1,3 @@
1
1
  module Hexp
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
3
3
  end
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.5
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-04 00:00:00.000000000 Z
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.2.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.