rubytree 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tree/utils/json_converter.rb +6 -3
- data/lib/tree/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e70523e3c29d12f86dc761dc345b0b44f453c4e768bddcb3cbcc2c224e9bf93
|
4
|
+
data.tar.gz: 821e22d3ed2e0486c2ca5dbd9a15d9cf670771dddda5ecb1aaed547e1f663e61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 660e223253d4bd8b05ae998c19d11ae22f72affc3f6b31199150722a5062468ffdeb9e817ec10f87e2be8f7da28284c30b7322a9ee6615fcec2ca56dcf52b1a5
|
7
|
+
data.tar.gz: 720fca8bf8ecb015ee6da0723bb1b159a88de19cc07aed83eba4baa665b23317383ec46a9f38a17fed0fa2c9672f836b3f56a7837d7f6f0efeb88d74a8945a66
|
data/Gemfile.lock
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
#
|
5
5
|
# Author:: Anupam Sengupta (anupamsg@gmail.com)
|
6
6
|
#
|
7
|
-
# Time-stamp: <
|
7
|
+
# Time-stamp: <2023-12-27 12:46:07 anupam>
|
8
8
|
#
|
9
|
-
# Copyright (C) 2012, 2013, 2014, 2015, 2022 Anupam Sengupta <anupamsg@gmail.com>
|
9
|
+
# Copyright (C) 2012, 2013, 2014, 2015, 2022, 2023 Anupam Sengupta <anupamsg@gmail.com>
|
10
10
|
#
|
11
11
|
# All rights reserved.
|
12
12
|
#
|
@@ -100,11 +100,14 @@ module Tree
|
|
100
100
|
# representation. Note that this method should *NOT* be called directly.
|
101
101
|
# Instead, to convert the JSON hash back to a tree, do:
|
102
102
|
#
|
103
|
-
# tree = JSON.parse(the_json_hash)
|
103
|
+
# tree = JSON.parse(the_json_hash, create_additions: true)
|
104
104
|
#
|
105
105
|
# This operation requires the {JSON gem}[http://flori.github.com/json/] to
|
106
106
|
# be available, or else the operation fails with a warning message.
|
107
107
|
#
|
108
|
+
# Note the +create_additions: true+ option, which is *required* for
|
109
|
+
# successfully parsing the string or hash.
|
110
|
+
#
|
108
111
|
# @author Dirk Breuer (http://github.com/railsbros-dirk)
|
109
112
|
# @since 0.7.0
|
110
113
|
#
|
data/lib/tree/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubytree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anupam Sengupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -298,7 +298,7 @@ post_install_message: |2
|
|
298
298
|
========================================================================
|
299
299
|
rdoc_options:
|
300
300
|
- "--title"
|
301
|
-
- 'Rubytree Documentation: rubytree-2.0.
|
301
|
+
- 'Rubytree Documentation: rubytree-2.0.3'
|
302
302
|
- "--main"
|
303
303
|
- README.md
|
304
304
|
- "--quiet"
|