cumo.gemspec in cumo-0.2.5 vs cumo.gemspec in cumo-0.3.0.pre1
- old
+ new
@@ -1,9 +1,9 @@
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-cumo_version = File.read(File.join(__dir__, "ext/cumo/include/cumo.h")).match(/CUMO_VERSION "([\d.]+)"/)[1]
+cumo_version = File.read(File.join(__dir__, "ext/cumo/include/cumo.h")).match(/CUMO_VERSION "([^"]+)"/)[1]
numo_narray_version = File.read(File.join(__dir__, "numo-narray-version")).strip
Gem::Specification.new do |spec|
spec.name = "cumo"
spec.version = cumo_version