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 +4 -4
- data/lib/super_awesome_print/version.rb +1 -1
- data/lib/super_awesome_print.rb +10 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f483b7ad61eafa38f3a5b6c706583b7ce348378
|
4
|
+
data.tar.gz: c89768ff5e0b68a188653e4cb4dc3732e96765a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31771e3448794cd12e9d0516cda0caea1852d6652a132fe75fcf306f137c66b3131bc5fec8f30aa006333d5b67a226120222cfd578b99f0638d00c1d9f37d167
|
7
|
+
data.tar.gz: fc403e9bf47ec89709225e01818b9a8963cc5be52a1fd0590f218f36cdccdf70a39f11ea1be273b6fe3341e935d26a68c7afe27abca33cf9f71d150ca8180738
|
data/lib/super_awesome_print.rb
CHANGED
@@ -2,14 +2,16 @@ require 'super_awesome_print/version'
|
|
2
2
|
require 'super_awesome_print/configuration'
|
3
3
|
require 'awesome_print'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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.
|
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-
|
11
|
+
date: 2016-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|