how_is 18.0.4 → 18.0.5
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 +5 -5
- data/.github_changelog_generator +3 -0
- data/.gitignore +1 -1
- data/.rspec +1 -1
- data/.rubocop.yml +22 -9
- data/.rubocop_todo.yml +21 -0
- data/CHANGELOG.md +266 -140
- data/Gemfile +12 -1
- data/Rakefile +33 -14
- data/exe/how_is +6 -11
- data/fixtures/vcr_cassettes/how_is_contributions_all_contributors.yml +78 -0
- data/fixtures/vcr_cassettes/how_is_contributions_new_contributors.yml +219 -0
- data/how_is.gemspec +2 -1
- data/lib/how_is/analyzer.rb +53 -47
- data/lib/how_is/contributions.rb +46 -0
- data/lib/how_is/fetcher.rb +10 -10
- data/lib/how_is/pulse.rb +20 -19
- data/lib/how_is/report/base_report.rb +15 -12
- data/lib/how_is/report/html.rb +59 -52
- data/lib/how_is/report/json.rb +2 -2
- data/lib/how_is/report.rb +9 -6
- data/lib/how_is/version.rb +1 -1
- data/lib/how_is.rb +19 -16
- metadata +24 -6
- data/Gemfile.lock +0 -110
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b0fe6931c53afc7a6ca5209183d6d4ddf2a41536
|
4
|
+
data.tar.gz: 26ab3fc1cc6e59140f676854374d924077f8ba5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b3fac9bf9e322b0d884d105609048b6d7a5223a9d5c14bf5960484296629486670ab96e4b00e78a98510babb2778a45026c9824305ddfc8583d0b534ebe7a78
|
7
|
+
data.tar.gz: 7bac0632ad9fb15984dca5b37d2d97421e8d3c648981720e830a1da02636b566254afb387ee805d668eff1d517555e1682f18150090096fb8be6ccc2e5794274
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
--format documentation
|
2
|
-
--
|
2
|
+
--require spec_helper
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
1
3
|
AllCops:
|
4
|
+
DisplayCopNames: true
|
5
|
+
DisplayStyleGuide: true
|
2
6
|
TargetRubyVersion: 2.3
|
3
7
|
Exclude:
|
4
8
|
- 'how_is.gemspec'
|
@@ -38,7 +42,7 @@ Style/Alias:
|
|
38
42
|
EnforcedStyle: prefer_alias_method
|
39
43
|
|
40
44
|
# Most readable form.
|
41
|
-
|
45
|
+
Layout/AlignHash:
|
42
46
|
EnforcedHashRocketStyle: table
|
43
47
|
EnforcedColonStyle: table
|
44
48
|
# Disable because it wound up conflicting with a lot of things like:
|
@@ -50,7 +54,7 @@ Style/AlignHash:
|
|
50
54
|
# addressed.
|
51
55
|
Enabled: false
|
52
56
|
|
53
|
-
|
57
|
+
Layout/AlignParameters:
|
54
58
|
# See Style/AlignedHash.
|
55
59
|
Enabled: false
|
56
60
|
|
@@ -74,7 +78,7 @@ Style/Encoding:
|
|
74
78
|
Enabled: true
|
75
79
|
|
76
80
|
# Force Unix line endings.
|
77
|
-
|
81
|
+
Layout/EndOfLine:
|
78
82
|
Enabled: true
|
79
83
|
EnforcedStyle: lf
|
80
84
|
|
@@ -85,9 +89,20 @@ Style/EndOfLine:
|
|
85
89
|
# foobar = 'blah'
|
86
90
|
# baz = 'asdf'
|
87
91
|
# beep = 'boop'
|
88
|
-
|
92
|
+
Layout/ExtraSpacing:
|
89
93
|
Enabled: false
|
90
94
|
|
95
|
+
# # bad
|
96
|
+
#
|
97
|
+
# format('%<greeting>s', greeting: 'Hello')
|
98
|
+
# format('%s', 'Hello')
|
99
|
+
#
|
100
|
+
# # good
|
101
|
+
#
|
102
|
+
# format('%{greeting}', greeting: 'Hello')
|
103
|
+
Style/FormatStringToken:
|
104
|
+
EnforcedStyle: template
|
105
|
+
|
91
106
|
# Freeze string literals to future-proof the code.
|
92
107
|
# TODO: Enable this always. (Disabled due to not knowing what will happen.)
|
93
108
|
Style/FrozenStringLiteralComment:
|
@@ -133,19 +148,17 @@ Style/MethodCalledOnDoEndBlock:
|
|
133
148
|
|
134
149
|
# Indenting the chained dots beneath each other is not supported by this cop,
|
135
150
|
# see https://github.com/bbatsov/rubocop/issues/1633
|
136
|
-
|
151
|
+
Layout/MultilineOperationIndentation:
|
137
152
|
Enabled: false
|
138
153
|
|
139
154
|
# {'foo' => 'bar'} not { 'foo' => 'bar' }
|
140
|
-
|
155
|
+
Layout/SpaceInsideHashLiteralBraces:
|
141
156
|
Enabled: true
|
142
157
|
EnforcedStyle: no_space
|
143
158
|
|
144
159
|
# Use double quotes everywhere by default.
|
145
|
-
# TODO: Enable Style/StringLiterals cop. Disabled due to number of violations.
|
146
160
|
Style/StringLiterals:
|
147
|
-
|
148
|
-
#EnforcedStyle: double_quotes
|
161
|
+
EnforcedStyle: double_quotes
|
149
162
|
|
150
163
|
# TODO: Maybe make it so you have to do [:foo, :bar] not %i[foo bar]?
|
151
164
|
Style/SymbolArray:
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2017-07-16 19:09:46 +0200 using RuboCop version 0.49.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 8
|
10
|
+
Metrics/AbcSize:
|
11
|
+
Max: 31
|
12
|
+
|
13
|
+
# Offense count: 2
|
14
|
+
# Configuration parameters: CountComments.
|
15
|
+
Metrics/ClassLength:
|
16
|
+
Max: 117
|
17
|
+
|
18
|
+
# Offense count: 3
|
19
|
+
# Configuration parameters: CountComments.
|
20
|
+
Metrics/MethodLength:
|
21
|
+
Max: 31
|