confidante 0.28.0.pre.7 → 0.28.0.pre.10

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: 2ee41ca5146b7b417180b02a44570b1e50e0afacb1e8bf88679a8eb97eccb51f
4
- data.tar.gz: c0c0ed73bfd55b6601b0caf58e287c12e0d9986c64efca5e7862f1d839f54295
3
+ metadata.gz: a8273e0a3063db0d1ff80d33159bc27544c8f89444e249d3221198aedb6af7f2
4
+ data.tar.gz: 452834270326676018fe7ebd46360584d89d31e5624a33d66dcff9d1f34564cd
5
5
  SHA512:
6
- metadata.gz: 56e08ccbd6050fe51f056f8557cd3167c0e0c28cb01b68a0d3234ae759374bc130029d0e16e7c23e52051ec5329e6fc1a0d69376ee4e9b276f9913c89c59127d
7
- data.tar.gz: 9111f0aa074c60860ce26ee3b7f99b3f0d6cd9c7f446bd841b352f43a3390f0a292027da52258078e547013bab52c0e600a8df4f97dfa6c9c162031d2c29d88c
6
+ metadata.gz: 6fe58a590d51eeb706ff0c147e688261ac8ac08f36872410e5b239cade8ac092ea3415fc2ab90fa99f1b12f0df9acd96e907fe65c6e611ca90a85868cddf1efe
7
+ data.tar.gz: '058ae6098dfb7c8df769d68d60eca6d6b326a8bd6a74a0d8623d834d093eec8054b11695245b56953152def722cc8fb3bd83689d1e82be215f8c08a1fab4fb0f'
data/CODE_OF_CONDUCT.md CHANGED
@@ -5,9 +5,9 @@
5
5
  In the interest of fostering an open and welcoming environment, we as
6
6
  contributors and maintainers pledge to making participation in our project and
7
7
  our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
8
+ size, disability, ethnicity, gender identity and expression, level of
9
+ experience, nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
11
 
12
12
  ## Our Standards
13
13
 
@@ -23,7 +23,7 @@ include:
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
25
  * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
26
+ advances
27
27
  * Trolling, insulting/derogatory comments, and personal or political attacks
28
28
  * Public or private harassment
29
29
  * Publishing others' private information, such as a physical or electronic
@@ -37,11 +37,11 @@ Project maintainers are responsible for clarifying the standards of acceptable
37
37
  behavior and are expected to take appropriate and fair corrective action in
38
38
  response to any instances of unacceptable behavior.
39
39
 
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
40
+ Project maintainers have the right and responsibility to remove, edit, or reject
41
+ comments, commits, code, wiki edits, issues, and other contributions that are
42
+ not aligned to this Code of Conduct, or to ban temporarily or permanently any
43
+ contributor for other behaviors that they deem inappropriate, threatening,
44
+ offensive, or harmful.
45
45
 
46
46
  ## Scope
47
47
 
@@ -58,8 +58,9 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
58
  reported by contacting the project team at maintainers@infrablocks.io. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
61
+ obligated to maintain confidentiality with regard to the reporter of an
62
+ incident. Further details of specific enforcement policies may be posted
63
+ separately.
63
64
 
64
65
  Project maintainers who do not follow or enforce the Code of Conduct in good
65
66
  faith may face temporary or permanent repercussions as determined by other
@@ -67,8 +68,9 @@ members of the project's leadership.
67
68
 
68
69
  ## Attribution
69
70
 
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
71
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
72
+ version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
72
73
 
73
74
  [homepage]: http://contributor-covenant.org
75
+
74
76
  [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile.lock CHANGED
@@ -1,74 +1,77 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- confidante (0.28.0.pre.7)
4
+ confidante (0.28.0.pre.10)
5
5
  activesupport (>= 4)
6
- hiera (>= 3.3, < 4)
7
- shikashi (>= 0.6, < 1)
6
+ hiera (~> 3.3)
7
+ shikashi (~> 0.6)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.1.4.1)
12
+ activesupport (7.0.2.3)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
- zeitwerk (~> 2.3)
18
17
  addressable (2.8.0)
19
18
  public_suffix (>= 2.0.2, < 5.0)
20
19
  ast (2.4.2)
21
20
  colored2 (3.1.2)
22
21
  concurrent-ruby (1.1.9)
23
- diff-lcs (1.4.4)
22
+ diff-lcs (1.5.0)
24
23
  docile (1.4.0)
25
24
  evalhook (0.6.0)
26
25
  partialruby (~> 0.3)
27
26
  sexp_processor (~> 4.0)
28
- excon (0.87.0)
29
- faraday (1.8.0)
27
+ excon (0.92.1)
28
+ faraday (1.10.0)
30
29
  faraday-em_http (~> 1.0)
31
30
  faraday-em_synchrony (~> 1.0)
32
31
  faraday-excon (~> 1.1)
33
- faraday-httpclient (~> 1.0.1)
32
+ faraday-httpclient (~> 1.0)
33
+ faraday-multipart (~> 1.0)
34
34
  faraday-net_http (~> 1.0)
35
- faraday-net_http_persistent (~> 1.1)
35
+ faraday-net_http_persistent (~> 1.0)
36
36
  faraday-patron (~> 1.0)
37
37
  faraday-rack (~> 1.0)
38
- multipart-post (>= 1.2, < 3)
38
+ faraday-retry (~> 1.0)
39
39
  ruby2_keywords (>= 0.0.4)
40
40
  faraday-em_http (1.0.0)
41
41
  faraday-em_synchrony (1.0.0)
42
42
  faraday-excon (1.1.0)
43
43
  faraday-httpclient (1.0.1)
44
+ faraday-multipart (1.0.3)
45
+ multipart-post (>= 1.2, < 3)
44
46
  faraday-net_http (1.0.1)
45
47
  faraday-net_http_persistent (1.2.0)
46
48
  faraday-patron (1.0.0)
47
49
  faraday-rack (1.0.0)
50
+ faraday-retry (1.0.3)
48
51
  gem-release (2.2.2)
49
52
  getsource (0.2.2)
50
53
  hamster (3.0.0)
51
54
  concurrent-ruby (~> 1.0)
52
- hiera (3.7.0)
53
- i18n (1.8.10)
55
+ hiera (3.8.0)
56
+ i18n (1.10.0)
54
57
  concurrent-ruby (~> 1.0)
55
58
  lino (3.0.0)
56
59
  hamster (~> 3.0)
57
60
  open4 (~> 1.3)
58
- minitest (5.14.4)
61
+ minitest (5.15.0)
59
62
  multipart-post (2.1.1)
60
- octokit (4.21.0)
63
+ octokit (4.22.0)
61
64
  faraday (>= 0.9)
62
65
  sawyer (~> 0.8.0, >= 0.5.3)
63
66
  open4 (1.3.4)
64
67
  parallel (1.21.0)
65
- parser (3.0.2.0)
68
+ parser (3.1.1.0)
66
69
  ast (~> 2.4.1)
67
70
  partialruby (0.3.0)
68
71
  ruby2ruby (~> 2)
69
72
  ruby_parser (~> 3)
70
73
  public_suffix (4.0.6)
71
- rainbow (3.0.0)
74
+ rainbow (3.1.1)
72
75
  rake (13.0.6)
73
76
  rake_circle_ci (0.9.0)
74
77
  colored2 (~> 3.1)
@@ -78,7 +81,7 @@ GEM
78
81
  rake_factory (0.29.0)
79
82
  activesupport (>= 4)
80
83
  rake (~> 13.0)
81
- rake_github (0.7.0)
84
+ rake_github (0.9.0)
82
85
  colored2 (~> 3.1)
83
86
  octokit (~> 4.16)
84
87
  rake_factory (~> 0.23)
@@ -90,35 +93,35 @@ GEM
90
93
  colored2 (~> 3.1)
91
94
  rake_factory (~> 0.23)
92
95
  sshkey (~> 2.0)
93
- regexp_parser (2.1.1)
96
+ regexp_parser (2.2.1)
94
97
  rexml (3.2.5)
95
- rspec (3.10.0)
96
- rspec-core (~> 3.10.0)
97
- rspec-expectations (~> 3.10.0)
98
- rspec-mocks (~> 3.10.0)
99
- rspec-core (3.10.1)
100
- rspec-support (~> 3.10.0)
101
- rspec-expectations (3.10.1)
98
+ rspec (3.11.0)
99
+ rspec-core (~> 3.11.0)
100
+ rspec-expectations (~> 3.11.0)
101
+ rspec-mocks (~> 3.11.0)
102
+ rspec-core (3.11.0)
103
+ rspec-support (~> 3.11.0)
104
+ rspec-expectations (3.11.0)
102
105
  diff-lcs (>= 1.2.0, < 2.0)
103
- rspec-support (~> 3.10.0)
104
- rspec-mocks (3.10.2)
106
+ rspec-support (~> 3.11.0)
107
+ rspec-mocks (3.11.0)
105
108
  diff-lcs (>= 1.2.0, < 2.0)
106
- rspec-support (~> 3.10.0)
107
- rspec-support (3.10.2)
108
- rubocop (1.22.1)
109
+ rspec-support (~> 3.11.0)
110
+ rspec-support (3.11.0)
111
+ rubocop (1.26.0)
109
112
  parallel (~> 1.10)
110
- parser (>= 3.0.0.0)
113
+ parser (>= 3.1.0.0)
111
114
  rainbow (>= 2.2.2, < 4.0)
112
115
  regexp_parser (>= 1.8, < 3.0)
113
116
  rexml
114
- rubocop-ast (>= 1.12.0, < 2.0)
117
+ rubocop-ast (>= 1.16.0, < 2.0)
115
118
  ruby-progressbar (~> 1.7)
116
119
  unicode-display_width (>= 1.4.0, < 3.0)
117
- rubocop-ast (1.12.0)
118
- parser (>= 3.0.1.1)
120
+ rubocop-ast (1.16.0)
121
+ parser (>= 3.1.1.0)
119
122
  rubocop-rake (0.6.0)
120
123
  rubocop (~> 1.0)
121
- rubocop-rspec (2.5.0)
124
+ rubocop-rspec (2.9.0)
122
125
  rubocop (~> 1.19)
123
126
  ruby-progressbar (1.11.0)
124
127
  ruby2_keywords (0.0.5)
@@ -127,12 +130,12 @@ GEM
127
130
  sexp_processor (~> 4.6)
128
131
  ruby_gpg2 (0.8.0)
129
132
  lino (>= 1.5)
130
- ruby_parser (3.17.0)
131
- sexp_processor (~> 4.15, >= 4.15.1)
133
+ ruby_parser (3.18.1)
134
+ sexp_processor (~> 4.16)
132
135
  sawyer (0.8.2)
133
136
  addressable (>= 2.3.5)
134
137
  faraday (> 0.8, < 2.0)
135
- sexp_processor (4.15.3)
138
+ sexp_processor (4.16.0)
136
139
  shikashi (0.6.0)
137
140
  evalhook (>= 0.6.0)
138
141
  getsource (>= 0.1.0)
@@ -141,15 +144,15 @@ GEM
141
144
  simplecov-html (~> 0.11)
142
145
  simplecov_json_formatter (~> 0.1)
143
146
  simplecov-html (0.12.3)
144
- simplecov_json_formatter (0.1.3)
147
+ simplecov_json_formatter (0.1.4)
145
148
  sshkey (2.0.0)
146
149
  tzinfo (2.0.4)
147
150
  concurrent-ruby (~> 1.0)
148
151
  unicode-display_width (2.1.0)
149
- zeitwerk (2.4.2)
150
152
 
151
153
  PLATFORMS
152
- ruby
154
+ arm64-darwin-21
155
+ x86_64-linux
153
156
 
154
157
  DEPENDENCIES
155
158
  bundler
@@ -167,4 +170,4 @@ DEPENDENCIES
167
170
  simplecov
168
171
 
169
172
  BUNDLED WITH
170
- 2.2.29
173
+ 2.3.9
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Toby Clemson
3
+ Copyright (c) 2022 InfraBlocks Maintainers
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Rakefile CHANGED
@@ -18,9 +18,8 @@ namespace :encryption do
18
18
  namespace :passphrase do
19
19
  desc 'Generate encryption passphrase for CI GPG key'
20
20
  task :generate do
21
- File.open('config/secrets/ci/encryption.passphrase', 'w') do |f|
22
- f.write(SecureRandom.base64(36))
23
- end
21
+ File.write('config/secrets/ci/encryption.passphrase',
22
+ SecureRandom.base64(36))
24
23
  end
25
24
  end
26
25
  end
@@ -83,7 +82,7 @@ end
83
82
  RakeGithub.define_repository_tasks(
84
83
  namespace: :github,
85
84
  repository: 'infrablocks/confidante'
86
- ) do |t|
85
+ ) do |t, args|
87
86
  github_config =
88
87
  YAML.load_file('config/secrets/github/config.yaml')
89
88
 
@@ -94,6 +93,8 @@ RakeGithub.define_repository_tasks(
94
93
  public_key: File.read('config/secrets/ci/ssh.public')
95
94
  }
96
95
  ]
96
+ t.branch_name = args.branch_name
97
+ t.commit_message = args.commit_message
97
98
  end
98
99
 
99
100
  namespace :pipeline do
data/confidante.gemspec CHANGED
@@ -36,11 +36,11 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.required_ruby_version = '>= 2.6.0'
39
+ spec.required_ruby_version = '>= 2.7'
40
40
 
41
41
  spec.add_dependency 'activesupport', '>= 4'
42
- spec.add_dependency 'hiera', '>= 3.3', '< 4'
43
- spec.add_dependency 'shikashi', '>= 0.6', '< 1'
42
+ spec.add_dependency 'hiera', '~> 3.3'
43
+ spec.add_dependency 'shikashi', '~> 0.6'
44
44
 
45
45
  spec.add_development_dependency 'bundler'
46
46
  spec.add_development_dependency 'gem-release'
@@ -54,4 +54,6 @@ Gem::Specification.new do |spec|
54
54
  spec.add_development_dependency 'rubocop-rake'
55
55
  spec.add_development_dependency 'rubocop-rspec'
56
56
  spec.add_development_dependency 'simplecov'
57
+
58
+ spec.metadata['rubygems_mfa_required'] = 'false'
57
59
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Confidante
4
- VERSION = '0.28.0.pre.7'
4
+ VERSION = '0.28.0.pre.10'
5
5
  end
@@ -4,8 +4,8 @@ require 'shikashi'
4
4
 
5
5
  module ShikashiExtensions
6
6
  module Sandbox
7
- def timeout(*args, &block)
8
- ::Timeout.timeout(*args, &block)
7
+ def timeout(...)
8
+ ::Timeout.timeout(...)
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confidante
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0.pre.7
4
+ version: 0.28.0.pre.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,42 +28,30 @@ dependencies:
28
28
  name: hiera
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.3'
34
- - - "<"
35
- - !ruby/object:Gem::Version
36
- version: '4'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
38
+ - - "~>"
42
39
  - !ruby/object:Gem::Version
43
40
  version: '3.3'
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: '4'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: shikashi
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ">="
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0.6'
54
- - - "<"
55
- - !ruby/object:Gem::Version
56
- version: '1'
57
48
  type: :runtime
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
- - - ">="
52
+ - - "~>"
62
53
  - !ruby/object:Gem::Version
63
54
  version: '0.6'
64
- - - "<"
65
- - !ruby/object:Gem::Version
66
- version: '1'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: bundler
69
57
  requirement: !ruby/object:Gem::Requirement
@@ -260,7 +248,8 @@ files:
260
248
  homepage: https://github.com/infrablocks/confidante
261
249
  licenses:
262
250
  - MIT
263
- metadata: {}
251
+ metadata:
252
+ rubygems_mfa_required: 'false'
264
253
  post_install_message:
265
254
  rdoc_options: []
266
255
  require_paths:
@@ -269,14 +258,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
269
258
  requirements:
270
259
  - - ">="
271
260
  - !ruby/object:Gem::Version
272
- version: 2.6.0
261
+ version: '2.7'
273
262
  required_rubygems_version: !ruby/object:Gem::Requirement
274
263
  requirements:
275
264
  - - ">"
276
265
  - !ruby/object:Gem::Version
277
266
  version: 1.3.1
278
267
  requirements: []
279
- rubygems_version: 3.0.1
268
+ rubygems_version: 3.1.6
280
269
  signing_key:
281
270
  specification_version: 4
282
271
  summary: A configuration engine over hiera.