maremma 4.2.5 → 4.2.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
  SHA256:
3
- metadata.gz: 198e61768096de61bfa4f3357b222a9cc1d378f72d3918479661e5ad5f174a44
4
- data.tar.gz: 8ed803da27bbbb4c77aecb6c4d467b19311249ec7880acc1405cc8eab86a0d39
3
+ metadata.gz: 4cb27db698516c268c0da3eddbf31346c91111442a857024a6abf3b43a856f12
4
+ data.tar.gz: 6e69358e0cbfc131ab935c5c00dac495f9c71bcc2a64282f96c67ed8733ee003
5
5
  SHA512:
6
- metadata.gz: b558420af890526a673070156949466a5794cfdb2c171c995b8b878fbae5c431749c9b91b0aac9d55a9ae7942fdef2e206e2b1e2d2220357e77d20d58b402333
7
- data.tar.gz: bde35e5b17f83171118cfc0f2221350efff71bac2108ac7a2abe1404ff460824fdff9fbb57f9015ab6c013252084c6742867c87ea6dc8f1b9ea60e3029a6bd55
6
+ metadata.gz: 0e7b083a0e24c7f3930e88d5b1e1bf34e0a7f550c8e9a0669e86d58e9ac979c712a379d34664c9cb26caa75cd371b82f7eaaaa8bd5051e1e1e95d81f322af930
7
+ data.tar.gz: 3d281b3cf8ad3e8dc9fa7940ee37c389932018da6a78dd6763d07b733fd107062da0bb43fbc855ec63aa978232225ef476c0d7b7316e9bf6f567555ab4b788f4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maremma (4.2.5)
4
+ maremma (4.2.6)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  addressable (>= 2.3.6)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -27,7 +27,7 @@ module Maremma
27
27
  NoMethodError,
28
28
  TypeError]
29
29
 
30
- ActiveSupport::XmlMini.backend = 'Nokogiri'
30
+ # ActiveSupport::XmlMini.backend = 'Nokogiri'
31
31
 
32
32
  def self.post(url, options={})
33
33
  self.method(url, options.merge(method: "post"))
@@ -226,10 +226,10 @@ module Maremma
226
226
  # keep XML attributes, http://stackoverflow.com/a/10794044
227
227
  # escape tags allowed in content
228
228
  def self.from_xml(string)
229
- # ALLOWED_CONTENT_TAGS.each do |tag|
230
- # string.gsub!("<#{tag}>", "&lt;#{tag}&gt;")
231
- # string.gsub!("</#{tag}>", "&lt;/#{tag}&gt;")
232
- # end
229
+ ALLOWED_CONTENT_TAGS.each do |tag|
230
+ string.gsub!("<#{tag}>", "&lt;#{tag}&gt;")
231
+ string.gsub!("</#{tag}>", "&lt;/#{tag}&gt;")
232
+ end
233
233
 
234
234
  if Nokogiri::XML(string, nil, 'UTF-8').errors.empty?
235
235
  Hash.from_xml(string)
@@ -1,3 +1,3 @@
1
1
  module Maremma
2
- VERSION = "4.2.5"
2
+ VERSION = "4.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maremma
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.5
4
+ version: 4.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner