sane 0.19.0 → 0.19.1

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/VERSION +1 -1
  2. data/lib/sane/pp.rb +6 -4
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.19.0
1
+ 0.19.1
data/lib/sane/pp.rb CHANGED
@@ -2,8 +2,10 @@
2
2
  # load 'pp' library on demand
3
3
  module Kernel
4
4
  private
5
- def pp(*objs) # :doc:
6
- require 'pp'
7
- pp *objs # use the new method
8
- end
5
+ def pp(*objs)
6
+ undef pp # avoid a warning
7
+ require('pp') || load('pp.rb') # allow for them to have loaded pp before sane
8
+ pp(*objs) # use the new method
9
+ end
10
+
9
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Pack
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-09 00:00:00 -07:00
12
+ date: 2010-01-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency