how_is 18.0.4 → 18.0.5

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
- SHA256:
3
- metadata.gz: aa512f40b28b33221fb83a6db55d83efe39e5b5c3f5a5160a5eabb1441a58638
4
- data.tar.gz: 4dc0c71bd1a56bb32e29efebbbc7405b21456566b47ae8b4b1fcc8ebafe90cae
2
+ SHA1:
3
+ metadata.gz: b0fe6931c53afc7a6ca5209183d6d4ddf2a41536
4
+ data.tar.gz: 26ab3fc1cc6e59140f676854374d924077f8ba5f
5
5
  SHA512:
6
- metadata.gz: 4f2ffd1e34fa07420631add37aa8b084956f58b6b8d67d14ccb4d58942f60a167ad9c7106bd14ce3c53db73498255e1542c2e56559733fccc05dfba157876c46
7
- data.tar.gz: 40a4bf011b459a31a7ab9e9fedf50b8672f64f8ba3d5e62fa4492260eab05aed27f88b882f87583e128fc2fcf0891508229be723c4d75399dbb43735e0dac9de
6
+ metadata.gz: 5b3fac9bf9e322b0d884d105609048b6d7a5223a9d5c14bf5960484296629486670ab96e4b00e78a98510babb2778a45026c9824305ddfc8583d0b534ebe7a78
7
+ data.tar.gz: 7bac0632ad9fb15984dca5b37d2d97421e8d3c648981720e830a1da02636b566254afb387ee805d668eff1d517555e1682f18150090096fb8be6ccc2e5794274
@@ -0,0 +1,3 @@
1
+ user=how-is
2
+ project=how_is
3
+
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- #/Gemfile.lock
3
+ /Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
6
  /doc/
data/.rspec CHANGED
@@ -1,2 +1,2 @@
1
1
  --format documentation
2
- --color
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
- Style/AlignHash:
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
- Style/AlignParameters:
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
- Style/EndOfLine:
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
- Style/ExtraSpacing:
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
- Style/MultilineOperationIndentation:
151
+ Layout/MultilineOperationIndentation:
137
152
  Enabled: false
138
153
 
139
154
  # {'foo' => 'bar'} not { 'foo' => 'bar' }
140
- Style/SpaceInsideHashLiteralBraces:
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
- Enabled: false
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