trestle-search.gemspec in trestle-search-0.4.1 vs trestle-search.gemspec in trestle-search-0.4.2

- old
+ new

@@ -1,26 +1,28 @@ -# coding: utf-8 -lib = File.expand_path('../lib', __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'trestle/search/version' +require_relative 'lib/trestle/search/version' Gem::Specification.new do |spec| spec.name = "trestle-search" spec.version = Trestle::Search::VERSION spec.authors = ["Sam Pohlenz"] spec.email = ["sam@sampohlenz.com"] spec.summary = "Search plugin for the Trestle admin framework" - spec.description = "Search plugin for the Trestle admin framework." spec.homepage = "https://www.trestle.io" spec.license = "LGPL-3.0" - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) } + end + spec.require_paths = ["lib"] - spec.add_dependency "trestle", "~> 0.9.0" + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") - spec.add_development_dependency "bundler", "~> 1.12" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.0" + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "https://github.com/TrestleAdmin/trestle-search" + + spec.add_dependency "trestle", "~> 0.9.0", ">= 0.9.3" + + spec.add_development_dependency "rspec-rails", "~> 3.0" end