From 848a32c57b46f11fe4ed51c7939891b8c51e72c8 Mon Sep 17 00:00:00 2001 From: Klas Eskilson Date: Wed, 3 May 2017 13:42:54 +0200 Subject: [PATCH 1/2] [Gemspec] Support Administrate 0.6 Signed-off-by: Klas Eskilson --- administrate-field-belongs_to_search.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrate-field-belongs_to_search.gemspec b/administrate-field-belongs_to_search.gemspec index 89a85d1..b14a98e 100755 --- a/administrate-field-belongs_to_search.gemspec +++ b/administrate-field-belongs_to_search.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |gem| gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) } gem.test_files = `git ls-files -z -- {spec}/*`.split("\x0") - gem.add_dependency 'administrate', '>= 0.3', '< 0.6' + gem.add_dependency 'administrate', '>= 0.3', '< 0.7' gem.add_dependency 'rails', '>= 4.2', '< 5.1' gem.add_dependency 'selectize-rails', '~> 0.6' From 445e179690d14117a69890c6212eaae054da3895 Mon Sep 17 00:00:00 2001 From: Klas Eskilson Date: Wed, 3 May 2017 13:57:49 +0200 Subject: [PATCH 2/2] [rubocop] --- administrate-field-belongs_to_search.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrate-field-belongs_to_search.gemspec b/administrate-field-belongs_to_search.gemspec index b14a98e..2291374 100755 --- a/administrate-field-belongs_to_search.gemspec +++ b/administrate-field-belongs_to_search.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |gem| gem.summary = 'Plugin that adds search capabilities to belongs_to associations for Administrate' gem.license = 'MIT' - gem.require_paths = %w(lib) + gem.require_paths = %w[lib] gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) } gem.test_files = `git ls-files -z -- {spec}/*`.split("\x0")