algoliasearch-rails 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05d79fea6be33d2b368545b05d61ff20d6c9ebc24c82c6ebce9d101b5dd6c1be
4
- data.tar.gz: 9d321dcbd147b7f566b520cc2c9f536a505451ede8a654bcb58a39aa68190b4c
3
+ metadata.gz: a93eb9160dcd68998d5f05a33a788a8737888c07d14c3e9fa1d3e36c758b6117
4
+ data.tar.gz: b397ac486ee7514abd0612bf80f28d37c09299441e1aeb5cf363a9c48d627fd7
5
5
  SHA512:
6
- metadata.gz: 90c767d7f18c8b3c4262851b76b7a2ce1985b54b0b865ce735f9730f13f0680884965999a055e2b8a20912e9bdc777395100df71639888e38a6c4a315629f5ab
7
- data.tar.gz: 3bbe879c074ca6debba2c4966917595f7f530f3c5a625d43958e00e73927495ebf183e711067c3ae2cdef4e7eb89c6b26357dab48ae1bf71a18eac6f07396345
6
+ metadata.gz: f6b148d577533959db2df41f33169ad9df554287a771057fa5a980e8804ac40282cee2e49f50342de89d08806890766e88f06b94ea7a456496cc637cbdbc4a4a
7
+ data.tar.gz: 5dcea86a0adfbbef31067f679116873b2e30317950eac88dd9a6e9f9100ccfea1190d630ddd34cbca88d9c05ffa8b01e27550c5e371c0816a12461ccef97fac2
data/CHANGELOG.MD CHANGED
@@ -1,6 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ## [Unreleased](https://github.com/algolia/algoliasearch-rails/compare/2.1.3...master)
3
+ ## [Unreleased](https://github.com/algolia/algoliasearch-rails/compare/2.1.4...master)
4
+
5
+ ## [2.1.4](https://github.com/algolia/algoliasearch-rails/compare/2.1.4...2.1.3)
6
+ ### Fixed
7
+ - File formatting [`#414`](https://github.com/algolia/algoliasearch-rails/pull/414)
8
+ - Document supported Rails versions [`#407`](https://github.com/algolia/algoliasearch-rails/pull/407)
9
+ - Fixed error when using `:check_settings => false` [`#413`](https://github.com/algolia/algoliasearch-rails/pull/413)
10
+
11
+ ### Removed
12
+ - Old references to TravisCI [`#408`](https://github.com/algolia/algoliasearch-rails/pull/408)
4
13
 
5
14
  ## [2.1.3](https://github.com/algolia/algoliasearch-rails/compare/2.1.3...2.1.2)
6
15
  ### Fixed
data/Gemfile CHANGED
@@ -27,7 +27,6 @@ group :test do
27
27
  end
28
28
 
29
29
  group :development do
30
- gem 'travis'
31
30
  gem 'rake', '~> 10.1.0'
32
31
  gem 'rdoc'
33
32
  end
data/README.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
  This gem let you easily integrate the Algolia Search API to your favorite ORM. It's based on the [algoliasearch-client-ruby](https://github.com/algolia/algoliasearch-client-ruby) gem.
29
- Rails 3.x, 4.x and 5.x are all supported.
29
+ Rails 5.x and 6.x are supported.
30
30
 
31
31
  You might be interested in the sample Ruby on Rails application providing a `autocomplete.js`-based auto-completion and `InstantSearch.js`-based instant search results page: [algoliasearch-rails-example](https://github.com/algolia/algoliasearch-rails-example/).
32
32
 
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.files = [
22
22
  ".document",
23
23
  ".rspec",
24
- ".travis.yml",
25
24
  "CHANGELOG.MD",
26
25
  "Gemfile",
27
26
  "Gemfile.lock",
@@ -82,7 +81,6 @@ Gem::Specification.new do |s|
82
81
  s.add_runtime_dependency(%q<algolia>, ["< 3.0.0"])
83
82
  s.add_development_dependency(%q<will_paginate>, [">= 2.3.15"])
84
83
  s.add_development_dependency(%q<kaminari>, [">= 0"])
85
- s.add_development_dependency "travis"
86
84
  s.add_development_dependency "rake"
87
85
  s.add_development_dependency "rdoc"
88
86
  else
@@ -1,3 +1,3 @@
1
1
  module AlgoliaSearch
2
- VERSION = '2.1.3'
2
+ VERSION = '2.1.4'
3
3
  end
@@ -547,13 +547,13 @@ module AlgoliaSearch
547
547
  tmp_settings = settings.dup
548
548
 
549
549
  if options[:check_settings] == false
550
- @client.copy_index!(src_index_name, tmp_index_name, %w(settings synonyms rules))
550
+ AlgoliaSearch.client.copy_index!(src_index_name, tmp_index_name, { scope: %w[settings synonyms rules] })
551
551
  tmp_index = SafeIndex.new(tmp_index_name, !!options[:raise_on_failure])
552
552
  else
553
553
  tmp_index = algolia_ensure_init(tmp_options, tmp_settings, master_settings)
554
554
  end
555
555
 
556
- algolia_find_in_batches(batch_size) do |group|
556
+ algolia_find_in_batches(batch_size) do |group|
557
557
  if algolia_conditional_index?(options)
558
558
  # select only indexable objects
559
559
  group = group.select { |o| algolia_indexable?(o, tmp_options) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algoliasearch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-25 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: travis
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +105,6 @@ extra_rdoc_files:
119
105
  files:
120
106
  - ".document"
121
107
  - ".rspec"
122
- - ".travis.yml"
123
108
  - CHANGELOG.MD
124
109
  - Gemfile
125
110
  - Gemfile.lock
data/.travis.yml DELETED
@@ -1,62 +0,0 @@
1
- language: ruby
2
-
3
- branches:
4
- only:
5
- - master
6
-
7
- matrix:
8
- include:
9
- - rvm: 1.8.7
10
- env: RAILS_VERSION=3.2.0 SEQUEL_VERSION=4.0
11
- dist: trusty
12
- - rvm: 1.9.3
13
- env: RAILS_VERSION=3.2.0
14
- - rvm: 1.9.3
15
- env: RAILS_VERSION=4.2
16
- - rvm: 2.2.9
17
- env: RAILS_VERSION=3.2.0
18
- - rvm: 2.2.9
19
- env: RAILS_VERSION=4.2
20
- - rvm: 2.2.9
21
- env: RAILS_VERSION=5.1
22
- - rvm: 2.3.6
23
- env: RAILS_VERSION=3.2.0
24
- - rvm: 2.3.6
25
- env: RAILS_VERSION=4.2
26
- - rvm: 2.3.6
27
- env: RAILS_VERSION=5.1
28
- - rvm: 2.4.3
29
- env: RAILS_VERSION=4.2
30
- - rvm: 2.4.3
31
- env: RAILS_VERSION=5.1 SEQUEL_VERSION=4.0
32
- - rvm: 2.4.3
33
- env: RAILS_VERSION=5.1 SEQUEL_VERSION=5.0
34
- - rvm: 2.5.3
35
- env: RAILS_VERSION=5.1 SEQUEL_VERSION=5.0
36
- - rvm: 2.5.3
37
- env: RAILS_VERSION=6.0 SEQUEL_VERSION=5.0
38
- - rvm: 2.6.0
39
- env: RAILS_VERSION=5.2 SEQUEL_VERSION=5.0
40
- - rvm: 2.6.0
41
- env: RAILS_VERSION=6.0 SEQUEL_VERSION=5.0
42
- - rvm: 2.7.0
43
- env: RAILS_VERSION=5.2 SEQUEL_VERSION=5.0
44
- - rvm: 2.7.0
45
- env: RAILS_VERSION=6.0 SEQUEL_VERSION=5.0
46
-
47
- before_install:
48
- - wget http://api-key-dealer.herokuapp.com/clients/algolia-keys && chmod +x algolia-keys
49
- - which bundle || true
50
- - find /home/travis/.rvm -wholename "*/bundler-*.gemspec" -print -delete || true
51
- - bundle --version || true
52
- - gem uninstall bundler || true
53
- - bundle --version || true
54
- - gem install bundler -v 1.17.3
55
- - bundle --version
56
-
57
- install: rm -f Gemfile.lock && bundle install --without development
58
-
59
- cache: bundler
60
-
61
- script:
62
- - eval $(./algolia-keys export) && bundle exec rake