Skip to content

Commit eace728

Browse files
committed
Read gem version from version.rb
1 parent 2c9dd7e commit eace728

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

annotate.gemspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# -*- encoding: utf-8 -*-
2-
# stub: annotate 2.6.3 ruby lib
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'annotate/version'
35

46
Gem::Specification.new do |s|
57
s.name = "annotate"
6-
s.version = "2.6.3"
8+
s.version = Annotate.version
79

810
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
911
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"]

0 commit comments

Comments
 (0)