setsuzoku 0.12.56 → 0.12.57

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
  SHA256:
3
- metadata.gz: c2c77487d2492717b45ce979383f28ce7f981cdcb6686438ee3fa95648e6900a
4
- data.tar.gz: fee54d6cc4ccd975874d4319453962589a7066c82cbca30abb03fd6fd09a9894
3
+ metadata.gz: 354bcd90c475c2613cf86f61b262da5d4437e882ef35cec8f275c19dd3aa2a00
4
+ data.tar.gz: 864a061588fa66caab9cf5d811bd1e437a9f3a6f58e7869c2d93f94971f68554
5
5
  SHA512:
6
- metadata.gz: 5a355ced8681dcbe0a5ea9db83ccab04a7551f9cc63fe95b15c57d9ea311075accb3637d89b9b8a4c3504d5dd74ba0a08cc9e9fea8a2bc5c346f20c6629a6fa6
7
- data.tar.gz: fcbda4c7bbff627afecef61bf01177f1f78e8d4a53d7cc3c9ec630f1d7e43c80c1cb2d232ca0ec672cb068551170f2e97d8ba79a467ff09fcb75c3dd88ef6ab8
6
+ metadata.gz: 8577f822f98a0185f68d994043f5021ad375672279a93c9e148918e4a8ada56b1bfae756f2d15b4639ea5aab58223349cd31f0ce6386e5cca2b0997b56c34bbb
7
+ data.tar.gz: 9f4924eb243e5c7c801325d793f6875efc2e50100c95cc271dc49edefae07793366484e7e805f432fa3a0a2461d1a3018a08bce2585c365da7fcb4e7bc79e9fc
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setsuzoku (0.12.56)
4
+ setsuzoku (0.12.57)
5
5
  activesupport (~> 5.0)
6
6
  faraday (~> 0.11)
7
7
  nokogiri (~> 1.10)
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (5.2.4.4)
13
+ activesupport (5.2.4.3)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 0.7, < 2)
16
16
  minitest (~> 5.1)
@@ -27,7 +27,7 @@ GEM
27
27
  i18n (1.8.5)
28
28
  concurrent-ruby (~> 1.0)
29
29
  mini_portile2 (2.4.0)
30
- minitest (5.14.2)
30
+ minitest (5.14.1)
31
31
  multipart-post (2.1.1)
32
32
  nokogiri (1.10.10)
33
33
  mini_portile2 (~> 2.4.0)
@@ -116,7 +116,9 @@ module Setsuzoku
116
116
  def convert_xml_to_hash(xml)
117
117
  begin
118
118
  result = Nokogiri::XML(xml)
119
- { result.root.name.underscore.to_sym => xml_node_to_hash(result.root) }
119
+ key = result.root.name.underscore.to_sym
120
+ val = xml_node_to_hash(result.root)
121
+ { key => val }
120
122
  rescue Exception => e
121
123
  {}
122
124
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Setsuzoku
5
- VERSION = '0.12.56'
5
+ VERSION = '0.12.57'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setsuzoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.56
4
+ version: 0.12.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Stadtler