From fc51dbdf86c104dd50fca6e88ad8c4cb96a2d471 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Sun, 15 Mar 2020 23:57:38 +0100 Subject: [PATCH] chore(dev): simplify require for version --- jekyll-seo-tag.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jekyll-seo-tag.gemspec b/jekyll-seo-tag.gemspec index f2daaaa..8703f69 100644 --- a/jekyll-seo-tag.gemspec +++ b/jekyll-seo-tag.gemspec @@ -1,8 +1,6 @@ # frozen_string_literal: true -lib = File.expand_path("lib", __dir__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "jekyll-seo-tag/version" +require_relative "lib/jekyll-seo-tag/version" Gem::Specification.new do |spec| spec.name = "jekyll-seo-tag"