pretty_debug 0.3.8 → 0.3.9

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. checksums.yaml +4 -4
  2. data/lib/pretty_debug.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c399086406e8cae10bbb9f1a66e897d47a6f33da
4
- data.tar.gz: 944c1b024062b70ae2cc4636772037724c09fb02
3
+ metadata.gz: 776dce1c8c35312b006ff77a269869b4f33e93d7
4
+ data.tar.gz: 48bd8599ffcc49a50f1c0fa979ea69acfd336df3
5
5
  SHA512:
6
- metadata.gz: 94c127542e278a0f3a9b7730d1794ce58f39832dbf7d38a7c19c8b6c93768bfeb0123d5c93bbe7ea5e3cd68da2f840b2c2647823c6cb872fa175816a419f9dd7
7
- data.tar.gz: 791d2ad65b0c552efc3e1040e6e62742ee46bfeb27b091476d56c4122e87c24a2fc0af9f7de3ad145faa7719b4a20547c8a3537e9710d046f86bdc7fc0339a3d
6
+ metadata.gz: 30e165158e64844342ec5dc279785e4d3a7c8154ae865a8744189333d75f02cb6f57ae67d8030917637988ea4b5114564a80824199e2442bf9a140ad73f370d2
7
+ data.tar.gz: 2fda642a9b620c4a2bb0a644f7584a99cb7092b6a12332ebddac6be026896ce4d9c67beae9d9d64017ea8ba8987378f5bf484ac23d80c6fd4844c4cb707f84ac
data/lib/pretty_debug.rb CHANGED
@@ -102,7 +102,7 @@ class Object
102
102
  tap do |x| puts \
103
103
  "[Debug] #{caller_location(3).chain{|l| "#{l.basename}:#{l.lineno}"}}"
104
104
  .color(:yellow),
105
- (pr ? pr.call(x) : x).expand
105
+ (pr ? pr.call(x) : x).inspect.unchomp.verbatim
106
106
  end
107
107
  end
108
108
  def expand; inspect.verbatim end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_debug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawa