osa 0.1.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.
- checksums.yaml +7 -0
- data/.dockerignore +195 -0
- data/.gitignore +196 -0
- data/.rubocop.yml +197 -0
- data/Dockerfile +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +86 -0
- data/LICENSE.txt +21 -0
- data/README.md +79 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/osa +19 -0
- data/lib/osa.rb +1 -0
- data/lib/osa/clients/http_client.rb +41 -0
- data/lib/osa/clients/ms_auth_client.rb +36 -0
- data/lib/osa/clients/ms_graph_client.rb +86 -0
- data/lib/osa/migrations/00001_create_blacklists.rb +10 -0
- data/lib/osa/migrations/00002_create_email_providers.rb +21 -0
- data/lib/osa/migrations/00003_create_config.rb +13 -0
- data/lib/osa/migrations/free-email-providers.txt +3782 -0
- data/lib/osa/scripts/scan_junk_folder.rb +38 -0
- data/lib/osa/scripts/scan_report_folder.rb +33 -0
- data/lib/osa/services/auth_service.rb +56 -0
- data/lib/osa/services/setup_service.rb +27 -0
- data/lib/osa/util/constants.rb +7 -0
- data/lib/osa/util/context.rb +28 -0
- data/lib/osa/util/db.rb +22 -0
- data/lib/osa/util/paginated.rb +31 -0
- data/lib/osa/version.rb +3 -0
- data/osa.gemspec +28 -0
- data/release.sh +23 -0
- data/web/login.html +14 -0
- metadata +146 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d4ad6f3864c9196aff9026ad350f71c7904c27817dbd0217bf6008885830ac15
|
4
|
+
data.tar.gz: fe44a6e9d98590eb231c04c794327ca1132feaf9d13d556563fe900ec5bce190
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c9dfa0f4cf44acf3ca08654f670cdca47a7a9ae7c681dfea0b9b9ddb6acf064a9b88c98dd325e449e9efa23647fc663cb407a4ec19a1fdd4e86df1a556fe467e
|
7
|
+
data.tar.gz: 1f32dbf2f0cbf9373788100ca8f99579be14732cf86c91ce45c443d9ae67476d762eae81b7b9d3b5243b97011dd066df713f72dd8002ab53d32d9e27f145999f
|
data/.dockerignore
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
|
+
|
10
|
+
# Created by https://www.toptal.com/developers/gitignore/api/ruby,rubymine+all,macos
|
11
|
+
# Edit at https://www.toptal.com/developers/gitignore?templates=ruby,rubymine+all,macos
|
12
|
+
|
13
|
+
### macOS ###
|
14
|
+
# General
|
15
|
+
.DS_Store
|
16
|
+
.AppleDouble
|
17
|
+
.LSOverride
|
18
|
+
|
19
|
+
# Icon must end with two \r
|
20
|
+
Icon
|
21
|
+
|
22
|
+
|
23
|
+
# Thumbnails
|
24
|
+
._*
|
25
|
+
|
26
|
+
# Files that might appear in the root of a volume
|
27
|
+
.DocumentRevisions-V100
|
28
|
+
.fseventsd
|
29
|
+
.Spotlight-V100
|
30
|
+
.TemporaryItems
|
31
|
+
.Trashes
|
32
|
+
.VolumeIcon.icns
|
33
|
+
.com.apple.timemachine.donotpresent
|
34
|
+
|
35
|
+
# Directories potentially created on remote AFP share
|
36
|
+
.AppleDB
|
37
|
+
.AppleDesktop
|
38
|
+
Network Trash Folder
|
39
|
+
Temporary Items
|
40
|
+
.apdisk
|
41
|
+
|
42
|
+
### Ruby ###
|
43
|
+
*.gem
|
44
|
+
*.rbc
|
45
|
+
/.config
|
46
|
+
/coverage/
|
47
|
+
/InstalledFiles
|
48
|
+
/pkg/
|
49
|
+
/spec/reports/
|
50
|
+
/spec/examples.txt
|
51
|
+
/test/tmp/
|
52
|
+
/test/version_tmp/
|
53
|
+
/tmp/
|
54
|
+
|
55
|
+
# Used by dotenv library to load environment variables.
|
56
|
+
# .env
|
57
|
+
|
58
|
+
# Ignore Byebug command history file.
|
59
|
+
.byebug_history
|
60
|
+
|
61
|
+
## Specific to RubyMotion:
|
62
|
+
.dat*
|
63
|
+
.repl_history
|
64
|
+
build/
|
65
|
+
*.bridgesupport
|
66
|
+
build-iPhoneOS/
|
67
|
+
build-iPhoneSimulator/
|
68
|
+
|
69
|
+
## Specific to RubyMotion (use of CocoaPods):
|
70
|
+
#
|
71
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
72
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
73
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
74
|
+
# vendor/Pods/
|
75
|
+
|
76
|
+
## Documentation cache and generated files:
|
77
|
+
/.yardoc/
|
78
|
+
/_yardoc/
|
79
|
+
/doc/
|
80
|
+
/rdoc/
|
81
|
+
|
82
|
+
## Environment normalization:
|
83
|
+
/.bundle/
|
84
|
+
/vendor/bundle
|
85
|
+
/lib/bundler/man/
|
86
|
+
|
87
|
+
# for a library or gem, you might want to ignore these files since the code is
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
89
|
+
# Gemfile.lock
|
90
|
+
# .ruby-version
|
91
|
+
# .ruby-gemset
|
92
|
+
|
93
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
94
|
+
.rvmrc
|
95
|
+
|
96
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
97
|
+
# .rubocop-https?--*
|
98
|
+
|
99
|
+
### Ruby Patch ###
|
100
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
101
|
+
# .rubocop-https?--*
|
102
|
+
|
103
|
+
### RubyMine+all ###
|
104
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
105
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
106
|
+
|
107
|
+
# User-specific stuff
|
108
|
+
.idea/**/workspace.xml
|
109
|
+
.idea/**/tasks.xml
|
110
|
+
.idea/**/usage.statistics.xml
|
111
|
+
.idea/**/dictionaries
|
112
|
+
.idea/**/shelf
|
113
|
+
|
114
|
+
# Generated files
|
115
|
+
.idea/**/contentModel.xml
|
116
|
+
|
117
|
+
# Sensitive or high-churn files
|
118
|
+
.idea/**/dataSources/
|
119
|
+
.idea/**/dataSources.ids
|
120
|
+
.idea/**/dataSources.local.xml
|
121
|
+
.idea/**/sqlDataSources.xml
|
122
|
+
.idea/**/dynamic.xml
|
123
|
+
.idea/**/uiDesigner.xml
|
124
|
+
.idea/**/dbnavigator.xml
|
125
|
+
|
126
|
+
# Gradle
|
127
|
+
.idea/**/gradle.xml
|
128
|
+
.idea/**/libraries
|
129
|
+
|
130
|
+
# Gradle and Maven with auto-import
|
131
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
132
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
133
|
+
# auto-import.
|
134
|
+
# .idea/artifacts
|
135
|
+
# .idea/compiler.xml
|
136
|
+
# .idea/jarRepositories.xml
|
137
|
+
# .idea/modules.xml
|
138
|
+
# .idea/*.iml
|
139
|
+
# .idea/modules
|
140
|
+
# *.iml
|
141
|
+
# *.ipr
|
142
|
+
|
143
|
+
# CMake
|
144
|
+
cmake-build-*/
|
145
|
+
|
146
|
+
# Mongo Explorer plugin
|
147
|
+
.idea/**/mongoSettings.xml
|
148
|
+
|
149
|
+
# File-based project format
|
150
|
+
*.iws
|
151
|
+
|
152
|
+
# IntelliJ
|
153
|
+
out/
|
154
|
+
|
155
|
+
# mpeltonen/sbt-idea plugin
|
156
|
+
.idea_modules/
|
157
|
+
|
158
|
+
# JIRA plugin
|
159
|
+
atlassian-ide-plugin.xml
|
160
|
+
|
161
|
+
# Cursive Clojure plugin
|
162
|
+
.idea/replstate.xml
|
163
|
+
|
164
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
165
|
+
com_crashlytics_export_strings.xml
|
166
|
+
crashlytics.properties
|
167
|
+
crashlytics-build.properties
|
168
|
+
fabric.properties
|
169
|
+
|
170
|
+
# Editor-based Rest Client
|
171
|
+
.idea/httpRequests
|
172
|
+
|
173
|
+
# Android studio 3.1+ serialized cache file
|
174
|
+
.idea/caches/build_file_checksums.ser
|
175
|
+
|
176
|
+
### RubyMine+all Patch ###
|
177
|
+
# Ignores the whole .idea folder and all .iml files
|
178
|
+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
|
179
|
+
|
180
|
+
.idea/
|
181
|
+
|
182
|
+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
|
183
|
+
|
184
|
+
*.iml
|
185
|
+
modules.xml
|
186
|
+
.idea/misc.xml
|
187
|
+
*.ipr
|
188
|
+
|
189
|
+
# Sonarlint plugin
|
190
|
+
.idea/sonarlint
|
191
|
+
|
192
|
+
# End of https://www.toptal.com/developers/gitignore/api/ruby,rubymine+all,macos
|
193
|
+
|
194
|
+
*.db
|
195
|
+
*.db.*
|
data/.gitignore
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
|
+
|
10
|
+
# Created by https://www.toptal.com/developers/gitignore/api/ruby,rubymine+all,macos
|
11
|
+
# Edit at https://www.toptal.com/developers/gitignore?templates=ruby,rubymine+all,macos
|
12
|
+
|
13
|
+
### macOS ###
|
14
|
+
# General
|
15
|
+
.DS_Store
|
16
|
+
.AppleDouble
|
17
|
+
.LSOverride
|
18
|
+
|
19
|
+
# Icon must end with two \r
|
20
|
+
Icon
|
21
|
+
|
22
|
+
|
23
|
+
# Thumbnails
|
24
|
+
._*
|
25
|
+
|
26
|
+
# Files that might appear in the root of a volume
|
27
|
+
.DocumentRevisions-V100
|
28
|
+
.fseventsd
|
29
|
+
.Spotlight-V100
|
30
|
+
.TemporaryItems
|
31
|
+
.Trashes
|
32
|
+
.VolumeIcon.icns
|
33
|
+
.com.apple.timemachine.donotpresent
|
34
|
+
|
35
|
+
# Directories potentially created on remote AFP share
|
36
|
+
.AppleDB
|
37
|
+
.AppleDesktop
|
38
|
+
Network Trash Folder
|
39
|
+
Temporary Items
|
40
|
+
.apdisk
|
41
|
+
|
42
|
+
### Ruby ###
|
43
|
+
*.gem
|
44
|
+
*.rbc
|
45
|
+
/.config
|
46
|
+
/coverage/
|
47
|
+
/InstalledFiles
|
48
|
+
/pkg/
|
49
|
+
/spec/reports/
|
50
|
+
/spec/examples.txt
|
51
|
+
/test/tmp/
|
52
|
+
/test/version_tmp/
|
53
|
+
/tmp/
|
54
|
+
|
55
|
+
# Used by dotenv library to load environment variables.
|
56
|
+
# .env
|
57
|
+
|
58
|
+
# Ignore Byebug command history file.
|
59
|
+
.byebug_history
|
60
|
+
|
61
|
+
## Specific to RubyMotion:
|
62
|
+
.dat*
|
63
|
+
.repl_history
|
64
|
+
build/
|
65
|
+
*.bridgesupport
|
66
|
+
build-iPhoneOS/
|
67
|
+
build-iPhoneSimulator/
|
68
|
+
|
69
|
+
## Specific to RubyMotion (use of CocoaPods):
|
70
|
+
#
|
71
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
72
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
73
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
74
|
+
# vendor/Pods/
|
75
|
+
|
76
|
+
## Documentation cache and generated files:
|
77
|
+
/.yardoc/
|
78
|
+
/_yardoc/
|
79
|
+
/doc/
|
80
|
+
/rdoc/
|
81
|
+
|
82
|
+
## Environment normalization:
|
83
|
+
/.bundle/
|
84
|
+
/vendor/bundle
|
85
|
+
/lib/bundler/man/
|
86
|
+
|
87
|
+
# for a library or gem, you might want to ignore these files since the code is
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
89
|
+
# Gemfile.lock
|
90
|
+
# .ruby-version
|
91
|
+
# .ruby-gemset
|
92
|
+
|
93
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
94
|
+
.rvmrc
|
95
|
+
|
96
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
97
|
+
# .rubocop-https?--*
|
98
|
+
|
99
|
+
### Ruby Patch ###
|
100
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
101
|
+
# .rubocop-https?--*
|
102
|
+
|
103
|
+
### RubyMine+all ###
|
104
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
105
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
106
|
+
|
107
|
+
# User-specific stuff
|
108
|
+
.idea/**/workspace.xml
|
109
|
+
.idea/**/tasks.xml
|
110
|
+
.idea/**/usage.statistics.xml
|
111
|
+
.idea/**/dictionaries
|
112
|
+
.idea/**/shelf
|
113
|
+
|
114
|
+
# Generated files
|
115
|
+
.idea/**/contentModel.xml
|
116
|
+
|
117
|
+
# Sensitive or high-churn files
|
118
|
+
.idea/**/dataSources/
|
119
|
+
.idea/**/dataSources.ids
|
120
|
+
.idea/**/dataSources.local.xml
|
121
|
+
.idea/**/sqlDataSources.xml
|
122
|
+
.idea/**/dynamic.xml
|
123
|
+
.idea/**/uiDesigner.xml
|
124
|
+
.idea/**/dbnavigator.xml
|
125
|
+
|
126
|
+
# Gradle
|
127
|
+
.idea/**/gradle.xml
|
128
|
+
.idea/**/libraries
|
129
|
+
|
130
|
+
# Gradle and Maven with auto-import
|
131
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
132
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
133
|
+
# auto-import.
|
134
|
+
# .idea/artifacts
|
135
|
+
# .idea/compiler.xml
|
136
|
+
# .idea/jarRepositories.xml
|
137
|
+
# .idea/modules.xml
|
138
|
+
# .idea/*.iml
|
139
|
+
# .idea/modules
|
140
|
+
# *.iml
|
141
|
+
# *.ipr
|
142
|
+
|
143
|
+
# CMake
|
144
|
+
cmake-build-*/
|
145
|
+
|
146
|
+
# Mongo Explorer plugin
|
147
|
+
.idea/**/mongoSettings.xml
|
148
|
+
|
149
|
+
# File-based project format
|
150
|
+
*.iws
|
151
|
+
|
152
|
+
# IntelliJ
|
153
|
+
out/
|
154
|
+
|
155
|
+
# mpeltonen/sbt-idea plugin
|
156
|
+
.idea_modules/
|
157
|
+
|
158
|
+
# JIRA plugin
|
159
|
+
atlassian-ide-plugin.xml
|
160
|
+
|
161
|
+
# Cursive Clojure plugin
|
162
|
+
.idea/replstate.xml
|
163
|
+
|
164
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
165
|
+
com_crashlytics_export_strings.xml
|
166
|
+
crashlytics.properties
|
167
|
+
crashlytics-build.properties
|
168
|
+
fabric.properties
|
169
|
+
|
170
|
+
# Editor-based Rest Client
|
171
|
+
.idea/httpRequests
|
172
|
+
|
173
|
+
# Android studio 3.1+ serialized cache file
|
174
|
+
.idea/caches/build_file_checksums.ser
|
175
|
+
|
176
|
+
### RubyMine+all Patch ###
|
177
|
+
# Ignores the whole .idea folder and all .iml files
|
178
|
+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
|
179
|
+
|
180
|
+
.idea/
|
181
|
+
|
182
|
+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
|
183
|
+
|
184
|
+
*.iml
|
185
|
+
modules.xml
|
186
|
+
.idea/misc.xml
|
187
|
+
*.ipr
|
188
|
+
|
189
|
+
# Sonarlint plugin
|
190
|
+
.idea/sonarlint
|
191
|
+
|
192
|
+
# End of https://www.toptal.com/developers/gitignore/api/ruby,rubymine+all,macos
|
193
|
+
|
194
|
+
*.db
|
195
|
+
*.db.*
|
196
|
+
*.gem
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
TargetRubyVersion: 2.7
|
6
|
+
DisabledByDefault: true
|
7
|
+
Exclude:
|
8
|
+
- '**/vendor/**/*'
|
9
|
+
|
10
|
+
Bundler/DuplicatedGem:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Bundler/InsecureProtocolSource:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Bundler/OrderedGems:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
# Prefer &&/|| over and/or.
|
20
|
+
Style/AndOr:
|
21
|
+
Enabled: true
|
22
|
+
|
23
|
+
# Align `when` with `case`.
|
24
|
+
Layout/CaseIndentation:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
# Align comments with method definitions.
|
28
|
+
Layout/CommentIndentation:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
# No extra empty lines.
|
32
|
+
Layout/EmptyLines:
|
33
|
+
Enabled: true
|
34
|
+
|
35
|
+
# In a regular class definition, no empty lines around the body.
|
36
|
+
Layout/EmptyLinesAroundClassBody:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
# In a regular method definition, no empty lines around the body.
|
40
|
+
Layout/EmptyLinesAroundMethodBody:
|
41
|
+
Enabled: true
|
42
|
+
|
43
|
+
# In a regular module definition, no empty lines around the body.
|
44
|
+
Layout/EmptyLinesAroundModuleBody:
|
45
|
+
Enabled: true
|
46
|
+
|
47
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
48
|
+
Style/HashSyntax:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
# Method definitions after `private` or `protected` isolated calls need one
|
52
|
+
# extra level of indentation.
|
53
|
+
Layout/IndentationConsistency:
|
54
|
+
Enabled: true
|
55
|
+
EnforcedStyle: indented_internal_methods
|
56
|
+
|
57
|
+
# Two spaces, no tabs (for indentation).
|
58
|
+
Layout/IndentationWidth:
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
Layout/SpaceAfterColon:
|
62
|
+
Enabled: true
|
63
|
+
|
64
|
+
Layout/SpaceAfterComma:
|
65
|
+
Enabled: true
|
66
|
+
|
67
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
68
|
+
Enabled: true
|
69
|
+
|
70
|
+
Layout/SpaceAroundKeyword:
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
Layout/SpaceAroundOperators:
|
74
|
+
Enabled: true
|
75
|
+
|
76
|
+
Layout/SpaceBeforeFirstArg:
|
77
|
+
Enabled: true
|
78
|
+
|
79
|
+
# Defining a method with parameters needs parentheses.
|
80
|
+
Style/MethodDefParentheses:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
# Use `foo {}` not `foo{}`.
|
84
|
+
Layout/SpaceBeforeBlockBraces:
|
85
|
+
Enabled: true
|
86
|
+
|
87
|
+
# Use `foo { bar }` not `foo {bar}`.
|
88
|
+
Layout/SpaceInsideBlockBraces:
|
89
|
+
Enabled: true
|
90
|
+
|
91
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
92
|
+
Layout/SpaceInsideHashLiteralBraces:
|
93
|
+
Enabled: true
|
94
|
+
|
95
|
+
Layout/SpaceInsideParens:
|
96
|
+
Enabled: true
|
97
|
+
|
98
|
+
Style/FrozenStringLiteralComment:
|
99
|
+
Enabled: true
|
100
|
+
|
101
|
+
# Check quotes usage according to lint rule below.
|
102
|
+
Style/StringLiterals:
|
103
|
+
Enabled: true
|
104
|
+
EnforcedStyle: single_quotes
|
105
|
+
|
106
|
+
# Detect hard tabs, no hard tabs.
|
107
|
+
Layout/IndentationStyle:
|
108
|
+
Enabled: true
|
109
|
+
|
110
|
+
# Blank lines should not have any spaces.
|
111
|
+
Layout/TrailingEmptyLines:
|
112
|
+
Enabled: true
|
113
|
+
|
114
|
+
# No trailing whitespace.
|
115
|
+
Layout/TrailingWhitespace:
|
116
|
+
Enabled: true
|
117
|
+
|
118
|
+
# Use quotes for string literals when they are enough.
|
119
|
+
Style/RedundantPercentQ:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
123
|
+
Lint/RequireParentheses:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
Performance/Casecmp:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Performance/ChainArrayAllocation:
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Performance/CompareWithBlock:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Performance/Count:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
Performance/Detect:
|
139
|
+
Enabled: true
|
140
|
+
|
141
|
+
Performance/DoubleStartEndWith:
|
142
|
+
Enabled: true
|
143
|
+
|
144
|
+
Performance/EndWith:
|
145
|
+
Enabled: true
|
146
|
+
|
147
|
+
Performance/FixedSize:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
Performance/InefficientHashSearch:
|
151
|
+
Enabled: true
|
152
|
+
|
153
|
+
Performance/OpenStruct:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
Performance/RedundantBlockCall:
|
157
|
+
Enabled: true
|
158
|
+
|
159
|
+
Performance/RedundantMatch:
|
160
|
+
Enabled: true
|
161
|
+
|
162
|
+
Performance/RedundantMerge:
|
163
|
+
Enabled: true
|
164
|
+
|
165
|
+
Performance/RegexpMatch:
|
166
|
+
Enabled: true
|
167
|
+
|
168
|
+
Performance/ReverseEach:
|
169
|
+
Enabled: true
|
170
|
+
|
171
|
+
Performance/StartWith:
|
172
|
+
Enabled: true
|
173
|
+
|
174
|
+
Performance/StringReplacement:
|
175
|
+
Enabled: true
|
176
|
+
|
177
|
+
Performance/TimesMap:
|
178
|
+
Enabled: true
|
179
|
+
|
180
|
+
Performance/UriDefaultParser:
|
181
|
+
Enabled: true
|
182
|
+
|
183
|
+
Security/Eval:
|
184
|
+
Enabled: true
|
185
|
+
|
186
|
+
Security/JSONLoad:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
Security/MarshalLoad:
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
Security/Open:
|
193
|
+
Enabled: true
|
194
|
+
|
195
|
+
Security/YAMLLoad:
|
196
|
+
Enabled: true
|
197
|
+
|