abide_dev_utils 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 220a0a755c0e337d22a853e106935f4355564e51a759eb93967e3aeba5a9f020
4
- data.tar.gz: e0272122e07a4e53d3efa71486de5dc7a0229ca0d22214b3311c94df0c90100b
3
+ metadata.gz: 9ba88038da5800b45085201557c28a7d4096027230083e0c8d5a811a7fd1de5a
4
+ data.tar.gz: 78da6fd7887fdb50a7de4505b4dd95b6fa2e24400dc6b5419dcc44aaa1f15d24
5
5
  SHA512:
6
- metadata.gz: c7710f102655653f4181694c8dd076acff1dfd8040120c54157bc77a89f3db4a892854d2110ac4a47974ead2fdc23c3b3028c4459aa9e7bf75145e71fcebad0b
7
- data.tar.gz: a5d0d101010f6ba4129346c4c4447f433b5a61e36e9000c3dab653a1709b78ff08203ec2dd014e61489d09eb2a78badfb51e233d8cbe33d85c903c3654cae90f
6
+ metadata.gz: 3e1577583c8fcc597f75e02d3ef5edee126984f8daaea8fc98741c718c0254044767189acf24e0e21ba2b60607f4042c1f0c52be934dbc129d270008042f8bf5
7
+ data.tar.gz: eb8b1038e223efeec1f7a2b3d0d0ee0f04cba49f385b58c8de5e1dfe8c2d935dac0d760faf65d8ab45f0b539f4729ea9195926d0cce1d4fe294c19f6e426e879
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- abide_dev_utils (0.16.0)
4
+ abide_dev_utils (0.16.1)
5
5
  cmdparse (~> 3.0)
6
6
  facterdb (>= 1.21)
7
7
  google-cloud-storage (~> 1.34)
@@ -17,7 +17,7 @@ GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
19
  CFPropertyList (2.3.6)
20
- activesupport (7.0.4.3)
20
+ activesupport (7.0.7.2)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
22
  i18n (>= 1.6, < 2)
23
23
  minitest (>= 5.1)
@@ -29,15 +29,15 @@ GEM
29
29
  console (~> 1.10)
30
30
  nio4r (~> 2.3)
31
31
  timers (~> 4.1)
32
- async-http (0.56.6)
32
+ async-http (0.60.2)
33
33
  async (>= 1.25)
34
34
  async-io (>= 1.28)
35
35
  async-pool (>= 0.2)
36
- protocol-http (~> 0.22.0)
37
- protocol-http1 (~> 0.14.0)
38
- protocol-http2 (~> 0.14.0)
39
- traces (~> 0.4.0)
40
- async-http-faraday (0.11.0)
36
+ protocol-http (~> 0.24.0)
37
+ protocol-http1 (~> 0.15.0)
38
+ protocol-http2 (~> 0.15.0)
39
+ traces (>= 0.10.0)
40
+ async-http-faraday (0.12.0)
41
41
  async-http (~> 0.42)
42
42
  faraday
43
43
  async-io (1.33.0)
@@ -120,7 +120,7 @@ GEM
120
120
  hiera (3.12.0)
121
121
  hocon (1.4.0)
122
122
  httpclient (2.8.3)
123
- i18n (1.12.0)
123
+ i18n (1.14.1)
124
124
  concurrent-ruby (~> 1.0)
125
125
  jgrep (1.5.4)
126
126
  jira-ruby (2.3.0)
@@ -133,12 +133,14 @@ GEM
133
133
  memoist (0.16.2)
134
134
  method_source (1.0.0)
135
135
  mini_mime (1.1.2)
136
- minitest (5.18.0)
136
+ minitest (5.19.0)
137
137
  multi_json (1.15.0)
138
138
  multipart-post (2.3.0)
139
139
  nio4r (2.5.8)
140
140
  nokogiri (1.15.2-x86_64-darwin)
141
141
  racc (~> 1.4)
142
+ nokogiri (1.15.2-x86_64-linux)
143
+ racc (~> 1.4)
142
144
  oauth (0.6.2)
143
145
  snaky_hash (~> 2.0)
144
146
  version_gem (~> 1.1)
@@ -150,16 +152,27 @@ GEM
150
152
  parser (3.1.2.0)
151
153
  ast (~> 2.4.1)
152
154
  protocol-hpack (1.4.2)
153
- protocol-http (0.22.6)
154
- protocol-http1 (0.14.4)
155
+ protocol-http (0.24.7)
156
+ protocol-http1 (0.15.1)
155
157
  protocol-http (~> 0.22)
156
- protocol-http2 (0.14.2)
158
+ protocol-http2 (0.15.1)
157
159
  protocol-hpack (~> 1.4)
158
160
  protocol-http (~> 0.18)
159
161
  pry (0.14.1)
160
162
  coderay (~> 1.1)
161
163
  method_source (~> 1.0)
162
164
  public_suffix (4.0.7)
165
+ puppet (7.24.0)
166
+ concurrent-ruby (~> 1.0, < 1.2.0)
167
+ deep_merge (~> 1.0)
168
+ facter (> 2.0.1, < 5)
169
+ fast_gettext (>= 1.1, < 3)
170
+ hiera (>= 3.2.1, < 4)
171
+ locale (~> 2.1)
172
+ multi_json (~> 1.10)
173
+ puppet-resource_api (~> 1.5)
174
+ scanf (~> 1.0)
175
+ semantic_puppet (~> 1.0)
163
176
  puppet (7.24.0-universal-darwin)
164
177
  CFPropertyList (~> 2.2)
165
178
  concurrent-ruby (~> 1.0, < 1.2.0)
@@ -241,7 +254,7 @@ GEM
241
254
  version_gem (~> 1.1, >= 1.1.1)
242
255
  thor (1.2.2)
243
256
  timers (4.3.3)
244
- traces (0.4.1)
257
+ traces (0.11.1)
245
258
  trailblazer-option (0.1.2)
246
259
  tzinfo (2.0.6)
247
260
  concurrent-ruby (~> 1.0)
@@ -273,4 +286,4 @@ DEPENDENCIES
273
286
  rubocop-rspec (~> 2.1)
274
287
 
275
288
  BUNDLED WITH
276
- 2.3.9
289
+ 2.4.19
@@ -459,7 +459,7 @@ module AbideDevUtils
459
459
 
460
460
  @control.title.nil? ? out_str.unshift(" #{@control.id.dump}:") : out_str.unshift(" #{@control.title.dump}:")
461
461
  out_str.unshift(' control_configs:')
462
- out_str.unshift("#{@module_name}::config:")
462
+ out_str.unshift("#{@module_name.split('-').last}::config:")
463
463
  @md.add_ul('Hiera Configuration Example:')
464
464
  @md.add_code_block(out_str.join("\n"), language: 'yaml')
465
465
  rescue StandardError => e
@@ -40,7 +40,7 @@ module Abide
40
40
  def execute
41
41
  client = JIRA.client
42
42
  myself = JIRA.myself(client)
43
- return if myself.attrs['name'].empty?
43
+ return if myself.attrs['displayName'].empty?
44
44
 
45
45
  Abide::CLI::OUTPUT.simple("Successfully authenticated user #{myself.attrs['name']}!")
46
46
  end
@@ -67,9 +67,8 @@ module AbideDevUtils
67
67
  fields = {}
68
68
  fields['summary'] = summary
69
69
  fields['project'] = project(client, project)
70
- fields['reporter'] = myself(client)
71
70
  fields['issuetype'] = issuetype(client, 'Task')
72
- fields['priority'] = priority(client, '6')
71
+ fields['priority'] = priority(client, '3')
73
72
  fields['description'] = description if description
74
73
  fields['labels'] = labels
75
74
  epic = issue(client, epic) if epic && !epic.is_a?(JIRA::Resource::Issue)
@@ -89,7 +88,6 @@ module AbideDevUtils
89
88
  fields = {
90
89
  'summary' => summary,
91
90
  'project' => project(client, project),
92
- 'reporter' => myself(client),
93
91
  'issuetype' => issuetype(client, 'Epic'),
94
92
  'customfield_10007' => summary, # Epic Name
95
93
  }
@@ -114,7 +112,6 @@ module AbideDevUtils
114
112
  fields['parent'] = issue
115
113
  fields['summary'] = summary
116
114
  fields['project'] = issue_fields['project']
117
- fields['reporter'] = myself(client)
118
115
  fields['issuetype'] = issuetype(client, '5')
119
116
  fields['priority'] = issue_fields['priority']
120
117
  subtask = client.Issue.build
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AbideDevUtils
4
- VERSION = "0.16.0"
4
+ VERSION = "0.16.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abide_dev_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - abide-team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-21 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -448,7 +448,7 @@ metadata:
448
448
  homepage_uri: https://github.com/puppetlabs/abide_dev_utils
449
449
  source_code_uri: https://github.com/puppetlabs/abide_dev_utils
450
450
  changelog_uri: https://github.com/puppetlabs/abide_dev_utils
451
- post_install_message:
451
+ post_install_message:
452
452
  rdoc_options: []
453
453
  require_paths:
454
454
  - lib
@@ -463,8 +463,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
463
463
  - !ruby/object:Gem::Version
464
464
  version: '0'
465
465
  requirements: []
466
- rubygems_version: 3.1.6
467
- signing_key:
466
+ rubygems_version: 3.4.19
467
+ signing_key:
468
468
  specification_version: 4
469
469
  summary: Helper utilities for developing compliance Puppet code
470
470
  test_files: []