Skip to content

Commit 9afdab0

Browse files
committed
Version 1.3.0-dev
1 parent 7160bb9 commit 9afdab0

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

lib/pycall/version.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
module PyCall
2-
VERSION = "1.2.1"
2+
VERSION = "1.3.0-dev"
3+
4+
module Version
5+
numbers, TAG = VERSION.split("-")
6+
MAJOR, MINOR, MICRO = numbers.split(".").map(&:to_i)
7+
STRING = VERSION
8+
end
39
end

pycall.gemspec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ require 'pycall/version'
55

66
Gem::Specification.new do |spec|
77
spec.name = "pycall"
8-
spec.version = PyCall::VERSION
8+
version_components = [
9+
PyCall::Version::MAJOR.to_s,
10+
PyCall::Version::MINOR.to_s,
11+
PyCall::Version::MICRO.to_s,
12+
PyCall::Version::TAG,
13+
]
14+
spec.version = version_components.compact.join(".")
915
spec.authors = ["Kenta Murata"]
1016
spec.email = ["[email protected]"]
1117

0 commit comments

Comments
 (0)