super_awesome_print 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f483b7ad61eafa38f3a5b6c706583b7ce348378
4
- data.tar.gz: c89768ff5e0b68a188653e4cb4dc3732e96765a7
3
+ metadata.gz: 9f84886051b6aba93025590a9edc35324d9ad38a
4
+ data.tar.gz: cdb50d0419bc64e2a0a6f4c07dacda2fa7586782
5
5
  SHA512:
6
- metadata.gz: 31771e3448794cd12e9d0516cda0caea1852d6652a132fe75fcf306f137c66b3131bc5fec8f30aa006333d5b67a226120222cfd578b99f0638d00c1d9f37d167
7
- data.tar.gz: fc403e9bf47ec89709225e01818b9a8963cc5be52a1fd0590f218f36cdccdf70a39f11ea1be273b6fe3341e935d26a68c7afe27abca33cf9f71d150ca8180738
6
+ metadata.gz: 76c20608db1acef613f68cb0697f82386bbfb9cbaa7973b482befc71b323132c60fc8ef1dc47b37758e0f1b0d2067dfa4d9749b24f7453fff76245db9755d142
7
+ data.tar.gz: 8ad18ba1535449e97c2f9df07105b80695b09a050a8282b569e56b42c4228bee10833f8c0c564a773d843abb7d25586a7e6804254f0226bca07e7e884909aa03
@@ -1,3 +1,3 @@
1
1
  module SuperAwesomePrint
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
@@ -5,11 +5,11 @@ require 'awesome_print'
5
5
  module Kernel
6
6
  def sap(msg)
7
7
  SuperAwesomePrint.blank_lines_top
8
- ap "*** #{Time.now} ***", color: { string: :green }
8
+ ap "*** #{Time.now} ***", :color => { :string => :green }
9
9
  ap msg.class if msg.respond_to?(:class)
10
10
  SuperAwesomePrint.print_caller_lines(caller)
11
11
  ap msg
12
- ap '*** END ***', color: { string: :green }
12
+ ap '*** END ***', :color => { :string => :green }
13
13
  SuperAwesomePrint.blank_lines_bottom
14
14
  end
15
15
  end
@@ -24,7 +24,7 @@ module SuperAwesomePrint
24
24
  lines = caller_array[0...number_of_lines].map do |line|
25
25
  line.gsub(config.root_path + '/', '')
26
26
  end
27
- lines.each { |line| ap line, color: { string: :purpleish } }
27
+ lines.each { |line| ap line, :color => { :string => :purpleish } }
28
28
  end
29
29
 
30
30
  def self.blank_lines_top
@@ -21,5 +21,10 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency 'bundler', '~> 1.10'
23
23
  spec.add_development_dependency 'rake', '~> 10.0'
24
- spec.add_runtime_dependency 'awesome_print'
24
+
25
+ if RUBY_VERSION < '1.9.3'
26
+ spec.add_runtime_dependency 'awesome_print', '1.2.0'
27
+ else
28
+ spec.add_runtime_dependency 'awesome_print'
29
+ end
25
30
  end
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.2
4
+ version: 0.2.3
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-27 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler