repos_report 2.0.0 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59a7b5edfc56be0f30a032fb7f9a073625f805b2
4
- data.tar.gz: e6bd23bdd3ae6099adb75d1d6213ca09516f3924
3
+ metadata.gz: 9a9c5e23400f34721aaefa55ddb4e4c9c9b41b4e
4
+ data.tar.gz: 99d972d4e83e326f64c3875d999dd09c3a85384c
5
5
  SHA512:
6
- metadata.gz: b31dbfb62bd1a3bb65c3854a58ca82fe910778666ace509cf561757c7237c8bfe5c3fd3a41bf44289451120b166c544338913cd50a6b4f26638555c2cc65632f
7
- data.tar.gz: a1a811dbfbbd309ab0a9f64e3257ce6a74df7a3120cabb1a0ce524f226f2d7f5198dbab33c07859d5d7bd5f31bed06dded236b9eacf4066f949e26943e3538a4
6
+ metadata.gz: aacb75a45bf29e8ab81537f47c33a2f3055d54ac2985a200c0aaa21ac9486032e7ea2788519746736d90695d4ab6793bb183e46491fe26072ad559aa1cdb9fb7
7
+ data.tar.gz: 3c97a70c435494a32b8be44eb6e6fcb7b6b7861853286dc40f64b043aaf8ae64f110b992e2685da54c5f8576e5ea55cda85a27fe986dc00704fe7d22be3a0895
@@ -11,11 +11,11 @@ class Repo
11
11
  project_name.length
12
12
  end
13
13
 
14
- def concise_status(error_indentation)
14
+ def concise_status(whitespace_padding)
15
15
  if issues.any?
16
- message_with_issues(error_indentation).red
16
+ message_with_issues(whitespace_padding).red
17
17
  else
18
- message_with_no_issues(error_indentation).green
18
+ message_with_no_issues(whitespace_padding).green
19
19
  end
20
20
  end
21
21
 
@@ -27,16 +27,16 @@ class Repo
27
27
  @directory.split("/").last
28
28
  end
29
29
 
30
- def message_with_issues(error_indentation)
31
- project_name + whitespace_padding(error_indentation) + issues.join(', ')
30
+ def message_with_issues(whitespace_padding)
31
+ project_name + whitespace_padding(whitespace_padding) + issues.join(', ')
32
32
  end
33
33
 
34
- def message_with_no_issues(error_indentation)
35
- project_name + whitespace_padding(error_indentation) + 'ALL GOOD'
34
+ def message_with_no_issues(whitespace_padding)
35
+ project_name + whitespace_padding(whitespace_padding) + 'ALL GOOD'
36
36
  end
37
37
 
38
- def whitespace_padding(error_indentation)
39
- ' ' * (error_indentation - project_name_length)
38
+ def whitespace_padding(whitespace_padding)
39
+ ' ' * (whitespace_padding - project_name_length)
40
40
  end
41
41
 
42
42
  def issues
@@ -1,3 +1,3 @@
1
1
  module ReposReport
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repos_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - neurodynamic