mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Gem release management. (#614)
* Use `bake-gem` for release management. * Prefer `require_relative` for loading `version.rb` in gemspec.
This commit is contained in:
parent
b708de32f3
commit
02ef216788
2 changed files with 6 additions and 4 deletions
5
Gemfile
5
Gemfile
|
|
@ -3,3 +3,8 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gemspec
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue