pycall.gemspec in pycall-1.2.1 vs pycall.gemspec in pycall-1.3.0.dev

- old
+ new

@@ -3,10 +3,16 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'pycall/version' Gem::Specification.new do |spec| spec.name = "pycall" - spec.version = PyCall::VERSION + version_components = [ + PyCall::Version::MAJOR.to_s, + PyCall::Version::MINOR.to_s, + PyCall::Version::MICRO.to_s, + PyCall::Version::TAG, + ] + spec.version = version_components.compact.join(".") spec.authors = ["Kenta Murata"] spec.email = ["mrkn@mrkn.jp"] spec.summary = %q{pycall} spec.description = %q{pycall}