dbg-rb 0.2.0 → 0.2.1

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: '09b1254dce075461fa3f871339727687bb71c3ed3c665a402f4eb391186f3d73'
4
- data.tar.gz: 534dc75a914ad52ee594a298f6be6ec7e8b44cda80ac5749dab66a28956732a9
3
+ metadata.gz: bdcb38f9dc3080710eef9e91b78585a4e718e4ff421792aeb0114ca8a2dec5ec
4
+ data.tar.gz: ccdee5e7ddfd22cb0008160e61a732dc7f71fb72f30369132a909be2baeec75b
5
5
  SHA512:
6
- metadata.gz: 52ec38c67acc0cd2c8876d9168262d5d5293fb881cc2192a70cd39578ee82d4814e60bdacf48b8f5967b3e13c839c1e4bcf54bfcdaae9c4103d1562d9d38dd96
7
- data.tar.gz: 2850472008c78ac1d28e1a38360c29b61bc2234c0f7f925f11a18dcc7a931b504b51595b522c36e11bce595960f28f5da59062faabd445165ca20a23ec27794b
6
+ metadata.gz: 7b5d2c2e616746d05b0d45245faf85c3ad284b5089aae9858109f93c853575e8f6879e387bae97915e93671c615d559cab0d1eee298e8ceac30c66f587fdb630
7
+ data.tar.gz: eb7161ea23dc92b939956a2279e3576f29fc7bbc90c6f8cbada1671a5c7c3d17481d169f651b9f3ce50ef096fd544b2c3e89117495fd5cc2253a6e1feb214e94
data/lib/dbg-rb.rb CHANGED
@@ -75,7 +75,7 @@ module DbgRb
75
75
  "nil"
76
76
  elsif val.is_a?(String)
77
77
  "\"#{val}\""
78
- elsif val.is_a?(Hash)
78
+ elsif val.is_a?(Hash) || val.is_a?(Array)
79
79
  JSON.pretty_generate(val)
80
80
  else
81
81
  val
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DbgRb
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbg-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb