qat-devel 6.0.0 → 8.0.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 +4 -4
- data/lib/qat/devel/lib/gitlab/client.rb +10 -8
- data/lib/qat/devel/version.rb +2 -3
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5d0817760c000a05c7bdb054cab1c510b1e9ef559bb00fcb81f0a5a8f80302c
|
4
|
+
data.tar.gz: 3701e3d3c78930391757ce4a543d4bfba01823cacb44fe1ee2c15e186c948f7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d69f65d5aa3a5a59081d7a657519485f74de421a31b176cc2dcaae3f48d5266e3a13a95bb1a714a93e58838fb227f5398a629f740ccb49345b8201b551fbb7
|
7
|
+
data.tar.gz: 9e14f4e526ce9c3ec4fc7ecd04ec5d593115bc1860a0680e82677604a33c4bca84acd837e184c2158ebfa1c96da8e42047738a2f0ee14f22677d99d6655a4a3f
|
@@ -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:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- QAT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 5.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 5.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 13.0.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 13.0.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: yard
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
316
|
- !ruby/object:Gem::Version
|
316
317
|
version: '0'
|
317
318
|
requirements: []
|
318
|
-
rubygems_version: 3.0.
|
319
|
+
rubygems_version: 3.0.8
|
319
320
|
signing_key:
|
320
321
|
specification_version: 4
|
321
322
|
summary: Support gem for QAT development.
|