meilisearch-rails.gemspec in meilisearch-rails-0.5.1 vs meilisearch-rails.gemspec in meilisearch-rails-0.5.2

- old
+ new

@@ -1,22 +1,24 @@ -require File.join(File.dirname(__FILE__), 'lib', 'meilisearch', 'rails', 'version') +lib = File.expand_path('lib', __dir__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'date' +require 'meilisearch/rails/version' Gem::Specification.new do |s| s.name = 'meilisearch-rails' s.version = MeiliSearch::Rails::VERSION - s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version= s.authors = ['Meili'] - s.description = 'Meilisearch integration for Ruby on Rails. See https://github.com/meilisearch/meilisearch' s.email = 'bonjour@meilisearch.com' - s.homepage = 'http://github.com/meilisearch/meilisearch-rails' - s.licenses = ['MIT'] - s.require_paths = ['lib'] + + s.description = 'Meilisearch integration for Ruby on Rails. See https://github.com/meilisearch/meilisearch' + s.homepage = 'https://github.com/meilisearch/meilisearch-rails' s.summary = 'Meilisearch integration for Ruby on Rails.' + s.licenses = 'MIT' + s.require_paths = ['lib'] + s.extra_rdoc_files = [ 'LICENSE', 'README.md' ] @@ -29,8 +31,8 @@ 'README.md', 'Rakefile' ] s.required_ruby_version = '>= 2.6.0' - s.add_dependency('json', ['>= 1.5.1']) - s.add_dependency('meilisearch', ['>= 0.15.4']) + + s.add_dependency 'meilisearch', '~> 0.18' end