gmail 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +27 -27
- data/.rspec +1 -1
- data/.rubocop.yml +13 -13
- data/.rubocop_todo.yml +239 -239
- data/.travis.yml +19 -19
- data/CHANGELOG.md +145 -139
- data/Gemfile +3 -3
- data/LICENSE +21 -21
- data/README.md +355 -354
- data/Rakefile +46 -46
- data/gmail.gemspec +34 -34
- data/lib/gmail.rb +78 -78
- data/lib/gmail/client.rb +34 -34
- data/lib/gmail/client/base.rb +229 -229
- data/lib/gmail/client/plain.rb +24 -24
- data/lib/gmail/client/xoauth.rb +68 -68
- data/lib/gmail/client/xoauth2.rb +39 -39
- data/lib/gmail/imap_extensions.rb +159 -150
- data/lib/gmail/labels.rb +79 -79
- data/lib/gmail/mailbox.rb +175 -135
- data/lib/gmail/message.rb +207 -207
- data/lib/gmail/version.rb +3 -3
- data/spec/account.yml.example +1 -1
- data/spec/account.yml.obfus +2 -2
- data/spec/gmail/client/base_spec.rb +5 -5
- data/spec/gmail/client/plain_spec.rb +169 -168
- data/spec/gmail/client/xoauth2_spec.rb +186 -186
- data/spec/gmail/client/xoauth_spec.rb +5 -5
- data/spec/gmail/client_spec.rb +5 -5
- data/spec/gmail/imap_extensions_spec.rb +47 -12
- data/spec/gmail/labels_spec.rb +27 -18
- data/spec/gmail/mailbox_spec.rb +84 -47
- data/spec/gmail/message_spec.rb +181 -181
- data/spec/gmail_spec.rb +39 -39
- data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +28 -28
- data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +28 -28
- data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +13 -13
- data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +196 -196
- data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +151 -151
- data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +146 -146
- data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +113 -113
- data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +109 -109
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +109 -109
- data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +27 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +39 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +39 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +27 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +15 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +15 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +40 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +40 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/and_the_mailbox_does_not_exist/returns_the_mailbox_name_as_a_string.yml +110 -0
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +42 -42
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +277 -277
- data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +586 -586
- data/spec/recordings/gmail_mailbox/instance/waits_once.yml +136 -0
- data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +141 -0
- data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +136 -0
- data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +207 -0
- data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +42 -42
- data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +42 -42
- data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +578 -578
- data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +580 -580
- data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +637 -637
- data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +682 -682
- data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +686 -686
- data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +862 -862
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +776 -776
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +776 -776
- data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +690 -690
- data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +691 -691
- data/spec/spec_helper.rb +53 -53
- data/spec/support/imap_mock.rb +181 -129
- data/spec/support/obfuscation.rb +52 -52
- metadata +78 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afccbbf649f71728d76ebb4c7a3423ccefc1f2a7
|
4
|
+
data.tar.gz: cc06b8370e2a0749711e4e603263bb043647b85a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fac62628fd505868cdae167080ef470cd7bcdb1b3f987d51deba6f8cd30bdbf737d3be751d79aa3eb163674207720c6c6552429fce5ea6ab4fd7b176b96792b
|
7
|
+
data.tar.gz: 9defe569b019be86350726c72d101e25973f19c04d0197caca0a5fd6dad1ae9939482da1f58ba8f02ca9b8fbc904a8622a7989d0770c720335009329c8415245
|
data/.gitignore
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
## MAC OS
|
2
|
-
.DS_Store
|
3
|
-
|
4
|
-
## TEXTMATE
|
5
|
-
*.tmproj
|
6
|
-
tmtags
|
7
|
-
|
8
|
-
## EMACS
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
12
|
-
|
13
|
-
## VIM
|
14
|
-
*.swp
|
15
|
-
|
16
|
-
## PROJECT::GENERAL
|
17
|
-
coverage
|
18
|
-
rdoc
|
19
|
-
pkg
|
20
|
-
Gemfile.lock
|
21
|
-
*.gem
|
22
|
-
|
23
|
-
## PROJECT::SPECIFIC
|
24
|
-
*.rdb
|
25
|
-
|
26
|
-
## Test Account details
|
27
|
-
spec/account.yml
|
1
|
+
## MAC OS
|
2
|
+
.DS_Store
|
3
|
+
|
4
|
+
## TEXTMATE
|
5
|
+
*.tmproj
|
6
|
+
tmtags
|
7
|
+
|
8
|
+
## EMACS
|
9
|
+
*~
|
10
|
+
\#*
|
11
|
+
.\#*
|
12
|
+
|
13
|
+
## VIM
|
14
|
+
*.swp
|
15
|
+
|
16
|
+
## PROJECT::GENERAL
|
17
|
+
coverage
|
18
|
+
rdoc
|
19
|
+
pkg
|
20
|
+
Gemfile.lock
|
21
|
+
*.gem
|
22
|
+
|
23
|
+
## PROJECT::SPECIFIC
|
24
|
+
*.rdb
|
25
|
+
|
26
|
+
## Test Account details
|
27
|
+
spec/account.yml
|
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
--colour
|
1
|
+
--colour
|
2
2
|
--backtrace
|
data/.rubocop.yml
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
2
|
-
|
3
|
-
Style/HashSyntax:
|
4
|
-
EnforcedStyle: hash_rockets
|
5
|
-
SupportedStyles:
|
6
|
-
- ruby19
|
7
|
-
- hash_rockets
|
8
|
-
|
9
|
-
Style/StringLiterals:
|
10
|
-
EnforcedStyle: single_quotes
|
11
|
-
SupportedStyles:
|
12
|
-
- single_quotes
|
13
|
-
- double_quotes
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
Style/HashSyntax:
|
4
|
+
EnforcedStyle: hash_rockets
|
5
|
+
SupportedStyles:
|
6
|
+
- ruby19
|
7
|
+
- hash_rockets
|
8
|
+
|
9
|
+
Style/StringLiterals:
|
10
|
+
EnforcedStyle: single_quotes
|
11
|
+
SupportedStyles:
|
12
|
+
- single_quotes
|
13
|
+
- double_quotes
|
data/.rubocop_todo.yml
CHANGED
@@ -1,239 +1,239 @@
|
|
1
|
-
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
-
# on 2015-01-19 09:48:24 -0500 using RuboCop version 0.28.0.
|
3
|
-
# The point is for the user to remove these configuration records
|
4
|
-
# one by one as the offenses are removed from the code base.
|
5
|
-
# Note that changes in the inspected code, or installation of new
|
6
|
-
# versions of RuboCop, may require this file to be generated again.
|
7
|
-
|
8
|
-
# Offense count: 1
|
9
|
-
# Configuration parameters: AllowSafeAssignment.
|
10
|
-
Lint/AssignmentInCondition:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
# Offense count: 1
|
14
|
-
# Cop supports --auto-correct.
|
15
|
-
Lint/BlockAlignment:
|
16
|
-
Enabled: false
|
17
|
-
|
18
|
-
# Offense count: 1
|
19
|
-
Lint/LiteralInCondition:
|
20
|
-
Enabled: false
|
21
|
-
|
22
|
-
# Offense count: 2
|
23
|
-
Lint/RescueException:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
# Offense count: 1
|
27
|
-
Lint/ShadowingOuterLocalVariable:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
# Offense count: 1
|
31
|
-
# Cop supports --auto-correct.
|
32
|
-
Lint/StringConversionInInterpolation:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
# Offense count: 1
|
36
|
-
Lint/UnderscorePrefixedVariableName:
|
37
|
-
Enabled: false
|
38
|
-
|
39
|
-
# Offense count: 2
|
40
|
-
# Cop supports --auto-correct.
|
41
|
-
Lint/UnusedBlockArgument:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
# Offense count: 7
|
45
|
-
# Cop supports --auto-correct.
|
46
|
-
Lint/UnusedMethodArgument:
|
47
|
-
Enabled: false
|
48
|
-
|
49
|
-
# Offense count: 2
|
50
|
-
Lint/UselessAssignment:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
# Offense count: 12
|
54
|
-
Lint/Void:
|
55
|
-
Enabled: false
|
56
|
-
|
57
|
-
# Offense count: 10
|
58
|
-
Metrics/AbcSize:
|
59
|
-
Max: 1000
|
60
|
-
|
61
|
-
# Offense count: 2
|
62
|
-
# Configuration parameters: CountComments.
|
63
|
-
Metrics/ClassLength:
|
64
|
-
Max: 1000
|
65
|
-
|
66
|
-
# Offense count: 5
|
67
|
-
Metrics/CyclomaticComplexity:
|
68
|
-
Max: 1000
|
69
|
-
|
70
|
-
# Offense count: 67
|
71
|
-
# Configuration parameters: AllowURI, URISchemes.
|
72
|
-
Metrics/LineLength:
|
73
|
-
Max: 1000
|
74
|
-
|
75
|
-
# Offense count: 12
|
76
|
-
# Configuration parameters: CountComments.
|
77
|
-
Metrics/MethodLength:
|
78
|
-
Max: 1000
|
79
|
-
|
80
|
-
# Offense count: 3
|
81
|
-
Metrics/PerceivedComplexity:
|
82
|
-
Max: 1000
|
83
|
-
|
84
|
-
# Offense count: 27
|
85
|
-
# Cop supports --auto-correct.
|
86
|
-
Style/Alias:
|
87
|
-
Enabled: false
|
88
|
-
|
89
|
-
# Offense count: 1
|
90
|
-
# Cop supports --auto-correct.
|
91
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
92
|
-
Style/AlignParameters:
|
93
|
-
Enabled: false
|
94
|
-
|
95
|
-
# Offense count: 21
|
96
|
-
# Cop supports --auto-correct.
|
97
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
98
|
-
Style/AndOr:
|
99
|
-
Enabled: false
|
100
|
-
|
101
|
-
# Offense count: 18
|
102
|
-
# Cop supports --auto-correct.
|
103
|
-
Style/Blocks:
|
104
|
-
Enabled: false
|
105
|
-
|
106
|
-
# Offense count: 4
|
107
|
-
# Cop supports --auto-correct.
|
108
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
109
|
-
Style/BracesAroundHashParameters:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
# Offense count: 2
|
113
|
-
# Cop supports --auto-correct.
|
114
|
-
Style/ColonMethodCall:
|
115
|
-
Enabled: false
|
116
|
-
|
117
|
-
# Offense count: 2
|
118
|
-
# Cop supports --auto-correct.
|
119
|
-
Style/CommentIndentation:
|
120
|
-
Enabled: false
|
121
|
-
|
122
|
-
# Offense count: 18
|
123
|
-
Style/Documentation:
|
124
|
-
Enabled: false
|
125
|
-
|
126
|
-
# Offense count: 5
|
127
|
-
Style/DoubleNegation:
|
128
|
-
Enabled: false
|
129
|
-
|
130
|
-
# Offense count: 1
|
131
|
-
Style/EachWithObject:
|
132
|
-
Enabled: false
|
133
|
-
|
134
|
-
# Offense count: 1
|
135
|
-
# Cop supports --auto-correct.
|
136
|
-
Style/ElseAlignment:
|
137
|
-
Enabled: false
|
138
|
-
|
139
|
-
# Offense count: 1
|
140
|
-
# Cop supports --auto-correct.
|
141
|
-
Style/EmptyLiteral:
|
142
|
-
Enabled: false
|
143
|
-
|
144
|
-
# Offense count: 4
|
145
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
146
|
-
Style/FormatString:
|
147
|
-
Enabled: false
|
148
|
-
|
149
|
-
# Offense count: 2
|
150
|
-
# Configuration parameters: MaxLineLength.
|
151
|
-
Style/IfUnlessModifier:
|
152
|
-
Enabled: false
|
153
|
-
|
154
|
-
# Offense count: 6
|
155
|
-
# Cop supports --auto-correct.
|
156
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
157
|
-
Style/IndentHash:
|
158
|
-
Enabled: false
|
159
|
-
|
160
|
-
# Offense count: 2
|
161
|
-
# Cop supports --auto-correct.
|
162
|
-
# Configuration parameters: Width.
|
163
|
-
Style/IndentationWidth:
|
164
|
-
Enabled: false
|
165
|
-
|
166
|
-
# Offense count: 1
|
167
|
-
# Cop supports --auto-correct.
|
168
|
-
Style/InfiniteLoop:
|
169
|
-
Enabled: false
|
170
|
-
|
171
|
-
# Offense count: 5
|
172
|
-
Style/Lambda:
|
173
|
-
Enabled: false
|
174
|
-
|
175
|
-
# Offense count: 1
|
176
|
-
Style/ModuleFunction:
|
177
|
-
Enabled: false
|
178
|
-
|
179
|
-
# Offense count: 4
|
180
|
-
# Cop supports --auto-correct.
|
181
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
182
|
-
Style/MultilineOperationIndentation:
|
183
|
-
Enabled: false
|
184
|
-
|
185
|
-
# Offense count: 2
|
186
|
-
# Cop supports --auto-correct.
|
187
|
-
Style/NegatedIf:
|
188
|
-
Enabled: false
|
189
|
-
|
190
|
-
# Offense count: 1
|
191
|
-
# Cop supports --auto-correct.
|
192
|
-
Style/NumericLiterals:
|
193
|
-
MinDigits: 1000
|
194
|
-
|
195
|
-
# Offense count: 3
|
196
|
-
# Cop supports --auto-correct.
|
197
|
-
# Configuration parameters: PreferredDelimiters.
|
198
|
-
Style/PercentLiteralDelimiters:
|
199
|
-
Enabled: false
|
200
|
-
|
201
|
-
# Offense count: 2
|
202
|
-
# Cop supports --auto-correct.
|
203
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
204
|
-
Style/RedundantReturn:
|
205
|
-
Enabled: false
|
206
|
-
|
207
|
-
# Offense count: 1
|
208
|
-
# Cop supports --auto-correct.
|
209
|
-
Style/RedundantSelf:
|
210
|
-
Enabled: false
|
211
|
-
|
212
|
-
# Offense count: 7
|
213
|
-
# Cop supports --auto-correct.
|
214
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
215
|
-
Style/SignalException:
|
216
|
-
Enabled: false
|
217
|
-
|
218
|
-
# Offense count: 1
|
219
|
-
# Cop supports --auto-correct.
|
220
|
-
Style/SpecialGlobalVars:
|
221
|
-
Enabled: false
|
222
|
-
|
223
|
-
# Offense count: 234
|
224
|
-
# Cop supports --auto-correct.
|
225
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
226
|
-
Style/StringLiterals:
|
227
|
-
Enabled: false
|
228
|
-
|
229
|
-
# Offense count: 1
|
230
|
-
# Cop supports --auto-correct.
|
231
|
-
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
|
232
|
-
Style/TrivialAccessors:
|
233
|
-
Enabled: false
|
234
|
-
|
235
|
-
# Offense count: 1
|
236
|
-
# Cop supports --auto-correct.
|
237
|
-
# Configuration parameters: WordRegex.
|
238
|
-
Style/WordArray:
|
239
|
-
MinSize: 1000
|
1
|
+
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
+
# on 2015-01-19 09:48:24 -0500 using RuboCop version 0.28.0.
|
3
|
+
# The point is for the user to remove these configuration records
|
4
|
+
# one by one as the offenses are removed from the code base.
|
5
|
+
# Note that changes in the inspected code, or installation of new
|
6
|
+
# versions of RuboCop, may require this file to be generated again.
|
7
|
+
|
8
|
+
# Offense count: 1
|
9
|
+
# Configuration parameters: AllowSafeAssignment.
|
10
|
+
Lint/AssignmentInCondition:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
# Offense count: 1
|
14
|
+
# Cop supports --auto-correct.
|
15
|
+
Lint/BlockAlignment:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
# Offense count: 1
|
19
|
+
Lint/LiteralInCondition:
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
# Offense count: 2
|
23
|
+
Lint/RescueException:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
# Offense count: 1
|
27
|
+
Lint/ShadowingOuterLocalVariable:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
# Offense count: 1
|
31
|
+
# Cop supports --auto-correct.
|
32
|
+
Lint/StringConversionInInterpolation:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
# Offense count: 1
|
36
|
+
Lint/UnderscorePrefixedVariableName:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
# Offense count: 2
|
40
|
+
# Cop supports --auto-correct.
|
41
|
+
Lint/UnusedBlockArgument:
|
42
|
+
Enabled: false
|
43
|
+
|
44
|
+
# Offense count: 7
|
45
|
+
# Cop supports --auto-correct.
|
46
|
+
Lint/UnusedMethodArgument:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
# Offense count: 2
|
50
|
+
Lint/UselessAssignment:
|
51
|
+
Enabled: false
|
52
|
+
|
53
|
+
# Offense count: 12
|
54
|
+
Lint/Void:
|
55
|
+
Enabled: false
|
56
|
+
|
57
|
+
# Offense count: 10
|
58
|
+
Metrics/AbcSize:
|
59
|
+
Max: 1000
|
60
|
+
|
61
|
+
# Offense count: 2
|
62
|
+
# Configuration parameters: CountComments.
|
63
|
+
Metrics/ClassLength:
|
64
|
+
Max: 1000
|
65
|
+
|
66
|
+
# Offense count: 5
|
67
|
+
Metrics/CyclomaticComplexity:
|
68
|
+
Max: 1000
|
69
|
+
|
70
|
+
# Offense count: 67
|
71
|
+
# Configuration parameters: AllowURI, URISchemes.
|
72
|
+
Metrics/LineLength:
|
73
|
+
Max: 1000
|
74
|
+
|
75
|
+
# Offense count: 12
|
76
|
+
# Configuration parameters: CountComments.
|
77
|
+
Metrics/MethodLength:
|
78
|
+
Max: 1000
|
79
|
+
|
80
|
+
# Offense count: 3
|
81
|
+
Metrics/PerceivedComplexity:
|
82
|
+
Max: 1000
|
83
|
+
|
84
|
+
# Offense count: 27
|
85
|
+
# Cop supports --auto-correct.
|
86
|
+
Style/Alias:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
# Offense count: 1
|
90
|
+
# Cop supports --auto-correct.
|
91
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
92
|
+
Style/AlignParameters:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
# Offense count: 21
|
96
|
+
# Cop supports --auto-correct.
|
97
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
98
|
+
Style/AndOr:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
# Offense count: 18
|
102
|
+
# Cop supports --auto-correct.
|
103
|
+
Style/Blocks:
|
104
|
+
Enabled: false
|
105
|
+
|
106
|
+
# Offense count: 4
|
107
|
+
# Cop supports --auto-correct.
|
108
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
109
|
+
Style/BracesAroundHashParameters:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
# Offense count: 2
|
113
|
+
# Cop supports --auto-correct.
|
114
|
+
Style/ColonMethodCall:
|
115
|
+
Enabled: false
|
116
|
+
|
117
|
+
# Offense count: 2
|
118
|
+
# Cop supports --auto-correct.
|
119
|
+
Style/CommentIndentation:
|
120
|
+
Enabled: false
|
121
|
+
|
122
|
+
# Offense count: 18
|
123
|
+
Style/Documentation:
|
124
|
+
Enabled: false
|
125
|
+
|
126
|
+
# Offense count: 5
|
127
|
+
Style/DoubleNegation:
|
128
|
+
Enabled: false
|
129
|
+
|
130
|
+
# Offense count: 1
|
131
|
+
Style/EachWithObject:
|
132
|
+
Enabled: false
|
133
|
+
|
134
|
+
# Offense count: 1
|
135
|
+
# Cop supports --auto-correct.
|
136
|
+
Style/ElseAlignment:
|
137
|
+
Enabled: false
|
138
|
+
|
139
|
+
# Offense count: 1
|
140
|
+
# Cop supports --auto-correct.
|
141
|
+
Style/EmptyLiteral:
|
142
|
+
Enabled: false
|
143
|
+
|
144
|
+
# Offense count: 4
|
145
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
146
|
+
Style/FormatString:
|
147
|
+
Enabled: false
|
148
|
+
|
149
|
+
# Offense count: 2
|
150
|
+
# Configuration parameters: MaxLineLength.
|
151
|
+
Style/IfUnlessModifier:
|
152
|
+
Enabled: false
|
153
|
+
|
154
|
+
# Offense count: 6
|
155
|
+
# Cop supports --auto-correct.
|
156
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
157
|
+
Style/IndentHash:
|
158
|
+
Enabled: false
|
159
|
+
|
160
|
+
# Offense count: 2
|
161
|
+
# Cop supports --auto-correct.
|
162
|
+
# Configuration parameters: Width.
|
163
|
+
Style/IndentationWidth:
|
164
|
+
Enabled: false
|
165
|
+
|
166
|
+
# Offense count: 1
|
167
|
+
# Cop supports --auto-correct.
|
168
|
+
Style/InfiniteLoop:
|
169
|
+
Enabled: false
|
170
|
+
|
171
|
+
# Offense count: 5
|
172
|
+
Style/Lambda:
|
173
|
+
Enabled: false
|
174
|
+
|
175
|
+
# Offense count: 1
|
176
|
+
Style/ModuleFunction:
|
177
|
+
Enabled: false
|
178
|
+
|
179
|
+
# Offense count: 4
|
180
|
+
# Cop supports --auto-correct.
|
181
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
182
|
+
Style/MultilineOperationIndentation:
|
183
|
+
Enabled: false
|
184
|
+
|
185
|
+
# Offense count: 2
|
186
|
+
# Cop supports --auto-correct.
|
187
|
+
Style/NegatedIf:
|
188
|
+
Enabled: false
|
189
|
+
|
190
|
+
# Offense count: 1
|
191
|
+
# Cop supports --auto-correct.
|
192
|
+
Style/NumericLiterals:
|
193
|
+
MinDigits: 1000
|
194
|
+
|
195
|
+
# Offense count: 3
|
196
|
+
# Cop supports --auto-correct.
|
197
|
+
# Configuration parameters: PreferredDelimiters.
|
198
|
+
Style/PercentLiteralDelimiters:
|
199
|
+
Enabled: false
|
200
|
+
|
201
|
+
# Offense count: 2
|
202
|
+
# Cop supports --auto-correct.
|
203
|
+
# Configuration parameters: AllowMultipleReturnValues.
|
204
|
+
Style/RedundantReturn:
|
205
|
+
Enabled: false
|
206
|
+
|
207
|
+
# Offense count: 1
|
208
|
+
# Cop supports --auto-correct.
|
209
|
+
Style/RedundantSelf:
|
210
|
+
Enabled: false
|
211
|
+
|
212
|
+
# Offense count: 7
|
213
|
+
# Cop supports --auto-correct.
|
214
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
215
|
+
Style/SignalException:
|
216
|
+
Enabled: false
|
217
|
+
|
218
|
+
# Offense count: 1
|
219
|
+
# Cop supports --auto-correct.
|
220
|
+
Style/SpecialGlobalVars:
|
221
|
+
Enabled: false
|
222
|
+
|
223
|
+
# Offense count: 234
|
224
|
+
# Cop supports --auto-correct.
|
225
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
226
|
+
Style/StringLiterals:
|
227
|
+
Enabled: false
|
228
|
+
|
229
|
+
# Offense count: 1
|
230
|
+
# Cop supports --auto-correct.
|
231
|
+
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
|
232
|
+
Style/TrivialAccessors:
|
233
|
+
Enabled: false
|
234
|
+
|
235
|
+
# Offense count: 1
|
236
|
+
# Cop supports --auto-correct.
|
237
|
+
# Configuration parameters: WordRegex.
|
238
|
+
Style/WordArray:
|
239
|
+
MinSize: 1000
|