log-pretty 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: c0f1b6d7c9bfee46e1c51576217b97a8e42332b74824e576028294cb4b15ffb1
4
- data.tar.gz: f967a2eaed89c8aaf8011cb21324ef045c4d6468b1c18c62f43336a31c1f19cd
3
+ metadata.gz: 613fbcdce0669a518c2fb589a310e6a73ac9c0fb873421775d0a7eeef297c3b9
4
+ data.tar.gz: df60f6c0aa702875d08963ad6a90e51548e8d748f5efdd4eebdf7f9a4afc0f00
5
5
  SHA512:
6
- metadata.gz: 6021ac91b701395847e531492f52b825e013265365edff9fc6464f992643e43c3f1fa56a14f1f95f8ff359e3817f9c08fd24b12166e9820a7f146f0b1b0f3710
7
- data.tar.gz: f62472955350d6764a3bf85e9bcc3dcd716984c9765000332a895d45615ad9326d280efa14b5bf603ab074e08e5761ac1a3c4e869b99d65f51992e3397412e2f
6
+ metadata.gz: 30bccc61a218863ac2d1d11306025b29248783cd2347ee75e568aa741a740ee346a08bb5c85c7340d78fe58637991232ccd24908367a84bc5d85f2209e991e54
7
+ data.tar.gz: ec97acb6918fcb4857370b654b536846eeae2016a80c64ba5d4c3f2260996f2dadd6f8be190ffdd7166087184eced635b253fbf9786dca5131bf1a5ff926458a
data/.rubocop.yml CHANGED
@@ -11,4 +11,7 @@ Metrics/MethodLength:
11
11
  Max: 50
12
12
 
13
13
  Metrics/CyclomaticComplexity:
14
- Max: 10
14
+ Max: 10
15
+
16
+ Naming/FileName:
17
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogPretty
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
5
5
  end
data/lib/log-pretty.rb CHANGED
@@ -10,6 +10,10 @@ module LogPretty
10
10
  def logp(input, **opts)
11
11
  output = AnsiPrinter.new(input:, **opts).output
12
12
 
13
- $stdout.puts output.to_s
13
+ # Print to STDOUT
14
+ $stdout.puts output
15
+
16
+ # Return value
17
+ output
14
18
  end
15
19
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log-pretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse vonBergen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-26 00:00:00.000000000 Z
11
+ date: 2024-09-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Provides intuitive methods for outputting ANSI escaped content to terminal
13
+ description: Provides intuitive methods for outputting ANSI escaped content to the
14
+ terminal
14
15
  email:
15
16
  - jvon1904@gmail.com
16
17
  executables: []
@@ -52,5 +53,5 @@ requirements: []
52
53
  rubygems_version: 3.5.20
53
54
  signing_key:
54
55
  specification_version: 4
55
- summary: Provides intuitive methods for outputting ANSI escaped content to terminal
56
+ summary: Provides intuitive methods for outputting ANSI escaped content to the terminal
56
57
  test_files: []