From a6a1c13afbd439c47620b42cd9fc876b5c7c7b23 Mon Sep 17 00:00:00 2001 From: David Rice Date: Thu, 11 Apr 2024 13:21:42 +0100 Subject: [PATCH] build: load version from Atco::VERSION constant --- atco.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atco.gemspec b/atco.gemspec index 107d488..b001fb9 100644 --- a/atco.gemspec +++ b/atco.gemspec @@ -1,8 +1,10 @@ # frozen_string_literal: true +require_relative "lib/atco/version" + Gem::Specification.new do |s| s.name = 'atco' - s.version = '1.0.0' + s.version = Atco::VERSION s.description = 'Simple and opinionated library for parsing ATCO .cif files to JSON with Ruby' s.summary = 'Parse ATCO .cif files to JSON with Ruby' s.homepage = 'http://github.com/davidjrice/atco'