From ce29753daee9fc41e5cecc5cab6fc06ca53d8deb Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Wed, 3 Nov 2021 14:38:05 +0200 Subject: [PATCH] Standardize version --- http_logger.gemspec | 12 ++++++------ lib/http_logger/version.rb | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 lib/http_logger/version.rb diff --git a/http_logger.gemspec b/http_logger.gemspec index 919dd09..17bfae3 100644 --- a/http_logger.gemspec +++ b/http_logger.gemspec @@ -1,12 +1,12 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- -# stub: http_logger 0.6.0 ruby lib +# frozen_string_literal: true +# encoding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require "http_logger/version" Gem::Specification.new do |s| s.name = "http_logger".freeze - s.version = "0.6.0" + s.version = HttpLogger::VERSION s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] diff --git a/lib/http_logger/version.rb b/lib/http_logger/version.rb new file mode 100644 index 0000000..e4ecdd7 --- /dev/null +++ b/lib/http_logger/version.rb @@ -0,0 +1,3 @@ +class HttpLogger + VERSION = "0.7.0" +end