xmlhasher 1.0.4 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +30 -0
- data/.travis.yml +4 -4
- data/CHANGELOG.md +82 -0
- data/Gemfile +7 -3
- data/README.md +6 -2
- data/Rakefile +5 -3
- data/benchmark/benchmark.rb +6 -5
- data/bin/rake +6 -6
- data/lib/xmlhasher/configurable.rb +6 -4
- data/lib/xmlhasher/handler.rb +16 -6
- data/lib/xmlhasher/node.rb +30 -12
- data/lib/xmlhasher/parser.rb +2 -1
- data/lib/xmlhasher/util.rb +2 -0
- data/lib/xmlhasher/version.rb +3 -1
- data/lib/xmlhasher.rb +6 -1
- data/scripts/ci +26 -0
- data/xmlhasher.gemspec +15 -13
- metadata +33 -35
- data/test/fixtures/institution.xml +0 -43
- data/test/fixtures/institutions.xml +0 -1
- data/test/test_helper.rb +0 -22
- data/test/xmlhasher/parser_test.rb +0 -250
- data/test/xmlhasher/xmlhasher_test.rb +0 -41
metadata
CHANGED
@@ -1,71 +1,77 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlhasher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Drabkin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: escape_utils
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2
|
19
|
+
version: '1.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2
|
26
|
+
version: '1.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: ox
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.11'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.11'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.6'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '3'
|
48
51
|
type: :development
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - ">="
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
57
|
+
version: '1.6'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
62
|
+
name: coveralls
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- - "
|
65
|
+
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
67
|
+
version: 0.8.21
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- - "
|
72
|
+
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
74
|
+
version: 0.8.21
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: minitest
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,19 +87,19 @@ dependencies:
|
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '5.10'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
90
|
+
name: rake
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
95
|
+
version: '12'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
102
|
+
version: '12'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: simplecov
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,19 +115,19 @@ dependencies:
|
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: 0.14.1
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
118
|
+
name: test-unit
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
123
|
+
version: '3.2'
|
118
124
|
type: :development
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
128
|
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
130
|
+
version: '3.2'
|
125
131
|
description: Fast XML to Ruby Hash converter
|
126
132
|
email:
|
127
133
|
- gene.drabkin@gmail.com
|
@@ -130,9 +136,11 @@ extensions: []
|
|
130
136
|
extra_rdoc_files: []
|
131
137
|
files:
|
132
138
|
- ".gitignore"
|
139
|
+
- ".rubocop.yml"
|
133
140
|
- ".ruby-gemset"
|
134
141
|
- ".ruby-version"
|
135
142
|
- ".travis.yml"
|
143
|
+
- CHANGELOG.md
|
136
144
|
- Gemfile
|
137
145
|
- LICENSE.txt
|
138
146
|
- README.md
|
@@ -146,11 +154,7 @@ files:
|
|
146
154
|
- lib/xmlhasher/parser.rb
|
147
155
|
- lib/xmlhasher/util.rb
|
148
156
|
- lib/xmlhasher/version.rb
|
149
|
-
-
|
150
|
-
- test/fixtures/institutions.xml
|
151
|
-
- test/test_helper.rb
|
152
|
-
- test/xmlhasher/parser_test.rb
|
153
|
-
- test/xmlhasher/xmlhasher_test.rb
|
157
|
+
- scripts/ci
|
154
158
|
- xmlhasher.gemspec
|
155
159
|
homepage: https://github.com/cloocher/xmlhasher
|
156
160
|
licenses:
|
@@ -171,14 +175,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
175
|
- !ruby/object:Gem::Version
|
172
176
|
version: 1.3.6
|
173
177
|
requirements: []
|
174
|
-
|
175
|
-
rubygems_version: 2.7.6
|
178
|
+
rubygems_version: 3.1.2
|
176
179
|
signing_key:
|
177
180
|
specification_version: 4
|
178
181
|
summary: XmlHasher converts XML to Ruby Hash
|
179
|
-
test_files:
|
180
|
-
- test/fixtures/institution.xml
|
181
|
-
- test/fixtures/institutions.xml
|
182
|
-
- test/test_helper.rb
|
183
|
-
- test/xmlhasher/parser_test.rb
|
184
|
-
- test/xmlhasher/xmlhasher_test.rb
|
182
|
+
test_files: []
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<InstitutionDetail xmlns="http://schema.intuit.com/platform/fdatafeed/account/v1"
|
2
|
-
xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/common/v1">
|
3
|
-
<institutionId>100000</institutionId>
|
4
|
-
<institutionName>CCBank</institutionName>
|
5
|
-
<homeUrl>http://www.example.com</homeUrl>
|
6
|
-
<phoneNumber>123-456-7890</phoneNumber>
|
7
|
-
<address>
|
8
|
-
<ns2:address1>100 Main Street</ns2:address1>
|
9
|
-
<ns2:city>Anytown</ns2:city>
|
10
|
-
<ns2:state>CA</ns2:state>
|
11
|
-
<ns2:postalCode>94043</ns2:postalCode>
|
12
|
-
<ns2:country>USA</ns2:country>
|
13
|
-
</address>
|
14
|
-
<emailAddress>CustomerCentralBank@intuit.com</emailAddress>
|
15
|
-
<currencyCode>ANG</currencyCode>
|
16
|
-
<locale>
|
17
|
-
<language>en</language>
|
18
|
-
</locale>
|
19
|
-
<keys>
|
20
|
-
<key>
|
21
|
-
<name>Banking Userid</name>
|
22
|
-
<status>Active</status>
|
23
|
-
<valueLengthMin>1</valueLengthMin>
|
24
|
-
<valueLengthMax>100</valueLengthMax>
|
25
|
-
<displayFlag>true</displayFlag>
|
26
|
-
<displayOrder>1</displayOrder>
|
27
|
-
<mask>false</mask>
|
28
|
-
<instructions>2</instructions>
|
29
|
-
<description>2</description>
|
30
|
-
</key>
|
31
|
-
<key>
|
32
|
-
<name>Banking Password</name>
|
33
|
-
<status>Active</status>
|
34
|
-
<valueLengthMin>1</valueLengthMin>
|
35
|
-
<valueLengthMax>100</valueLengthMax>
|
36
|
-
<displayFlag>false</displayFlag>
|
37
|
-
<displayOrder>2</displayOrder>
|
38
|
-
<mask>true</mask>
|
39
|
-
<instructions>2</instructions>
|
40
|
-
<description>2</description>
|
41
|
-
</key>
|
42
|
-
</keys>
|
43
|
-
</InstitutionDetail>
|