super_awesome_print 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: f49802099873f8df102416cb70d8ee685cc60a07
4
- data.tar.gz: 27a180a209b4c76437af52730c3265a64fd3e5cb
3
+ metadata.gz: 4f483b7ad61eafa38f3a5b6c706583b7ce348378
4
+ data.tar.gz: c89768ff5e0b68a188653e4cb4dc3732e96765a7
5
5
  SHA512:
6
- metadata.gz: c3416033acc16e1e1c1347b34cb94f786dda5032a2fbfaf11819b269f7311934683388490b7da3cebc752a36e5047cbb080e5c0e21bf463b34684f1d32304c26
7
- data.tar.gz: 8a91e65efee4301ce20710848977c0a7bf1e3090a3f966f99128895ed5ff8e1d86494db9d7a1d255b729febf5e7e1c218abd82772f06fdf050dea95bc29adeac
6
+ metadata.gz: 31771e3448794cd12e9d0516cda0caea1852d6652a132fe75fcf306f137c66b3131bc5fec8f30aa006333d5b67a226120222cfd578b99f0638d00c1d9f37d167
7
+ data.tar.gz: fc403e9bf47ec89709225e01818b9a8963cc5be52a1fd0590f218f36cdccdf70a39f11ea1be273b6fe3341e935d26a68c7afe27abca33cf9f71d150ca8180738
@@ -1,3 +1,3 @@
1
1
  module SuperAwesomePrint
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
@@ -2,14 +2,16 @@ require 'super_awesome_print/version'
2
2
  require 'super_awesome_print/configuration'
3
3
  require 'awesome_print'
4
4
 
5
- def sap(msg)
6
- SuperAwesomePrint.blank_lines_top
7
- ap "*** #{Time.now} ***", color: { string: :green }
8
- ap msg.class if msg.respond_to?(:class)
9
- SuperAwesomePrint.print_caller_lines(caller)
10
- ap msg
11
- ap '*** END ***', color: { string: :green }
12
- SuperAwesomePrint.blank_lines_bottom
5
+ module Kernel
6
+ def sap(msg)
7
+ SuperAwesomePrint.blank_lines_top
8
+ ap "*** #{Time.now} ***", color: { string: :green }
9
+ ap msg.class if msg.respond_to?(:class)
10
+ SuperAwesomePrint.print_caller_lines(caller)
11
+ ap msg
12
+ ap '*** END ***', color: { string: :green }
13
+ SuperAwesomePrint.blank_lines_bottom
14
+ end
13
15
  end
14
16
 
15
17
  module SuperAwesomePrint
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: super_awesome_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Antonyan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler