gmail 0.5.0 → 0.6.0

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.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +27 -27
  3. data/.rspec +1 -1
  4. data/.rubocop.yml +13 -13
  5. data/.rubocop_todo.yml +239 -239
  6. data/.travis.yml +19 -19
  7. data/CHANGELOG.md +145 -139
  8. data/Gemfile +3 -3
  9. data/LICENSE +21 -21
  10. data/README.md +355 -354
  11. data/Rakefile +46 -46
  12. data/gmail.gemspec +34 -34
  13. data/lib/gmail.rb +78 -78
  14. data/lib/gmail/client.rb +34 -34
  15. data/lib/gmail/client/base.rb +229 -229
  16. data/lib/gmail/client/plain.rb +24 -24
  17. data/lib/gmail/client/xoauth.rb +68 -68
  18. data/lib/gmail/client/xoauth2.rb +39 -39
  19. data/lib/gmail/imap_extensions.rb +159 -150
  20. data/lib/gmail/labels.rb +79 -79
  21. data/lib/gmail/mailbox.rb +175 -135
  22. data/lib/gmail/message.rb +207 -207
  23. data/lib/gmail/version.rb +3 -3
  24. data/spec/account.yml.example +1 -1
  25. data/spec/account.yml.obfus +2 -2
  26. data/spec/gmail/client/base_spec.rb +5 -5
  27. data/spec/gmail/client/plain_spec.rb +169 -168
  28. data/spec/gmail/client/xoauth2_spec.rb +186 -186
  29. data/spec/gmail/client/xoauth_spec.rb +5 -5
  30. data/spec/gmail/client_spec.rb +5 -5
  31. data/spec/gmail/imap_extensions_spec.rb +47 -12
  32. data/spec/gmail/labels_spec.rb +27 -18
  33. data/spec/gmail/mailbox_spec.rb +84 -47
  34. data/spec/gmail/message_spec.rb +181 -181
  35. data/spec/gmail_spec.rb +39 -39
  36. data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +28 -28
  37. data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +28 -28
  38. data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +13 -13
  39. data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +13 -13
  40. data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +42 -42
  41. data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +42 -42
  42. data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  43. data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +13 -13
  44. data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +196 -196
  45. data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +151 -151
  46. data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +146 -146
  47. data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +113 -113
  48. data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +42 -42
  49. data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +42 -42
  50. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +109 -109
  51. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +109 -109
  52. data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  53. data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  54. data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +27 -27
  55. data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +39 -39
  56. data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +39 -39
  57. data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +27 -27
  58. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +15 -15
  59. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +15 -15
  60. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +40 -40
  61. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +40 -40
  62. data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  63. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +116 -116
  64. 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
  65. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +116 -116
  66. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +116 -116
  67. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +116 -116
  68. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +42 -42
  69. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +116 -116
  70. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +116 -116
  71. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +116 -116
  72. data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +277 -277
  73. data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +586 -586
  74. data/spec/recordings/gmail_mailbox/instance/waits_once.yml +136 -0
  75. data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +141 -0
  76. data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +136 -0
  77. data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +207 -0
  78. data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +42 -42
  79. data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +42 -42
  80. data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +578 -578
  81. data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +580 -580
  82. data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +637 -637
  83. data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +682 -682
  84. data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +686 -686
  85. data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +862 -862
  86. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +776 -776
  87. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +776 -776
  88. data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +690 -690
  89. data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +691 -691
  90. data/spec/spec_helper.rb +53 -53
  91. data/spec/support/imap_mock.rb +181 -129
  92. data/spec/support/obfuscation.rb +52 -52
  93. metadata +78 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90b7ae4b3b4c3666bc7232be016a91ae05a7e1bc
4
- data.tar.gz: b86c8c8d608a6c5a7166ae549c159e2c55d4bfb1
3
+ metadata.gz: afccbbf649f71728d76ebb4c7a3423ccefc1f2a7
4
+ data.tar.gz: cc06b8370e2a0749711e4e603263bb043647b85a
5
5
  SHA512:
6
- metadata.gz: 8ccedc507d735bc696cbfbe62846b83245259ecade924e70df330d5df797bd59a8bd21a69a72acc9f8dbe00b311b2ef1e766972e02d903e4f29638bfc2b27a0a
7
- data.tar.gz: 99dcd8b0ddfdd958196f4bba9d19721a54db6bf8c9b96359d2dfcdd04e2e320a3aacf3971c631831d2ba191873a2405b729639dfa29dd2c84e89ca08b5efa80e
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
@@ -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
@@ -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