xml-mapping_extensions 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f68c4d7b4c7476a3c92353cc0f19762e847f560d
4
- data.tar.gz: 1d1c1252d4dafe2ea164768aa63c7345ed16a126
3
+ metadata.gz: 4fa91f51aec57568a5ded8e10dd3a84140d99cde
4
+ data.tar.gz: 7bfef586abbe5dd7d86fabbe232bf31aaee13d91
5
5
  SHA512:
6
- metadata.gz: 0bbef3436e6917c064244eede751febb5fe568c9537429c2a108549c04b9386f34ec48179a5b6a68cac863344c0883e12845358b08f83ba62014dba94c14de34
7
- data.tar.gz: ab29250ee7e8396e0ee6232080a422117192d3447206fd6a2c52e51afa3c0ad00bd4ec4ffdc4a4e28a3970563b9180ea88f970ce8908b8f5466edb9011a10d18
6
+ metadata.gz: 7ac192b6168a5167bec457c2be8a743780370d6b162e2e2fdb7e4c3c40ce88bd1174ec5f06ffbf6f0f3b13238340a094231ad9bbaeb279f12802782a9c0f4eca
7
+ data.tar.gz: 070b78e57c19ab9741c0627241b6dd017d922c6e780d9698d0d2dd9e23e02574efc87659c96b4955c742acfb2cd8ec4a3a45f407ee22bf7811316c44be3c5d8a
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.3
2
+
3
+ - Fix issue where `StringIO` wasn't always implicitly `required`
4
+
1
5
  ## 0.3.2
2
6
 
3
7
  - Add `XML::Mapping#write_xml` and `XML::Mapping::ClassMethods#parse_xml`
@@ -1,6 +1,6 @@
1
1
  module XML
2
2
  module MappingExtensions
3
3
  # The version of this gem
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
6
6
  end
@@ -1,4 +1,5 @@
1
1
  require 'xml/mapping'
2
+ require 'stringio'
2
3
 
3
4
  module XML
4
5
  # Additional mapping nodes and other utility classes for working with
@@ -18,7 +19,7 @@ module XML
18
19
  xml = save_to_xml(options)
19
20
  formatter = REXML::Formatters::Pretty.new
20
21
  formatter.compact = true
21
- io = StringIO.new
22
+ io = ::StringIO.new
22
23
  formatter.write(xml, io)
23
24
  io.string
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-mapping_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-14 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types