extra_print 1.1.0 → 1.1.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. checksums.yaml +4 -4
  2. data/lib/extra_print.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bd224ffefb3f402b46f04d64b3eae5a6b764ff4
4
- data.tar.gz: 01a13fe4037679e8fff58afb688946bb64b1f452
3
+ metadata.gz: 2b063cb0703442a6b32800900e44f5b3d82c45a7
4
+ data.tar.gz: 62c6c0c90a05da158c95b2c99294b2d28ec3b4a2
5
5
  SHA512:
6
- metadata.gz: 62b75b7f4626021a1afbaf19cef5a66b24d4f754b7c8bae9ed1166592d2207a5c3a6f57e3c73e7164e0c3b142e943360af5f08f53abb2950c089d712377b03c3
7
- data.tar.gz: f723d6514ef0557db0e595795eb607ed4481cb7a65784d03840c29e28cf6f874a5570f4ef769e5b6879a00eded659662e262919ab4f26a7359220add2d2524c2
6
+ metadata.gz: 725320d7c4c202c89555af3f3d996386293d79ba72f853f743c4276b110f1d272ebd6c99f185c8c604c987a6a18f855cf8c3c0f853c377bf55e78194f2609ec8
7
+ data.tar.gz: d8362a29b14063687c5a6d59666744ced311a1e4caf86c2955e2548de1ce0331f7d4e26175d99919836bf1554fcbfad54f3f1f4c1e6d9aa7b304033899409370
@@ -46,14 +46,12 @@ end
46
46
 
47
47
  def display_variable(add_awesome_print)
48
48
  proc = Proc.new { @variable }
49
- puts
50
49
  if add_awesome_print
51
50
  require 'awesome_print'
52
51
  ap proc.call if add_awesome_print
53
52
  else
54
53
  p proc.call unless add_awesome_print
55
54
  end
56
- puts
57
55
  end
58
56
 
59
57
  # 40 rando emojis for fun && eye catching line breaks
@@ -71,6 +69,7 @@ def display_footer
71
69
  str += "\033[#{@secondary_color}m #{@msg} "
72
70
  str += "\033[#{@color}m⬆ \033[0m" * ((@length / 4))
73
71
  puts str
72
+ puts
74
73
  end
75
74
 
76
75
  def display_detail_header
@@ -97,6 +96,7 @@ def display_detail_header
97
96
  str += "\033[#{@color}m⬇ \033[m" * 5
98
97
 
99
98
  # Output completed string
99
+ puts
100
100
  puts str
101
101
 
102
102
  # Set @length - non encoded string for use in footer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extra_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunter Chapman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print