hiera-eyaml 4.1.0 → 4.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b91da5b4af241a026ec3aa896bcfd15f9dc6fef98cb34ce9e914a82909446ef
4
- data.tar.gz: 5bbefd8470a02dce5f2c7b72710ddeed7ca4b5b08498b8c5bebf723fee607b60
3
+ metadata.gz: 9eb7f6a848fd49e92f95073ea457a181427bf20e47ba869515a6510d43cc893d
4
+ data.tar.gz: cc69d4fa0b0b197c25cd873b30f6974dd669e136e39525fddd6813b72504010b
5
5
  SHA512:
6
- metadata.gz: b467938cd57dde4f5b9ae926d386d18707273c153729c279786f249543d7e46bcdc666f4db32e8120fac44a80e5845a12e863edd3f91ee39c7c23bbbadaa3c8a
7
- data.tar.gz: 29763852256aee1a4b902d3963742613af410e15277182f73851af80a5b39a704f2d8a4d73f44143e4e364808507ae40dfd3cdd04ad8e4b8d3ec8c51596c7145
6
+ metadata.gz: fe9b09b8ee6c02c20680851b8468336ed4c415987c70c19d1ceb3ec61c97898dbeee0b6cf1df1ad7b807f8797104897d75e497dadb21c52d68614028c9a3bf48
7
+ data.tar.gz: e6a29c5b00b2da302a6e621c0bde65809713391aa827a329ee29b890d244d4c75ecc7718f7179b29b0691580a50a2ecff0bdda598a7c00eeb88392fd83238fee
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2024-05-02 19:12:37 UTC using RuboCop version 1.62.1.
3
+ # on 2024-10-20 14:24:21 UTC using RuboCop version 1.64.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -94,6 +94,7 @@ Naming/ClassAndModuleCamelCase:
94
94
  # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
95
95
  Naming/FileName:
96
96
  Exclude:
97
+ - 'Rakefile.rb'
97
98
  - 'lib/hiera/backend/eyaml/CLI.rb'
98
99
 
99
100
  # Offense count: 3
@@ -127,13 +128,6 @@ Naming/VariableNumber:
127
128
  Exclude:
128
129
  - 'lib/hiera/backend/eyaml/utils.rb'
129
130
 
130
- # Offense count: 3
131
- # This cop supports unsafe autocorrection (--autocorrect-all).
132
- Performance/Casecmp:
133
- Exclude:
134
- - 'lib/hiera/backend/eyaml/highlinehelper.rb'
135
- - 'lib/hiera/backend/eyaml/utils.rb'
136
-
137
131
  # Offense count: 1
138
132
  # This cop supports unsafe autocorrection (--autocorrect-all).
139
133
  Performance/Detect:
@@ -270,6 +264,12 @@ Style/IfWithBooleanLiteralBranches:
270
264
  - 'lib/hiera/backend/eyaml/highlinehelper.rb'
271
265
  - 'lib/hiera/backend/eyaml_backend.rb'
272
266
 
267
+ # Offense count: 1
268
+ # This cop supports unsafe autocorrection (--autocorrect-all).
269
+ Style/MapIntoArray:
270
+ Exclude:
271
+ - 'lib/hiera/backend/eyaml_backend.rb'
272
+
273
273
  # Offense count: 1
274
274
  Style/MultilineBlockChain:
275
275
  Exclude:
data/CHANGELOG.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [v4.1.0](https://github.com/voxpupuli/hiera-eyaml/tree/v4.1.0) (2024-05-10)
5
+ ## [v4.2.0](https://github.com/voxpupuli/hiera-eyaml/tree/v4.2.0) (2024-10-21)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/hiera-eyaml/compare/v4.1.0...v4.2.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - highline: Allow 3.x [\#385](https://github.com/voxpupuli/hiera-eyaml/pull/385) ([bastelfreak](https://github.com/bastelfreak))
12
+
13
+ **Merged pull requests:**
14
+
15
+ - voxpupuli-rubocop: Fix version pinning, update 2.6-\>2.8 [\#384](https://github.com/voxpupuli/hiera-eyaml/pull/384) ([bastelfreak](https://github.com/bastelfreak))
16
+
17
+ ## [v4.1.0](https://github.com/voxpupuli/hiera-eyaml/tree/v4.1.0) (2024-05-13)
6
18
 
7
19
  [Full Changelog](https://github.com/voxpupuli/hiera-eyaml/compare/v4.0.0...v4.1.0)
8
20
 
data/hiera-eyaml.gemspec CHANGED
@@ -16,12 +16,12 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
17
17
  gem.require_paths = ['lib']
18
18
 
19
- gem.add_runtime_dependency 'highline', '~> 2.1'
19
+ gem.add_runtime_dependency 'highline', '>= 2.1', '< 4'
20
20
  gem.add_runtime_dependency 'optimist', '~> 3.1'
21
21
 
22
22
  gem.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
23
23
  gem.add_development_dependency 'rspec-expectations', '~> 3.13'
24
- gem.add_development_dependency 'voxpupuli-rubocop', '2.6.0'
24
+ gem.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0'
25
25
 
26
26
  gem.required_ruby_version = '>= 2.7', ' < 4'
27
27
  end
@@ -37,7 +37,7 @@ class Hiera
37
37
 
38
38
  class NonMatchToken < Token
39
39
  def initialize(non_match)
40
- super(non_match)
40
+ super
41
41
  end
42
42
 
43
43
  def to_encrypted(_args = {})
@@ -1,7 +1,7 @@
1
1
  class Hiera
2
2
  module Backend
3
3
  module Eyaml
4
- VERSION = '4.1.0'
4
+ VERSION = '4.2.0'
5
5
  DESCRIPTION = 'Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties'
6
6
 
7
7
  class RecoverableError < StandardError
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-eyaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '4'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '4'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: optimist
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,16 +82,16 @@ dependencies:
76
82
  name: voxpupuli-rubocop
77
83
  requirement: !ruby/object:Gem::Requirement
78
84
  requirements:
79
- - - '='
85
+ - - "~>"
80
86
  - !ruby/object:Gem::Version
81
- version: 2.6.0
87
+ version: 2.8.0
82
88
  type: :development
83
89
  prerelease: false
84
90
  version_requirements: !ruby/object:Gem::Requirement
85
91
  requirements:
86
- - - '='
92
+ - - "~>"
87
93
  - !ruby/object:Gem::Version
88
- version: 2.6.0
94
+ version: 2.8.0
89
95
  description: Hiera backend for decrypting encrypted yaml properties
90
96
  email: voxpupuli@groups.io
91
97
  executables: