fast-xml 1.1.1 → 1.1.2
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 +4 -4
- data/README.md +15 -6
- data/lib/fastxml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5330c4667e2dac78d62d4dbef99f2f9d57f88a38
|
|
4
|
+
data.tar.gz: e6ba2183d3e1ae9c53118d1de6e23c9f7b32c8f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6c19df9ded0121c7322c7e1f93e9b0b52ed3c9bc6ddd89bc910291911f9cceee3a0d5c67cc4ecf84d3cc62ca0c3e1970c039abd090a1f10494ca7aa44a55fab
|
|
7
|
+
data.tar.gz: 9fd300c03e3950f52d0f702696b585bff1ef9d5b57b085d98c9a6a97feebfcd775d97b24df593767ffbf7bf5c15f0bb69bd5d9719a597dd18312ed438da0eadf
|
data/README.md
CHANGED
|
@@ -256,16 +256,25 @@ The following options are available to pass to FastXML.hash2xml(hash, options =
|
|
|
256
256
|
|
|
257
257
|
## Benchmarks
|
|
258
258
|
|
|
259
|
-
Performance benchmark in comparison with some popular gems:
|
|
259
|
+
Performance [benchmark](benchmark/benchmark.rb) in comparison with some popular gems:
|
|
260
260
|
|
|
261
261
|
```
|
|
262
262
|
Converting Hash to XML:
|
|
263
263
|
user system total real
|
|
264
|
-
activesupport(rexml)
|
|
265
|
-
activesupport(libxml) 10.
|
|
266
|
-
activesupport(nokogiri) 10.
|
|
267
|
-
xmlsimple 1.
|
|
268
|
-
fastxml 0.
|
|
264
|
+
activesupport(rexml) 10.920000 0.010000 10.930000 ( 10.948205)
|
|
265
|
+
activesupport(libxml) 10.880000 0.000000 10.880000 ( 10.910649)
|
|
266
|
+
activesupport(nokogiri) 10.880000 0.000000 10.880000 ( 10.899013)
|
|
267
|
+
xmlsimple 1.490000 0.000000 1.490000 ( 1.504655)
|
|
268
|
+
fastxml 0.020000 0.000000 0.020000 ( 0.018095)
|
|
269
|
+
Converting XML to Hash:
|
|
270
|
+
user system total real
|
|
271
|
+
activesupport(rexml) 8.420000 0.000000 8.420000 ( 8.441763)
|
|
272
|
+
activesupport(libxml) 1.110000 0.010000 1.120000 ( 1.109242)
|
|
273
|
+
activesupport(nokogiri) 1.660000 0.000000 1.660000 ( 1.666208)
|
|
274
|
+
xmlsimple 8.390000 0.010000 8.400000 ( 8.427240)
|
|
275
|
+
nori 2.010000 0.000000 2.010000 ( 2.016399)
|
|
276
|
+
xmlhasher 0.440000 0.000000 0.440000 ( 0.433211)
|
|
277
|
+
fastxml 0.070000 0.000000 0.070000 ( 0.073124)
|
|
269
278
|
```
|
|
270
279
|
|
|
271
280
|
## License
|
data/lib/fastxml/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fast-xml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuriy Ustushenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-06-
|
|
11
|
+
date: 2017-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake-compiler
|