Skip to content

Commit bf2c7bf

Browse files
author
Michael Yockey
committed
chore: Moving Gem version parameter into constant
1 parent 79af20f commit bf2c7bf

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

forte.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
$:.unshift File.expand_path("../lib", __FILE__)
2+
require 'forte/version'
23

34
Gem::Specification.new do |s|
45
s.name = 'forte'
56
s.description = 'Create an authorized_keys file for a shared shell account from a repository of public key files '
67
s.homepage = 'https://github.com/yock/forte'
7-
s.version = '0.0.4'
8+
s.version = Forte::VERSION
89
s.summary = 'Create an authorized_keys file for a shared shell account from a repository of public key files'
910
s.platform = Gem::Platform::RUBY
1011
s.authors = ['Michael Yockey', 'Ryan Cromwell']

lib/forte.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
require 'forte/base'
66
require 'forte/keyfile'
77
require 'forte/repo_location'
8+
require 'forte/version'

lib/forte/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Forte
2+
VERSION = "1.0.0"
3+
end

0 commit comments

Comments
 (0)