Skip to content

Commit d28fc72

Browse files
committed
Extension version number now a constant within lib
1 parent 51cdcd7 commit d28fc72

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

concurrent-ruby-ext.gemspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
$:.push File.join(File.dirname(__FILE__), 'lib')
2+
3+
require 'concurrent/version'
4+
15
Gem::Specification.new do |s|
26
s.name = 'concurrent-ruby-ext'
3-
s.version = '0.1.0.pre1'
7+
s.version = Concurrent::EXT_VERSION
48
s.platform = Gem::Platform::RUBY
59
s.author = "Jerry D'Antonio"
610
s.email = '[email protected]'

lib/concurrent/version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module Concurrent
22
VERSION = '0.8.0.pre1'
3+
EXT_VERSION = '0.1.0.pre1'
34
end

0 commit comments

Comments
 (0)