confidante 0.28.0.pre.6 → 0.28.0.pre.9

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: 63757deac44a8dc8445094c33dfc44a018d4fae470ab1acc2c9b23afa4fa20ff
4
- data.tar.gz: b94f2515ea47608b0b9cf02a0ce62b667d6514b67b4e2aab901a8aad80ebca69
3
+ metadata.gz: db31576bff307d8657ef9c5835fd9790700c69eab9819b2d216b4474b406a461
4
+ data.tar.gz: 845626593d973e6a3ffe4f244443923a71021c2ebdcfdf0217849306a967ec5f
5
5
  SHA512:
6
- metadata.gz: 74b44c879cc3016079f943646aca32a6cb1eab96ad327229dd67047d46f4ea79c3ae567a4a39a0ea1916b03748240e712d615aa6a39cad5d930e59c14ac8da27
7
- data.tar.gz: 0c743e549dd5ef722d5e8875daa6002d9685b58316af17a7b890110fe3e783112254d09d790d22c4870b871346d728ee36698fe19fe331799604e7044ea7d769
6
+ metadata.gz: 3d0df7f66b289b9bf4e2a9adf81d832f6ee0e62fb48545ca708cda3e5a61d46ad168b46681e9ebc0d7be523f44173413e88567dbeb3e187da38a9ebc0926ebba
7
+ data.tar.gz: 0c2d11d276b226ae4b067278d3010552d9e6325508dc63f451900dc98d3381beb0b637f17ee7c90c91642ca58f2ddd5e7a9a6883dfac159de9687cf9e64f6eb9
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,69 +1,78 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- confidante (0.28.0.pre.6)
4
+ confidante (0.28.0.pre.9)
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.3.2)
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
- addressable (2.7.0)
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
- concurrent-ruby (1.1.8)
23
- diff-lcs (1.4.4)
21
+ concurrent-ruby (1.1.9)
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.82.0)
29
- faraday (1.4.2)
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)
32
+ faraday-httpclient (~> 1.0)
33
+ faraday-multipart (~> 1.0)
33
34
  faraday-net_http (~> 1.0)
34
- faraday-net_http_persistent (~> 1.1)
35
- multipart-post (>= 1.2, < 3)
35
+ faraday-net_http_persistent (~> 1.0)
36
+ faraday-patron (~> 1.0)
37
+ faraday-rack (~> 1.0)
38
+ faraday-retry (~> 1.0)
36
39
  ruby2_keywords (>= 0.0.4)
37
40
  faraday-em_http (1.0.0)
38
41
  faraday-em_synchrony (1.0.0)
39
42
  faraday-excon (1.1.0)
43
+ faraday-httpclient (1.0.1)
44
+ faraday-multipart (1.0.3)
45
+ multipart-post (>= 1.2, < 3)
40
46
  faraday-net_http (1.0.1)
41
- faraday-net_http_persistent (1.1.0)
42
- gem-release (2.2.1)
47
+ faraday-net_http_persistent (1.2.0)
48
+ faraday-patron (1.0.0)
49
+ faraday-rack (1.0.0)
50
+ faraday-retry (1.0.3)
51
+ gem-release (2.2.2)
43
52
  getsource (0.2.2)
44
53
  hamster (3.0.0)
45
54
  concurrent-ruby (~> 1.0)
46
- hiera (3.7.0)
47
- i18n (1.8.10)
55
+ hiera (3.8.0)
56
+ i18n (1.10.0)
48
57
  concurrent-ruby (~> 1.0)
49
58
  lino (3.0.0)
50
59
  hamster (~> 3.0)
51
60
  open4 (~> 1.3)
52
- minitest (5.14.4)
61
+ minitest (5.15.0)
53
62
  multipart-post (2.1.1)
54
- octokit (4.21.0)
63
+ octokit (4.22.0)
55
64
  faraday (>= 0.9)
56
65
  sawyer (~> 0.8.0, >= 0.5.3)
57
66
  open4 (1.3.4)
58
- parallel (1.20.1)
59
- parser (3.0.1.1)
67
+ parallel (1.21.0)
68
+ parser (3.1.1.0)
60
69
  ast (~> 2.4.1)
61
70
  partialruby (0.3.0)
62
71
  ruby2ruby (~> 2)
63
72
  ruby_parser (~> 3)
64
73
  public_suffix (4.0.6)
65
- rainbow (3.0.0)
66
- rake (13.0.3)
74
+ rainbow (3.1.1)
75
+ rake (13.0.6)
67
76
  rake_circle_ci (0.9.0)
68
77
  colored2 (~> 3.1)
69
78
  excon (~> 0.72)
@@ -72,7 +81,7 @@ GEM
72
81
  rake_factory (0.29.0)
73
82
  activesupport (>= 4)
74
83
  rake (~> 13.0)
75
- rake_github (0.7.0)
84
+ rake_github (0.9.0)
76
85
  colored2 (~> 3.1)
77
86
  octokit (~> 4.16)
78
87
  rake_factory (~> 0.23)
@@ -84,50 +93,49 @@ GEM
84
93
  colored2 (~> 3.1)
85
94
  rake_factory (~> 0.23)
86
95
  sshkey (~> 2.0)
87
- regexp_parser (2.1.1)
96
+ regexp_parser (2.2.1)
88
97
  rexml (3.2.5)
89
- rspec (3.10.0)
90
- rspec-core (~> 3.10.0)
91
- rspec-expectations (~> 3.10.0)
92
- rspec-mocks (~> 3.10.0)
93
- rspec-core (3.10.1)
94
- rspec-support (~> 3.10.0)
95
- 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)
96
105
  diff-lcs (>= 1.2.0, < 2.0)
97
- rspec-support (~> 3.10.0)
98
- rspec-mocks (3.10.2)
106
+ rspec-support (~> 3.11.0)
107
+ rspec-mocks (3.11.0)
99
108
  diff-lcs (>= 1.2.0, < 2.0)
100
- rspec-support (~> 3.10.0)
101
- rspec-support (3.10.2)
102
- rubocop (1.15.0)
109
+ rspec-support (~> 3.11.0)
110
+ rspec-support (3.11.0)
111
+ rubocop (1.26.0)
103
112
  parallel (~> 1.10)
104
- parser (>= 3.0.0.0)
113
+ parser (>= 3.1.0.0)
105
114
  rainbow (>= 2.2.2, < 4.0)
106
115
  regexp_parser (>= 1.8, < 3.0)
107
116
  rexml
108
- rubocop-ast (>= 1.5.0, < 2.0)
117
+ rubocop-ast (>= 1.16.0, < 2.0)
109
118
  ruby-progressbar (~> 1.7)
110
119
  unicode-display_width (>= 1.4.0, < 3.0)
111
- rubocop-ast (1.7.0)
112
- parser (>= 3.0.1.1)
113
- rubocop-rake (0.5.1)
114
- rubocop
115
- rubocop-rspec (2.3.0)
120
+ rubocop-ast (1.16.0)
121
+ parser (>= 3.1.1.0)
122
+ rubocop-rake (0.6.0)
116
123
  rubocop (~> 1.0)
117
- rubocop-ast (>= 1.1.0)
124
+ rubocop-rspec (2.9.0)
125
+ rubocop (~> 1.19)
118
126
  ruby-progressbar (1.11.0)
119
- ruby2_keywords (0.0.4)
127
+ ruby2_keywords (0.0.5)
120
128
  ruby2ruby (2.4.4)
121
129
  ruby_parser (~> 3.1)
122
130
  sexp_processor (~> 4.6)
123
131
  ruby_gpg2 (0.8.0)
124
132
  lino (>= 1.5)
125
- ruby_parser (3.16.0)
126
- sexp_processor (~> 4.15, >= 4.15.1)
133
+ ruby_parser (3.18.1)
134
+ sexp_processor (~> 4.16)
127
135
  sawyer (0.8.2)
128
136
  addressable (>= 2.3.5)
129
137
  faraday (> 0.8, < 2.0)
130
- sexp_processor (4.15.3)
138
+ sexp_processor (4.16.0)
131
139
  shikashi (0.6.0)
132
140
  evalhook (>= 0.6.0)
133
141
  getsource (>= 0.1.0)
@@ -136,15 +144,15 @@ GEM
136
144
  simplecov-html (~> 0.11)
137
145
  simplecov_json_formatter (~> 0.1)
138
146
  simplecov-html (0.12.3)
139
- simplecov_json_formatter (0.1.3)
147
+ simplecov_json_formatter (0.1.4)
140
148
  sshkey (2.0.0)
141
149
  tzinfo (2.0.4)
142
150
  concurrent-ruby (~> 1.0)
143
- unicode-display_width (2.0.0)
144
- zeitwerk (2.4.2)
151
+ unicode-display_width (2.1.0)
145
152
 
146
153
  PLATFORMS
147
- ruby
154
+ arm64-darwin-21
155
+ x86_64-linux
148
156
 
149
157
  DEPENDENCIES
150
158
  bundler
@@ -162,4 +170,4 @@ DEPENDENCIES
162
170
  simplecov
163
171
 
164
172
  BUNDLED WITH
165
- 2.2.18
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.6'
4
+ VERSION = '0.28.0.pre.9'
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.6
4
+ version: 0.28.0.pre.9
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-05-30 00:00:00.000000000 Z
11
+ date: 2022-03-20 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.