lab5 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lab5.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41bdcf019fb349030433caa94d575b224e86c771
4
- data.tar.gz: b3a63b0e4bd1e430e8b977bc6dbc88ea71fa7d5d
3
+ metadata.gz: 75268c48fac789b2713d7fdfcf8e30b6d97ce6b4
4
+ data.tar.gz: 5743cd842dd55c9d3019e4689c3b8cc8c41635ac
5
5
  SHA512:
6
- metadata.gz: 9569db0487c5b74c1e274771ad9c9b1e53837d2211f603e3c5131e6bfb2dc9465c8bf43b778a14a8f0dfbb916101deb4dc374f9c8ae2d83ec6fe93681f113a0a
7
- data.tar.gz: b5394cdd11fd3608e4fce9cf544223a3cb0a8191c6cc7a68545cebb4a788a5b37701af76556f6adc33f0beada44d66e17a4c910da3c3666cb03bc9c95fe96321
6
+ metadata.gz: 9a2c97d53662f227edabb52b64b81918902a16f4aeaf4eaa0469ad57253552063b6555e9de72ea596f076a4410b8505268044baf405d3cb95268cde452996590
7
+ data.tar.gz: 01ae064160f7d43bc83787dba1288e99e9bb5386da02ce9dae61286a14dd4837d0eb22db429741d851d743dcb8c95110d31cd769239250cf6b3c5339662a1f3a
data/lib/lab5.rb CHANGED
@@ -3,8 +3,8 @@ require 'xmlsimple'
3
3
 
4
4
  class XmlSerializer
5
5
  def self.xml_ser(array)
6
- hash = array.map { |item| object_to_hash(item) }
7
- XmlSimple.xml_out(hash, { 'KeepRoot' => true })
6
+ # hash = array.map { |item| object_to_hash(item) }
7
+ XmlSimple.xml_out(array, { 'KeepRoot' => true })
8
8
  end
9
9
 
10
10
  def self.yaml_deser(xml)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lab5
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatiana Karpesh