carte.gemspec in carte-server-0.0.20 vs carte.gemspec in carte-server-0.0.21

- old
+ new

@@ -1,12 +1,12 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'carte/server/version' +require 'json' Gem::Specification.new do |spec| spec.name = "carte-server" - spec.version = Carte::Server::VERSION + spec.version = JSON.parse(File.read("./package.json"))['version'] spec.authors = ["tily"] spec.email = ["tidnlyam@gmail.com"] spec.summary = %q{something like dictionary, wiki, or information card} spec.description = %q{something like dictionary, wiki, or information card} spec.homepage = ""