diff --git a/Gemfile b/Gemfile index e9c6431..9e0cfaf 100644 --- a/Gemfile +++ b/Gemfile @@ -11,3 +11,4 @@ gem "simplecov" gem "yard" gem "standard" gem "actionpack", ">= 3.0.0" +gem "reissue" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 3f1a2d0..e4ed5a2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -99,6 +99,8 @@ GEM rdoc (6.6.3.1) psych (>= 4.0.0) regexp_parser (2.9.0) + reissue (0.3.0) + rake reline (0.5.1) io-console (~> 0.5) rexml (3.2.6) @@ -165,6 +167,7 @@ DEPENDENCIES debug pundit-plus! rake + reissue rspec simplecov standard diff --git a/Rakefile b/Rakefile index b6ae734..d749eb3 100644 --- a/Rakefile +++ b/Rakefile @@ -6,3 +6,9 @@ require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task default: :spec + +require "reissue/gem" + +Reissue::Task.create do |task| + task.version_file = "lib/pundit/plus/version.rb" +end \ No newline at end of file