ncode-syosetu-epub3.gemspec in ncode-syosetu-epub3-0.1.1 vs ncode-syosetu-epub3.gemspec in ncode-syosetu-epub3-0.1.2
- old
+ new
@@ -1,11 +1,11 @@
# coding: utf-8
-require_relative '../ncode-syosetu-core/lib/ncode_syosetu/version'
+GEM_VERSION = File.read("../ncode-syosetu-core/lib/ncode_syosetu/version.rb") =~ /"(.+)"/ && $1
Gem::Specification.new do |spec|
spec.name = "ncode-syosetu-epub3"
- spec.version = NcodeSyosetu::VERSION
+ spec.version = GEM_VERSION
spec.authors = ["hogelog"]
spec.email = ["konbu.komuro@gmail.com"]
spec.summary = %q{Ncode syosetu to epub3 converter}
spec.homepage = "https://github.com/hogelog/ncode-syosetu"
@@ -16,11 +16,11 @@
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_dependency "ncode-syosetu-core", NcodeSyosetu::VERSION
- spec.add_dependency "gepub", "0.6.9.2"
+ spec.add_dependency "ncode-syosetu-core", GEM_VERSION
+ spec.add_dependency "gepub", "~> 0.6.9"
spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end