betterp 0.1.4 → 0.1.5

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: a87d11a58d6dba378c026a3c924f9b83bd4bd6f1832f09df382aca6dff77d355
4
- data.tar.gz: 13bb71a2a765d6012ffa2c7a170919bdb584c6ee1349e046dbff234eeaa2c184
3
+ metadata.gz: e5abc15316aa50a89ef3f7da15d2a6a48d27ec84ab57b82633a9cd1d67e644e2
4
+ data.tar.gz: ca846c0f3140aa40a562ad21b9679de04425e9d33cb6e6ee1258529555bfc60a
5
5
  SHA512:
6
- metadata.gz: ba8fd7cc760640f944480481210367c4f77ad82c3a073a88a8e752944477a8daf1eaed370662d910c8c6a95663a2e45cf2e9fa8ce9b5edf29b9b3689026c8302
7
- data.tar.gz: 2968e802c10a1d204acff3dc345c8f04899931ccf4ce470e32d7ec4413f26af054e70edb144c287ae4421c549a2ac005e380ac60fb4e7b5d8461382383618a90
6
+ metadata.gz: e1bc1be485f36644cd93c2f180a1ba494f676cb89886abadaafdbfc0174f3e55629274d9e4c20b43745e9a10ca060f8b5a6573754526b37da0f417f64ee464f9
7
+ data.tar.gz: 0af13aa85b55f786590fdb57ca8dad23941669c8ca4c20045f35f1f7d0b9c71adbb9ae8c393b0e1a0f0f34b8f19436fa580ee24331263274393d968e7774521c
data/README.md CHANGED
@@ -16,7 +16,7 @@ The original semantics of `Kernel#p` are still applied, i.e. it returns the valu
16
16
  Add the gem to your `Gemfile`
17
17
 
18
18
  ```ruby
19
- gem 'betterp', '~> 0.1.4'
19
+ gem 'betterp', '~> 0.1.5'
20
20
  ```
21
21
 
22
22
  And rebuild your bundle:
@@ -27,7 +27,7 @@ $ bundle install
27
27
 
28
28
  Or install standalone:
29
29
  ```bash
30
- $ gem install betterp -v '0.1.4'
30
+ $ gem install betterp -v '0.1.5'
31
31
  ```
32
32
 
33
33
  ## Usage
@@ -14,7 +14,7 @@ module Betterp
14
14
  end
15
15
 
16
16
  def format(args)
17
- args.map do |arg|
17
+ args.map(&:inspect).map do |arg|
18
18
  style = %i[yellow]
19
19
  header + colorize(prefix) + caller_code + Paint[pretty(arg), *style]
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Betterp
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paint