diff --git a/Gemfile b/Gemfile index 7f4f5e95..69753c94 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,8 @@ source 'https://rubygems.org' gemspec + +group :maintenance, optional: true do + gem "bake" + gem "bake-gem" +end diff --git a/rack-attack.gemspec b/rack-attack.gemspec index 25849538..1cfe2b9f 100644 --- a/rack-attack.gemspec +++ b/rack-attack.gemspec @@ -1,9 +1,6 @@ # frozen_string_literal: true -lib = File.expand_path('lib', __dir__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) - -require 'rack/attack/version' +require_relative 'lib/rack/attack/version' Gem::Specification.new do |s| s.name = 'rack-attack'