From 1335a32a58f7d5ba69308d2aafeebc73f579e67f Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Fri, 22 Dec 2023 01:39:35 +0000 Subject: [PATCH] Remove `version.rb` file --- lib/rubocop-cargosense.rb | 1 - lib/rubocop/cargosense/version.rb | 8 -------- rubocop-cargosense.gemspec | 4 +--- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 lib/rubocop/cargosense/version.rb diff --git a/lib/rubocop-cargosense.rb b/lib/rubocop-cargosense.rb index 34d1ba9..8ee7e52 100644 --- a/lib/rubocop-cargosense.rb +++ b/lib/rubocop-cargosense.rb @@ -5,7 +5,6 @@ require "rubocop-rake" require_relative "rubocop/cargosense" -require_relative "rubocop/cargosense/version" require_relative "rubocop/cargosense/inject" RuboCop::CargoSense::Inject.defaults! diff --git a/lib/rubocop/cargosense/version.rb b/lib/rubocop/cargosense/version.rb deleted file mode 100644 index 399e30f..0000000 --- a/lib/rubocop/cargosense/version.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -module RuboCop - module CargoSense - VERSION = "0.1.0" - public_constant :VERSION - end -end diff --git a/rubocop-cargosense.gemspec b/rubocop-cargosense.gemspec index 643d83e..2f97ace 100644 --- a/rubocop-cargosense.gemspec +++ b/rubocop-cargosense.gemspec @@ -1,12 +1,10 @@ # frozen_string_literal: true -require_relative "lib/rubocop/cargosense/version" - Gem::Specification.new do |spec| spec.required_ruby_version = ">= 3.0" spec.name = "rubocop-cargosense" - spec.version = RuboCop::CargoSense::VERSION + spec.version = "0.1.0" spec.authors = ["CargoSense"] spec.email = ["rubygems@cargosense.com"]