From a2f30b4c15aa367ad0df933908d5bea11f1eb9c5 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 12 Jul 2024 14:26:01 +0200 Subject: [PATCH] Remove VERSION.yml Usually we track the version in the gemspec. This gem was a bit special and tracked it in the VERSION.yml. To keep the setup identical to our other gems, I'm removing the VERSION.yml. --- VERSION.yml | 3 --- json-schema.gemspec | 10 ++-------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 VERSION.yml diff --git a/VERSION.yml b/VERSION.yml deleted file mode 100644 index 5f6ebd59..00000000 --- a/VERSION.yml +++ /dev/null @@ -1,3 +0,0 @@ -major: 4 -minor: 3 -patch: 1 diff --git a/json-schema.gemspec b/json-schema.gemspec index 1566124d..bb54e590 100644 --- a/json-schema.gemspec +++ b/json-schema.gemspec @@ -1,12 +1,6 @@ -require 'yaml' - -version_yaml = YAML.load(File.open(File.expand_path('../VERSION.yml', __FILE__)).read) -version = "#{version_yaml['major']}.#{version_yaml['minor']}.#{version_yaml['patch']}" -gem_name = 'json-schema' - Gem::Specification.new do |s| - s.name = gem_name - s.version = version + s.name = 'json-schema' + s.version = '4.3.1' s.authors = ['Kenny Hoxworth', 'Vox Pupuli'] s.email = 'voxpupuli@groups.io' s.homepage = 'https://github.com/voxpupuli/json-schema/'