qat-devel 6.0.0 → 6.0.1
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 +4 -4
- data/lib/qat/devel/lib/gitlab/client.rb +10 -8
- data/lib/qat/devel/version.rb +2 -3
- metadata +23 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3074e7b6c3e126ab8cea6d61658b0d1440b38e9cb823ddbfc1ed78bf1377860f
|
4
|
+
data.tar.gz: b1a1204e9900b38da630413b84b52956d7bdc601314fe15ed2d6726e97667c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 957b27d077d01b9dd991eca5b05b1fb40c94ad6b7334be8ea03c4ecb71e45c801db4d365801b226c2811f7c37693dc706b0f0201ceac8e1a170fa27c4f8846ff
|
7
|
+
data.tar.gz: 8834d635fbf929d4e81386fb9327fab9718db6a0d2a262c4ed63d0e51c70cc7b8e79d5fc1346333623dbddc86dbac234293b229f32c8e25a7fe0d6740ccd4a40
|
@@ -12,15 +12,17 @@ module QAT
|
|
12
12
|
|
13
13
|
|
14
14
|
# New QAT::Devel::GitLab::Client
|
15
|
-
def initialize(token=nil, project_id=nil)
|
15
|
+
def initialize(endpoint = nil, token = nil, project_id = nil)
|
16
|
+
@endpoint = endpoint || ENV['GITLAB_ENDPOINT']
|
17
|
+
raise ArgumentError.new "No definition of mandatory environment variable 'GITLAB_ENDPOINT'" unless @endpoint
|
18
|
+
|
16
19
|
@token = token || ENV['GITLAB_TOKEN']
|
17
20
|
raise ArgumentError.new "No definition of mandatory environment variable 'GITLAB_TOKEN'" unless @token
|
18
21
|
|
19
22
|
@project_id = project_id || ENV['CI_PROJECT_ID']
|
20
23
|
raise ArgumentError.new "No definition of mandatory environment variable 'CI_PROJECT_ID'" unless @project_id
|
21
24
|
|
22
|
-
|
23
|
-
@client = Gitlab.client endpoint: 'https://gitlab.host.com/api/v4',
|
25
|
+
@client = Gitlab.client endpoint: @endpoint,
|
24
26
|
private_token: @token
|
25
27
|
@issues = {}
|
26
28
|
@milestones = {}
|
@@ -84,7 +86,7 @@ module QAT
|
|
84
86
|
# @param [String] title The title of new issue.
|
85
87
|
# @param [Hash] options The hash of options.
|
86
88
|
# @return [Array] Values of new issue
|
87
|
-
def create_issue(project, title, options={})
|
89
|
+
def create_issue(project, title, options = {})
|
88
90
|
client.create_issue(project, title, options)
|
89
91
|
end
|
90
92
|
|
@@ -114,7 +116,7 @@ module QAT
|
|
114
116
|
end
|
115
117
|
end
|
116
118
|
description =
|
117
|
-
|
119
|
+
"" "#{description}
|
118
120
|
- #{labels_text} ##{issue.iid} #{issue.title}" ""
|
119
121
|
end
|
120
122
|
gemspec = Dir.glob('../*.gemspec').first
|
@@ -122,13 +124,13 @@ module QAT
|
|
122
124
|
gemspec_spec.name.to_s
|
123
125
|
|
124
126
|
description =
|
125
|
-
|
127
|
+
"" "## #{gemspec_spec.name.to_s} 2.0.0
|
126
128
|
|
127
129
|
**Milestone** \"%#{milestone}\"
|
128
130
|
|
129
131
|
### Issues solved in this release
|
130
132
|
#{description}
|
131
|
-
|
133
|
+
" ""
|
132
134
|
|
133
135
|
create_issue(@project_id, "Release #{milestone}", options = { description: description })
|
134
136
|
end
|
@@ -160,7 +162,7 @@ module QAT
|
|
160
162
|
# @option options [Integer] :page The page number.
|
161
163
|
# @option options [Integer] :per_page The number of results per page.
|
162
164
|
# @return [Array<Gitlab::ObjectifiedHash>]
|
163
|
-
def get_tags(options={})
|
165
|
+
def get_tags(options = {})
|
164
166
|
client.tags(@project_id, options)
|
165
167
|
end
|
166
168
|
|
data/lib/qat/devel/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qat-devel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- QAT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -56,20 +56,20 @@ dependencies:
|
|
56
56
|
name: yard
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.9.9
|
62
|
-
- - "
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 0.9.9
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - "
|
69
|
+
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: 0.9.9
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.9.9
|
75
75
|
- !ruby/object:Gem::Dependency
|
@@ -236,42 +236,42 @@ dependencies:
|
|
236
236
|
name: vcr
|
237
237
|
requirement: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
|
-
- - ">="
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: 5.0.0
|
242
239
|
- - "~>"
|
243
240
|
- !ruby/object:Gem::Version
|
244
241
|
version: '5.0'
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: 5.0.0
|
245
245
|
type: :development
|
246
246
|
prerelease: false
|
247
247
|
version_requirements: !ruby/object:Gem::Requirement
|
248
248
|
requirements:
|
249
|
-
- - ">="
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: 5.0.0
|
252
249
|
- - "~>"
|
253
250
|
- !ruby/object:Gem::Version
|
254
251
|
version: '5.0'
|
252
|
+
- - ">="
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: 5.0.0
|
255
255
|
- !ruby/object:Gem::Dependency
|
256
256
|
name: webmock
|
257
257
|
requirement: !ruby/object:Gem::Requirement
|
258
258
|
requirements:
|
259
|
-
- - ">="
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
version: 3.6.0
|
262
259
|
- - "~>"
|
263
260
|
- !ruby/object:Gem::Version
|
264
261
|
version: '3.6'
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: 3.6.0
|
265
265
|
type: :development
|
266
266
|
prerelease: false
|
267
267
|
version_requirements: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - ">="
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 3.6.0
|
272
269
|
- - "~>"
|
273
270
|
- !ruby/object:Gem::Version
|
274
271
|
version: '3.6'
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: 3.6.0
|
275
275
|
description: |2+
|
276
276
|
QAT Devel is a tool for executing common tasks in the development of QAT modules:
|
277
277
|
- DoD metric validation
|
@@ -296,10 +296,11 @@ files:
|
|
296
296
|
- lib/qat/devel/tasks/static_analysis.rb
|
297
297
|
- lib/qat/devel/tasks/tests.rb
|
298
298
|
- lib/qat/devel/version.rb
|
299
|
-
homepage: https://
|
299
|
+
homepage: https://www.readinessit.com
|
300
300
|
licenses:
|
301
301
|
- GPL-3.0
|
302
|
-
metadata:
|
302
|
+
metadata:
|
303
|
+
source_code_uri: https://github.com/readiness-it/qat-devel
|
303
304
|
post_install_message:
|
304
305
|
rdoc_options: []
|
305
306
|
require_paths:
|
@@ -315,7 +316,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
316
|
- !ruby/object:Gem::Version
|
316
317
|
version: '0'
|
317
318
|
requirements: []
|
318
|
-
|
319
|
+
rubyforge_project:
|
320
|
+
rubygems_version: 2.7.7
|
319
321
|
signing_key:
|
320
322
|
specification_version: 4
|
321
323
|
summary: Support gem for QAT development.
|