gitlab-ci-lint 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +12 -12
- data/.editorconfig +17 -17
- data/.gitignore +215 -215
- data/.gitlab-ci.yml +72 -72
- data/CHANGELOG.md +39 -39
- data/Dockerfile +35 -35
- data/Gemfile +16 -16
- data/Makefile +50 -50
- data/README.md +213 -213
- data/bin/console +6 -6
- data/bin/setup +5 -5
- data/docker-compose.yml +45 -45
- data/docs/annotations/replace.md +128 -128
- data/exemple/lint.rb +14 -14
- data/gitlab.gemspec +34 -34
- data/lib/gitlab/ci/lint.rb +43 -43
- data/lib/gitlab/ci/lint/actions.rb +20 -20
- data/lib/gitlab/ci/lint/arguments.rb +10 -6
- data/lib/gitlab/ci/lint/client.rb +1 -1
- data/lib/gitlab/ci/lint/colors.rb +26 -26
- data/lib/gitlab/ci/lint/configuration.rb +28 -28
- data/lib/gitlab/ci/lint/log.rb +54 -54
- data/lib/gitlab/ci/lint/multio.rb +20 -20
- data/lib/gitlab/ci/lint/serializer.rb +55 -55
- data/lib/gitlab/ci/lint/system.rb +22 -22
- data/lib/gitlab/ci/lint/version.rb +1 -1
- data/lib/gitlab/ci/lint/yml.rb +47 -47
- data/spec/gitlab/ci/lint/spec.rb +5 -5
- data/values.yml +10 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24fcfec55b5259161aeb0a2b3167926a88c7ca2aca39a873a1e21d3e8d87d1eb
|
4
|
+
data.tar.gz: 56a27e432e97d86d1cc2edadfdfd4cf99bd909f8dde5abbef00c74e106dacef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3625bb8779241a6033c5d68e916e26e57198363f1523ace6ae4e8b0199bda80a51aeef7343d8c6537fa5e2b1ae9bb802686c9a7510e6a7f01f7440b3e70c6bc8
|
7
|
+
data.tar.gz: f88d6a552745daf26081caa0173218f0f2c13c140a52d6af1888e688310e9acddea933b7cf3aae87365c26c5f89ed1a027d362d52d04c860ddb349b579a27001
|
data/.dockerignore
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
Gemfile.lock
|
2
|
-
.env
|
3
|
-
.dockerignore
|
4
|
-
.editorconfig
|
5
|
-
.gitignore
|
6
|
-
.rspec_status
|
7
|
-
docker-compose.yml
|
8
|
-
Dockerfile
|
9
|
-
file.log
|
10
|
-
*.gem
|
11
|
-
LICENSE
|
12
|
-
*.md
|
1
|
+
Gemfile.lock
|
2
|
+
.env
|
3
|
+
.dockerignore
|
4
|
+
.editorconfig
|
5
|
+
.gitignore
|
6
|
+
.rspec_status
|
7
|
+
docker-compose.yml
|
8
|
+
Dockerfile
|
9
|
+
file.log
|
10
|
+
*.gem
|
11
|
+
LICENSE
|
12
|
+
*.md
|
data/.editorconfig
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
# http://editorconfig.org
|
2
|
-
|
3
|
-
root = true
|
4
|
-
|
5
|
-
[*]
|
6
|
-
indent_style = space
|
7
|
-
indent_size = 2
|
8
|
-
insert_final_newline = true
|
9
|
-
trim_trailing_whitespace = true
|
10
|
-
end_of_line = lf
|
11
|
-
charset = utf-8
|
12
|
-
|
13
|
-
[*.yaml,*.yml]
|
14
|
-
indent_size = 2
|
15
|
-
|
16
|
-
[CHANGELOG.md]
|
17
|
-
indent_size = false
|
1
|
+
# http://editorconfig.org
|
2
|
+
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
indent_style = space
|
7
|
+
indent_size = 2
|
8
|
+
insert_final_newline = true
|
9
|
+
trim_trailing_whitespace = true
|
10
|
+
end_of_line = lf
|
11
|
+
charset = utf-8
|
12
|
+
|
13
|
+
[*.yaml,*.yml]
|
14
|
+
indent_size = 2
|
15
|
+
|
16
|
+
[CHANGELOG.md]
|
17
|
+
indent_size = false
|
data/.gitignore
CHANGED
@@ -1,215 +1,215 @@
|
|
1
|
-
|
2
|
-
# Created by https://www.gitignore.io/api/ruby,rails,rubymine
|
3
|
-
# Edit at https://www.gitignore.io/?templates=ruby,rails,rubymine
|
4
|
-
|
5
|
-
### Rails ###
|
6
|
-
*.rbc
|
7
|
-
capybara-*.html
|
8
|
-
.rspec
|
9
|
-
/db/*.sqlite3
|
10
|
-
/db/*.sqlite3-journal
|
11
|
-
/public/system
|
12
|
-
/coverage/
|
13
|
-
/spec/tmp
|
14
|
-
*.orig
|
15
|
-
rerun.txt
|
16
|
-
pickle-email-*.html
|
17
|
-
|
18
|
-
# Ignore all logfiles and tempfiles.
|
19
|
-
/log/*
|
20
|
-
/tmp/*
|
21
|
-
!/log/.keep
|
22
|
-
!/tmp/.keep
|
23
|
-
|
24
|
-
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
|
25
|
-
config/initializers/secret_token.rb
|
26
|
-
config/master.key
|
27
|
-
|
28
|
-
# Only include if you have production secrets in this file, which is no longer a Rails default
|
29
|
-
# config/secrets.yml
|
30
|
-
|
31
|
-
file.log
|
32
|
-
|
33
|
-
# dotenv
|
34
|
-
# TODO Comment out this rule if environment variables can be committed
|
35
|
-
.env
|
36
|
-
|
37
|
-
## Environment normalization:
|
38
|
-
/.bundle
|
39
|
-
/vendor/bundle
|
40
|
-
|
41
|
-
# these should all be checked in to normalize the environment:
|
42
|
-
# Gemfile.lock, .ruby-version, .ruby-gemset
|
43
|
-
|
44
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
45
|
-
.rvmrc
|
46
|
-
|
47
|
-
# if using bower-rails ignore default bower_components path bower.json files
|
48
|
-
/vendor/assets/bower_components
|
49
|
-
*.bowerrc
|
50
|
-
bower.json
|
51
|
-
|
52
|
-
# Ignore pow environment settings
|
53
|
-
.powenv
|
54
|
-
|
55
|
-
# Ignore Byebug command history file.
|
56
|
-
.byebug_history
|
57
|
-
|
58
|
-
# Ignore node_modules
|
59
|
-
node_modules/
|
60
|
-
|
61
|
-
# Ignore precompiled javascript packs
|
62
|
-
/public/packs
|
63
|
-
/public/packs-test
|
64
|
-
/public/assets
|
65
|
-
|
66
|
-
# Ignore yarn files
|
67
|
-
/yarn-error.log
|
68
|
-
yarn-debug.log*
|
69
|
-
.yarn-integrity
|
70
|
-
|
71
|
-
# Ignore uploaded files in development
|
72
|
-
/storage/*
|
73
|
-
!/storage/.keep
|
74
|
-
|
75
|
-
### Ruby ###
|
76
|
-
*.gem
|
77
|
-
/.config
|
78
|
-
/InstalledFiles
|
79
|
-
/pkg/
|
80
|
-
/spec/reports/
|
81
|
-
/spec/examples.txt
|
82
|
-
/test/tmp/
|
83
|
-
/test/version_tmp/
|
84
|
-
/tmp/
|
85
|
-
|
86
|
-
# Used by dotenv library to load environment variables.
|
87
|
-
# .env
|
88
|
-
|
89
|
-
# Ignore Byebug command history file.
|
90
|
-
|
91
|
-
## Specific to RubyMotion:
|
92
|
-
.dat*
|
93
|
-
.repl_history
|
94
|
-
build/
|
95
|
-
*.bridgesupport
|
96
|
-
build-iPhoneOS/
|
97
|
-
build-iPhoneSimulator/
|
98
|
-
|
99
|
-
## Specific to RubyMotion (use of CocoaPods):
|
100
|
-
#
|
101
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
102
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
103
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
104
|
-
# vendor/Pods/
|
105
|
-
|
106
|
-
## Documentation cache and generated files:
|
107
|
-
/.yardoc/
|
108
|
-
/_yardoc/
|
109
|
-
/doc/
|
110
|
-
/rdoc/
|
111
|
-
|
112
|
-
/.bundle/
|
113
|
-
/lib/bundler/man/
|
114
|
-
|
115
|
-
# for a library or gem, you might want to ignore these files since the code is
|
116
|
-
# intended to run in multiple environments; otherwise, check them in:
|
117
|
-
Gemfile.lock
|
118
|
-
.ruby-version
|
119
|
-
.ruby-gemset
|
120
|
-
|
121
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
122
|
-
|
123
|
-
### Ruby Patch ###
|
124
|
-
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
125
|
-
.rubocop-https?--*
|
126
|
-
|
127
|
-
### RubyMine ###
|
128
|
-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
129
|
-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
130
|
-
|
131
|
-
# User-specific stuff
|
132
|
-
.idea/**/workspace.xml
|
133
|
-
.idea/**/tasks.xml
|
134
|
-
.idea/**/usage.statistics.xml
|
135
|
-
.idea/**/dictionaries
|
136
|
-
.idea/**/shelf
|
137
|
-
|
138
|
-
# Generated files
|
139
|
-
.idea/**/contentModel.xml
|
140
|
-
|
141
|
-
# Sensitive or high-churn files
|
142
|
-
.idea/**/dataSources/
|
143
|
-
.idea/**/dataSources.ids
|
144
|
-
.idea/**/dataSources.local.xml
|
145
|
-
.idea/**/sqlDataSources.xml
|
146
|
-
.idea/**/dynamic.xml
|
147
|
-
.idea/**/uiDesigner.xml
|
148
|
-
.idea/**/dbnavigator.xml
|
149
|
-
|
150
|
-
# Gradle
|
151
|
-
.idea/**/gradle.xml
|
152
|
-
.idea/**/libraries
|
153
|
-
|
154
|
-
# Gradle and Maven with auto-import
|
155
|
-
# When using Gradle or Maven with auto-import, you should exclude module files,
|
156
|
-
# since they will be recreated, and may cause churn. Uncomment if using
|
157
|
-
# auto-import.
|
158
|
-
# .idea/modules.xml
|
159
|
-
# .idea/*.iml
|
160
|
-
# .idea/modules
|
161
|
-
# *.iml
|
162
|
-
# *.ipr
|
163
|
-
|
164
|
-
# CMake
|
165
|
-
cmake-build-*/
|
166
|
-
|
167
|
-
# Mongo Explorer plugin
|
168
|
-
.idea/**/mongoSettings.xml
|
169
|
-
|
170
|
-
# File-based project format
|
171
|
-
*.iws
|
172
|
-
|
173
|
-
# IntelliJ
|
174
|
-
out/
|
175
|
-
|
176
|
-
# mpeltonen/sbt-idea plugin
|
177
|
-
.idea_modules/
|
178
|
-
|
179
|
-
# JIRA plugin
|
180
|
-
atlassian-ide-plugin.xml
|
181
|
-
|
182
|
-
# Cursive Clojure plugin
|
183
|
-
.idea/replstate.xml
|
184
|
-
|
185
|
-
# Crashlytics plugin (for Android Studio and IntelliJ)
|
186
|
-
com_crashlytics_export_strings.xml
|
187
|
-
crashlytics.properties
|
188
|
-
crashlytics-build.properties
|
189
|
-
fabric.properties
|
190
|
-
|
191
|
-
# Editor-based Rest Client
|
192
|
-
.idea/httpRequests
|
193
|
-
|
194
|
-
# Android studio 3.1+ serialized cache file
|
195
|
-
.idea/caches/build_file_checksums.ser
|
196
|
-
|
197
|
-
### RubyMine Patch ###
|
198
|
-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
199
|
-
|
200
|
-
# *.iml
|
201
|
-
# modules.xml
|
202
|
-
# .idea/misc.xml
|
203
|
-
# *.ipr
|
204
|
-
|
205
|
-
# Sonarlint plugin
|
206
|
-
.idea/**/sonarlint/
|
207
|
-
|
208
|
-
# SonarQube Plugin
|
209
|
-
.idea/**/sonarIssues.xml
|
210
|
-
|
211
|
-
# Markdown Navigator plugin
|
212
|
-
.idea/**/markdown-navigator.xml
|
213
|
-
.idea/**/markdown-navigator/
|
214
|
-
|
215
|
-
# End of https://www.gitignore.io/api/ruby,rails,rubymine
|
1
|
+
|
2
|
+
# Created by https://www.gitignore.io/api/ruby,rails,rubymine
|
3
|
+
# Edit at https://www.gitignore.io/?templates=ruby,rails,rubymine
|
4
|
+
|
5
|
+
### Rails ###
|
6
|
+
*.rbc
|
7
|
+
capybara-*.html
|
8
|
+
.rspec
|
9
|
+
/db/*.sqlite3
|
10
|
+
/db/*.sqlite3-journal
|
11
|
+
/public/system
|
12
|
+
/coverage/
|
13
|
+
/spec/tmp
|
14
|
+
*.orig
|
15
|
+
rerun.txt
|
16
|
+
pickle-email-*.html
|
17
|
+
|
18
|
+
# Ignore all logfiles and tempfiles.
|
19
|
+
/log/*
|
20
|
+
/tmp/*
|
21
|
+
!/log/.keep
|
22
|
+
!/tmp/.keep
|
23
|
+
|
24
|
+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
|
25
|
+
config/initializers/secret_token.rb
|
26
|
+
config/master.key
|
27
|
+
|
28
|
+
# Only include if you have production secrets in this file, which is no longer a Rails default
|
29
|
+
# config/secrets.yml
|
30
|
+
|
31
|
+
file.log
|
32
|
+
|
33
|
+
# dotenv
|
34
|
+
# TODO Comment out this rule if environment variables can be committed
|
35
|
+
.env
|
36
|
+
|
37
|
+
## Environment normalization:
|
38
|
+
/.bundle
|
39
|
+
/vendor/bundle
|
40
|
+
|
41
|
+
# these should all be checked in to normalize the environment:
|
42
|
+
# Gemfile.lock, .ruby-version, .ruby-gemset
|
43
|
+
|
44
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
45
|
+
.rvmrc
|
46
|
+
|
47
|
+
# if using bower-rails ignore default bower_components path bower.json files
|
48
|
+
/vendor/assets/bower_components
|
49
|
+
*.bowerrc
|
50
|
+
bower.json
|
51
|
+
|
52
|
+
# Ignore pow environment settings
|
53
|
+
.powenv
|
54
|
+
|
55
|
+
# Ignore Byebug command history file.
|
56
|
+
.byebug_history
|
57
|
+
|
58
|
+
# Ignore node_modules
|
59
|
+
node_modules/
|
60
|
+
|
61
|
+
# Ignore precompiled javascript packs
|
62
|
+
/public/packs
|
63
|
+
/public/packs-test
|
64
|
+
/public/assets
|
65
|
+
|
66
|
+
# Ignore yarn files
|
67
|
+
/yarn-error.log
|
68
|
+
yarn-debug.log*
|
69
|
+
.yarn-integrity
|
70
|
+
|
71
|
+
# Ignore uploaded files in development
|
72
|
+
/storage/*
|
73
|
+
!/storage/.keep
|
74
|
+
|
75
|
+
### Ruby ###
|
76
|
+
*.gem
|
77
|
+
/.config
|
78
|
+
/InstalledFiles
|
79
|
+
/pkg/
|
80
|
+
/spec/reports/
|
81
|
+
/spec/examples.txt
|
82
|
+
/test/tmp/
|
83
|
+
/test/version_tmp/
|
84
|
+
/tmp/
|
85
|
+
|
86
|
+
# Used by dotenv library to load environment variables.
|
87
|
+
# .env
|
88
|
+
|
89
|
+
# Ignore Byebug command history file.
|
90
|
+
|
91
|
+
## Specific to RubyMotion:
|
92
|
+
.dat*
|
93
|
+
.repl_history
|
94
|
+
build/
|
95
|
+
*.bridgesupport
|
96
|
+
build-iPhoneOS/
|
97
|
+
build-iPhoneSimulator/
|
98
|
+
|
99
|
+
## Specific to RubyMotion (use of CocoaPods):
|
100
|
+
#
|
101
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
102
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
103
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
104
|
+
# vendor/Pods/
|
105
|
+
|
106
|
+
## Documentation cache and generated files:
|
107
|
+
/.yardoc/
|
108
|
+
/_yardoc/
|
109
|
+
/doc/
|
110
|
+
/rdoc/
|
111
|
+
|
112
|
+
/.bundle/
|
113
|
+
/lib/bundler/man/
|
114
|
+
|
115
|
+
# for a library or gem, you might want to ignore these files since the code is
|
116
|
+
# intended to run in multiple environments; otherwise, check them in:
|
117
|
+
Gemfile.lock
|
118
|
+
.ruby-version
|
119
|
+
.ruby-gemset
|
120
|
+
|
121
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
122
|
+
|
123
|
+
### Ruby Patch ###
|
124
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
125
|
+
.rubocop-https?--*
|
126
|
+
|
127
|
+
### RubyMine ###
|
128
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
129
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
130
|
+
|
131
|
+
# User-specific stuff
|
132
|
+
.idea/**/workspace.xml
|
133
|
+
.idea/**/tasks.xml
|
134
|
+
.idea/**/usage.statistics.xml
|
135
|
+
.idea/**/dictionaries
|
136
|
+
.idea/**/shelf
|
137
|
+
|
138
|
+
# Generated files
|
139
|
+
.idea/**/contentModel.xml
|
140
|
+
|
141
|
+
# Sensitive or high-churn files
|
142
|
+
.idea/**/dataSources/
|
143
|
+
.idea/**/dataSources.ids
|
144
|
+
.idea/**/dataSources.local.xml
|
145
|
+
.idea/**/sqlDataSources.xml
|
146
|
+
.idea/**/dynamic.xml
|
147
|
+
.idea/**/uiDesigner.xml
|
148
|
+
.idea/**/dbnavigator.xml
|
149
|
+
|
150
|
+
# Gradle
|
151
|
+
.idea/**/gradle.xml
|
152
|
+
.idea/**/libraries
|
153
|
+
|
154
|
+
# Gradle and Maven with auto-import
|
155
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
156
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
157
|
+
# auto-import.
|
158
|
+
# .idea/modules.xml
|
159
|
+
# .idea/*.iml
|
160
|
+
# .idea/modules
|
161
|
+
# *.iml
|
162
|
+
# *.ipr
|
163
|
+
|
164
|
+
# CMake
|
165
|
+
cmake-build-*/
|
166
|
+
|
167
|
+
# Mongo Explorer plugin
|
168
|
+
.idea/**/mongoSettings.xml
|
169
|
+
|
170
|
+
# File-based project format
|
171
|
+
*.iws
|
172
|
+
|
173
|
+
# IntelliJ
|
174
|
+
out/
|
175
|
+
|
176
|
+
# mpeltonen/sbt-idea plugin
|
177
|
+
.idea_modules/
|
178
|
+
|
179
|
+
# JIRA plugin
|
180
|
+
atlassian-ide-plugin.xml
|
181
|
+
|
182
|
+
# Cursive Clojure plugin
|
183
|
+
.idea/replstate.xml
|
184
|
+
|
185
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
186
|
+
com_crashlytics_export_strings.xml
|
187
|
+
crashlytics.properties
|
188
|
+
crashlytics-build.properties
|
189
|
+
fabric.properties
|
190
|
+
|
191
|
+
# Editor-based Rest Client
|
192
|
+
.idea/httpRequests
|
193
|
+
|
194
|
+
# Android studio 3.1+ serialized cache file
|
195
|
+
.idea/caches/build_file_checksums.ser
|
196
|
+
|
197
|
+
### RubyMine Patch ###
|
198
|
+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
199
|
+
|
200
|
+
# *.iml
|
201
|
+
# modules.xml
|
202
|
+
# .idea/misc.xml
|
203
|
+
# *.ipr
|
204
|
+
|
205
|
+
# Sonarlint plugin
|
206
|
+
.idea/**/sonarlint/
|
207
|
+
|
208
|
+
# SonarQube Plugin
|
209
|
+
.idea/**/sonarIssues.xml
|
210
|
+
|
211
|
+
# Markdown Navigator plugin
|
212
|
+
.idea/**/markdown-navigator.xml
|
213
|
+
.idea/**/markdown-navigator/
|
214
|
+
|
215
|
+
# End of https://www.gitignore.io/api/ruby,rails,rubymine
|