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 +4 -4
- data/format_output.gemspec +1 -1
- data/lib/format_output/version.rb +1 -1
- data/lib/format_output/word_wrap.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6018fcdcfcc7ef0a848cb38ed8ca56b8284e996c
|
4
|
+
data.tar.gz: 73b6ed93077af83b39033f6c67f116f03b1e3e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f1f39c4ac1683eb1f0e832bf0ce4ee8e76780cccb565340c73151591cecebcd6a8cbd82ec9f62164af6dce7e1118b44e6d971cb33082b5aaf2334fb7b2c71a
|
7
|
+
data.tar.gz: 893cc1cbff66f0d3a09f1b63c6330b59bb8f431247061db866adc64ea77a4445e0e4e729bcf43fa93eb3d9058c1c3273e7ec4062862dd8c21546ac7faddd2874
|
data/format_output.gemspec
CHANGED
@@ -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", "
|
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"
|
@@ -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
|
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.
|
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:
|
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:
|
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:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|