format_output 0.1.0 → 0.1.1

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: 9c8c65f32fd95cbd19905fc587273dbea1ce18da
4
- data.tar.gz: baf65ce1f265d28f1174e5ac4151852c432ced21
3
+ metadata.gz: 6018fcdcfcc7ef0a848cb38ed8ca56b8284e996c
4
+ data.tar.gz: 73b6ed93077af83b39033f6c67f116f03b1e3e94
5
5
  SHA512:
6
- metadata.gz: d42cd2b4fa43e1beaeaac9779bb389716543e89b80be942cf0d20eff34575f8e90677ffd5c55c749c9f19f77c2850aecfc4e0408bff5e9f7f1b173bce8d70078
7
- data.tar.gz: 53ac409dcef76919bf95553f642e6ac3ac2ca7ede43d6d730b1200f0615b328d7bb4f7992d24de79e145633e2e02ee2ad963c40051283a87bab4bd9bc1c6fe7d
6
+ metadata.gz: 66f1f39c4ac1683eb1f0e832bf0ce4ee8e76780cccb565340c73151591cecebcd6a8cbd82ec9f62164af6dce7e1118b44e6d971cb33082b5aaf2334fb7b2c71a
7
+ data.tar.gz: 893cc1cbff66f0d3a09f1b63c6330b59bb8f431247061db866adc64ea77a4445e0e4e729bcf43fa93eb3d9058c1c3273e7ec4062862dd8c21546ac7faddd2874
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.17"
27
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rake", ">= 12.3.3"
28
28
  spec.add_development_dependency "minitest", "~> 5.0"
29
29
  spec.add_development_dependency 'minitest_visible', "~> 0.1"
30
30
  spec.add_development_dependency 'reek', "~> 5.0.2"
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  module FormatOutput
4
- VERSION = "0.1.0".freeze
4
+ VERSION = "0.1.1".freeze
5
5
 
6
6
  DESCRIPTION = "Formatted output to the console or strings.".freeze
7
7
  end
@@ -8,14 +8,14 @@ class Array
8
8
  puts format_output_word_wrap(options).join("\n")
9
9
  end
10
10
 
11
- # Convert the array to a string with bullet points.
11
+ # Convert the array to a string with word wrap.
12
12
  # Returns: A string.
13
13
  def format_output_word_wrap(options = {})
14
14
  format_output_raw_word_wrap(options).join("\n")
15
15
  end
16
16
 
17
+ # Convert the array to strings with word wrap.
17
18
  # Returns: An array of strings.
18
- # This method is a duplicate of a bullet point method with a new name.
19
19
  def format_output_raw_word_wrap(options = {})
20
20
  result = []
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: format_output
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PeterCamilleri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-22 00:00:00.000000000 Z
11
+ date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement