elastics-admin.gemspec in elastics-admin-1.0.10 vs elastics-admin.gemspec in elastics-admin-1.1.0

- old
+ new

@@ -1,16 +1,17 @@ require 'date' -version = File.read(File.expand_path('../VERSION', __FILE__)).strip +version_path = %w[../VERSION ../../VERSION].detect{|v| File.exist?(File.expand_path(v, __FILE__))} +version = File.read(File.expand_path(version_path, __FILE__)).strip Gem::Specification.new do |s| s.name = 'elastics-admin' s.summary = 'Dump/load/rename/live-redindex one or more elasticsearch indices and types.' s.description = 'Provides binary and rake tasks to dump, load and optionally rename indices. Implements live-reindex with hot-swap of old code/index with new code/index.' s.homepage = 'http://elastics.github.io/elastics' s.authors = ["Domizio Demichelis"] s.email = 'dd.nexus@gmail.com' s.executables = %w[elastics-admin] - s.files = `git ls-files -z`.split("\0") + s.files = `git ls-files -z`.split("\0") + %w[VERSION LICENSE] s.version = version s.date = Date.today.to_s s.required_rubygems_version = ">= 1.3.6" s.rdoc_options = %w[--charset=UTF-8] s.license = 'MIT'