diff --git a/CHANGELOG.md b/CHANGELOG.md index 58dac51..51095c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## to 0.6.0 + +* move away from sha1 since they are not supported anymore on all distributions +* fix tests on various platforms and newer ruby versions +* introduce hooks for set and delete actions + ## to 0.5.1 * support more moneta versions (#78) - Thank you [jcharaoui](https://github.com/jcharaoui) diff --git a/lib/VERSION b/lib/VERSION index b720ed5..1af0bb5 100644 --- a/lib/VERSION +++ b/lib/VERSION @@ -1,4 +1,4 @@ major:0 -minor:5 -patch:1 +minor:6 +patch:0 build: diff --git a/trocla.gemspec b/trocla.gemspec index 730bb1f..64c74ac 100644 --- a/trocla.gemspec +++ b/trocla.gemspec @@ -2,16 +2,16 @@ # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: trocla 0.5.1 ruby lib +# stub: trocla 0.6.0 ruby lib Gem::Specification.new do |s| s.name = "trocla".freeze - s.version = "0.5.1" + s.version = "0.6.0".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["mh".freeze] - s.date = "2023-02-17" + s.date = "2024-12-30" s.description = "Trocla helps you to generate random passwords and to store them in various formats (plain, MD5, bcrypt) for later retrival.".freeze s.email = "mh+trocla@immerda.ch".freeze s.executables = ["trocla".freeze] @@ -49,6 +49,7 @@ Gem::Specification.new do |s| "lib/trocla/formats/sshkey.rb", "lib/trocla/formats/wireguard.rb", "lib/trocla/formats/x509.rb", + "lib/trocla/hooks.rb", "lib/trocla/store.rb", "lib/trocla/stores.rb", "lib/trocla/stores/memory.rb", @@ -57,12 +58,15 @@ Gem::Specification.new do |s| "lib/trocla/util.rb", "lib/trocla/version.rb", "spec/data/.keep", + "spec/fixtures/delete_test_hook.rb", + "spec/fixtures/set_test_hook.rb", "spec/spec_helper.rb", "spec/trocla/encryptions/none_spec.rb", "spec/trocla/encryptions/ssl_spec.rb", "spec/trocla/formats/pgsql_spec.rb", "spec/trocla/formats/sshkey_spec.rb", "spec/trocla/formats/x509_spec.rb", + "spec/trocla/hooks_spec.rb", "spec/trocla/store/memory_spec.rb", "spec/trocla/store/moneta_spec.rb", "spec/trocla/util_spec.rb", @@ -71,35 +75,20 @@ Gem::Specification.new do |s| ] s.homepage = "https://tech.immerda.ch/2011/12/trocla-get-hashed-passwords-out-of-puppet-manifests/".freeze s.licenses = ["GPLv3".freeze] - s.rubygems_version = "3.3.26".freeze + s.rubygems_version = "3.5.22".freeze s.summary = "Trocla a simple password generator and storage".freeze - if s.respond_to? :specification_version then - s.specification_version = 4 - end + s.specification_version = 4 - if s.respond_to? :add_runtime_dependency then - s.add_runtime_dependency(%q.freeze, ["~> 2.0.0"]) - s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) - s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, ["~> 2.0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - else - s.add_dependency(%q.freeze, ["~> 2.0.0"]) - s.add_dependency(%q.freeze, ["~> 1.0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, ["~> 2.0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - end + s.add_runtime_dependency(%q.freeze, ["~> 2.0.0".freeze]) + s.add_runtime_dependency(%q.freeze, ["~> 1.0".freeze]) + s.add_runtime_dependency(%q.freeze, [">= 0".freeze]) + s.add_runtime_dependency(%q.freeze, [">= 0".freeze]) + s.add_development_dependency(%q.freeze, [">= 0".freeze]) + s.add_development_dependency(%q.freeze, [">= 0".freeze]) + s.add_development_dependency(%q.freeze, ["~> 2.0".freeze]) + s.add_development_dependency(%q.freeze, [">= 0".freeze]) + s.add_development_dependency(%q.freeze, [">= 0".freeze]) + s.add_development_dependency(%q.freeze, [">= 0".freeze]) end