json_tree 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. data/bin/json_tree +1 -0
  2. data/lib/json_tree/version.rb +1 -1
  3. metadata +4 -4
@@ -20,6 +20,7 @@ def put_hash_keys(hash, indent=1)
20
20
  hash.keys.sort.each do |key|
21
21
  value = hash[key]
22
22
  if value.is_a? Hash
23
+ print_key(key, indent)
23
24
  put_hash_keys(value, indent+1)
24
25
  else
25
26
  print_key(key, indent)
@@ -1,3 +1,3 @@
1
1
  module JsonTree
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-31 00:00:00.000000000 Z
12
+ date: 2012-02-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70201749601100 !ruby/object:Gem::Requirement
16
+ requirement: &70263958762800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70201749601100
24
+ version_requirements: *70263958762800
25
25
  description: A simple tool for printing the structure of a JSON object
26
26
  email:
27
27
  - oliver.nightingale1@gmail.com