Skip to content

Commit 68332eb

Browse files
committed
use standard version.rb file
1 parent e7bb67a commit 68332eb

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

entitlements-gitrepo-auditor-plugin.gemspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# frozen_string_literal: true
22

3+
require_relative "lib/version"
4+
35
Gem::Specification.new do |s|
46
s.name = "entitlements-gitrepo-auditor-plugin"
5-
s.version = File.read("VERSION").chomp
7+
s.version = Entitlements::Version::VERSION
68
s.summary = "Entitlements GitRepo Auditor"
7-
s.description = ""
9+
s.description = "Entitlements plugin for a robust audit log"
810
s.authors = ["GitHub, Inc. Security Ops"]
911
s.email = "[email protected]"
1012
s.license = "MIT"
11-
s.files = Dir.glob("lib/**/*") + %w[VERSION]
13+
s.files = Dir.glob("lib/**/*")
1214
s.homepage = "https://github.com/github/entitlements-gitrepo-auditor-plugin"
1315
s.executables = %w[]
1416

lib/version.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
module Entitlements
4+
module Version
5+
VERSION = "0.3.0"
6+
end
7+
end

0 commit comments

Comments
 (0)