From ac2a25d93ccd044ac3ea777a70ffd5e31db10d3a Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 10 May 2017 22:05:06 +0200 Subject: [PATCH] Rubocop -a for 2.4.1 sake --- lib/pundit.rb | 1 + lib/pundit/version.rb | 1 + pundit.gemspec | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/pundit.rb b/lib/pundit.rb index 559b8a6..70a1b9c 100644 --- a/lib/pundit.rb +++ b/lib/pundit.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + require "pundit/version" require "pundit/policy_finder" require "active_support/concern" diff --git a/lib/pundit/version.rb b/lib/pundit/version.rb index 6f1075a..4f2dd7e 100644 --- a/lib/pundit/version.rb +++ b/lib/pundit/version.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + module Pundit VERSION = "1.1.0".freeze end diff --git a/pundit.gemspec b/pundit.gemspec index aac0fee..66adb1e 100644 --- a/pundit.gemspec +++ b/pundit.gemspec @@ -1,4 +1,5 @@ # -*- encoding: utf-8 -*- + lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "pundit/version"