diff --git a/capistrano-chewy.gemspec b/capistrano-chewy.gemspec index a26c1a3..50d11dd 100644 --- a/capistrano-chewy.gemspec +++ b/capistrano-chewy.gemspec @@ -1,4 +1,4 @@ -# coding: utf-8 +# encoding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'capistrano-chewy/version' @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.name = 'capistrano-chewy' spec.version = CapistranoChewy.gem_version spec.authors = ['Nikita Bulai'] - spec.date = '2016-10-19' + spec.date = '2016-10-20' spec.email = ['bulajnikita@gmail.com'] spec.summary = 'Manage and continuously rebuild your ElasticSearch indexes with Chewy and Capistrano' spec.description = 'Manage and continuously rebuild your ElasticSearch indexes with Chewy and Capistrano v3.' @@ -19,6 +19,8 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 1.9.3' + spec.add_dependency 'capistrano', '~> 3.0' spec.add_dependency 'chewy', '~> 0.4' diff --git a/lib/capistrano-chewy/version.rb b/lib/capistrano-chewy/version.rb index b9de4d0..932baba 100644 --- a/lib/capistrano-chewy/version.rb +++ b/lib/capistrano-chewy/version.rb @@ -6,7 +6,7 @@ def self.gem_version module VERSION MAJOR = 0 MINOR = 2 - TINY = 0 + TINY = 1 STRING = [MAJOR, MINOR, TINY].compact.join('.') end diff --git a/lib/capistrano/tasks/chewy.rake b/lib/capistrano/tasks/chewy.rake index a7b9237..3764cf0 100644 --- a/lib/capistrano/tasks/chewy.rake +++ b/lib/capistrano/tasks/chewy.rake @@ -105,7 +105,6 @@ namespace :deploy do # If diff is empty then indices have not changed if changes.empty? info 'Skipping `deploy:chewy:rebuilding` (nothing changed in the Chewy path)' - exit 0 else indexes_to_reset = changes.changed.concat(changes.added) indexes_to_delete = changes.removed