algoliasearch-rails 1.14.1 → 1.15.0

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
  SHA1:
3
- metadata.gz: b1f26e503ad9a342711d9865b29b8492266f804d
4
- data.tar.gz: fe5de346ee680aee2b1fce0cbe578f0f04e92fd3
3
+ metadata.gz: df3e7f9bd285e7ac5e16f74eadec85e49ee6aa2a
4
+ data.tar.gz: 527a9fa13f684758cd97e9d8d013e34b6562f264
5
5
  SHA512:
6
- metadata.gz: 387df53ea4535b2567a68bc3d119ab2e40c45e6bd2e194bc4246bdcdedbcb7fc388fca0dac8086b280fea3a940d80d03a46dcdb04f65be867c85a98f8c473709
7
- data.tar.gz: 9d9de4cae2a1bb92441a82227a387b1ab2a2058156f826a67e39b00f9ce407f52a794c7663684d6f19ba5312414c14a476dce79e669e181089f685a1f782fbd9
6
+ metadata.gz: 2c81aead7ea6f59aec825190143fc23407a18247cad4a4bdfab6c3d8e62acdd9e5f8977a3f13827b756bf9774e92f72540b7ad60bb3cc713a8dd2d12f4e9d882
7
+ data.tar.gz: c8b9cf816d8d62179bb845b3a2efbc783749bff2c71b5de3ae78e7586dec1ae72d00ff7c283e2a0a02553bf216c9c43a5c18f25b0660f28e7b3b297bf92174d0
data/.travis.yml CHANGED
@@ -2,15 +2,44 @@ language: ruby
2
2
  branches:
3
3
  only:
4
4
  - master
5
- rvm:
6
- - 1.8.7
7
- - 1.9.3
8
- - 2.0.0
9
- - 2.1
10
- - 2.2
11
- - jruby
12
- - rbx-2
13
- install: bundle update
5
+ matrix:
6
+ include:
7
+ - rvm: 1.8.7
8
+ env: RAILS_VERSION=3.2.0
9
+ - rvm: 1.9.3
10
+ env: RAILS_VERSION=3.2.0
11
+ - rvm: 1.9.3
12
+ env: RAILS_VERSION=4.2
13
+ - rvm: 2.2.5
14
+ env: RAILS_VERSION=3.2.0
15
+ - rvm: 2.2.5
16
+ env: RAILS_VERSION=4.2
17
+ - rvm: 2.2.5
18
+ env: RAILS_VERSION=5.0
19
+ - rvm: 2.3.1
20
+ env: RAILS_VERSION=3.2.0
21
+ - rvm: 2.3.1
22
+ env: RAILS_VERSION=4.2
23
+ - rvm: 2.3.1
24
+ env: RAILS_VERSION=5.0
25
+ - rvm: jruby-9.1.2.0
26
+ env: RAILS_VERSION=3.2.0
27
+ - rvm: jruby-9.1.2.0
28
+ env: RAILS_VERSION=4.2
29
+ - rvm: jruby-9.1.2.0
30
+ env: RAILS_VERSION=5.0
31
+ - rvm: rbx-2
32
+ env: RAILS_VERSION=3.2.0
33
+ - rvm: rbx-2
34
+ env: RAILS_VERSION=4.2
35
+ - rvm: rbx-3.20
36
+ env: RAILS_VERSION=3.2.0
37
+ - rvm: rbx-3.20
38
+ env: RAILS_VERSION=4.2
39
+ - rvm: rbx-3.20
40
+ env: RAILS_VERSION=5.0
41
+ install: rm -f Gemfile.lock && bundle install
42
+ cache: bundler
14
43
  env:
15
44
  global:
16
45
  - secure: kD+PX8ZNg+AAzyr6WYs1vp9teAkzMfEoYkIMI0hrRN0ml9ccJVsJR1pIGpaIwyCa5PmFtCZ1Xi2vFb4XzTTeaZoHHS/ll9LwuQH6mwvdgj3n6TmNRdq3b/oGRHBX4Z0HMobqaftuzY/V8iTpVk92jwIY8NPj00k055b2jrKqhdw=
data/ChangeLog CHANGED
@@ -1,5 +1,13 @@
1
1
  CHANGELOG
2
2
 
3
+ 2016-08-21 1.15.0
4
+
5
+ * Upgrade to AlgoliaSearch JS API client 3.18.0
6
+ * Upgrade to AlgoliaSearch Ruby API client 1.11.0
7
+ * Official support of Rails 5.x
8
+ * Reduce 404 logging if get_settings on a non-existing index
9
+ * Here and there fixes
10
+
3
11
  2015-08-19 1.14.1
4
12
 
5
13
  * Upgrade to AlgoliaSearch JS API client 3.7.5
data/Gemfile CHANGED
@@ -1,27 +1,29 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'json', '>= 1.5.1'
4
- gem 'algoliasearch', '~> 1.2.14'
3
+ gem 'json', '~> 1.5', '>= 1.5.1'
4
+ gem 'algoliasearch', '~> 1.11.0'
5
5
  gem 'rubysl', '~> 2.0', :platform => :rbx
6
6
 
7
7
  group :test do
8
- gem 'rspec', '>= 2.5.0', '< 3.0'
8
+ rails_version = ENV["RAILS_VERSION"] ? "~> #{ENV["RAILS_VERSION"]}" : '>= 3.2.0'
9
+ gem 'rails', rails_version
9
10
  if defined?(RUBY_VERSION) && RUBY_VERSION == "1.8.7"
10
- gem 'rails', '>= 3.2.0', '< 4.0'
11
11
  gem 'i18n', '< 0.7'
12
12
  gem 'highline', '< 1.7'
13
- gem 'addressable', '< 2.4.0'
14
- else
15
- gem 'rails', '>= 3.2.0'
13
+ gem 'addressable', '<= 2.2.7'
14
+ gem 'rack-cache', '< 1.3'
15
+ gem 'mime-types', '< 2.6'
16
+ elsif defined?(RUBY_VERSION) && RUBY_VERSION == "1.9.3"
17
+ if Gem::Version.new(ENV['RAILS_VERSION'] || '3.2.0') >= Gem::Version.new('4.0')
18
+ gem 'mime-types', '~> 2.6'
19
+ end
16
20
  end
21
+ gem 'rspec', '>= 2.5.0', '< 3.0'
17
22
  gem 'sqlite3', :platform => [:rbx, :ruby]
18
23
  gem 'jdbc-sqlite3', :platform => :jruby
19
24
  gem 'activerecord-jdbc-adapter', :platform => :jruby
20
25
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
21
- gem 'autotest'
22
- gem 'autotest-fsevent', '~> 0.2.10'
23
26
  gem 'redgreen'
24
- gem 'autotest-growl'
25
27
  gem 'sequel'
26
28
  end
27
29
 
data/Gemfile.lock CHANGED
@@ -1,70 +1,60 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- ZenTest (4.11.0)
5
- actionmailer (4.2.1)
6
- actionpack (= 4.2.1)
7
- actionview (= 4.2.1)
8
- activejob (= 4.2.1)
4
+ actioncable (5.0.0)
5
+ actionpack (= 5.0.0)
6
+ nio4r (~> 1.2)
7
+ websocket-driver (~> 0.6.1)
8
+ actionmailer (5.0.0)
9
+ actionpack (= 5.0.0)
10
+ actionview (= 5.0.0)
11
+ activejob (= 5.0.0)
9
12
  mail (~> 2.5, >= 2.5.4)
10
- rails-dom-testing (~> 1.0, >= 1.0.5)
11
- actionpack (4.2.1)
12
- actionview (= 4.2.1)
13
- activesupport (= 4.2.1)
14
- rack (~> 1.6)
15
- rack-test (~> 0.6.2)
16
- rails-dom-testing (~> 1.0, >= 1.0.5)
17
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
18
- actionview (4.2.1)
19
- activesupport (= 4.2.1)
13
+ rails-dom-testing (~> 2.0)
14
+ actionpack (5.0.0)
15
+ actionview (= 5.0.0)
16
+ activesupport (= 5.0.0)
17
+ rack (~> 2.0)
18
+ rack-test (~> 0.6.3)
19
+ rails-dom-testing (~> 2.0)
20
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
+ actionview (5.0.0)
22
+ activesupport (= 5.0.0)
20
23
  builder (~> 3.1)
21
24
  erubis (~> 2.7.0)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
23
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
- activejob (4.2.1)
25
- activesupport (= 4.2.1)
26
- globalid (>= 0.3.0)
27
- activemodel (4.2.1)
28
- activesupport (= 4.2.1)
29
- builder (~> 3.1)
30
- activerecord (4.2.1)
31
- activemodel (= 4.2.1)
32
- activesupport (= 4.2.1)
33
- arel (~> 6.0)
34
- activerecord-jdbc-adapter (1.3.16)
35
- activerecord (>= 2.2)
36
- activerecord-jdbcsqlite3-adapter (1.3.16)
37
- activerecord-jdbc-adapter (~> 1.3.16)
38
- jdbc-sqlite3 (>= 3.7.2, < 3.9)
39
- activesupport (4.2.1)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ activejob (5.0.0)
28
+ activesupport (= 5.0.0)
29
+ globalid (>= 0.3.6)
30
+ activemodel (5.0.0)
31
+ activesupport (= 5.0.0)
32
+ activerecord (5.0.0)
33
+ activemodel (= 5.0.0)
34
+ activesupport (= 5.0.0)
35
+ arel (~> 7.0)
36
+ activesupport (5.0.0)
37
+ concurrent-ruby (~> 1.0, >= 1.0.2)
40
38
  i18n (~> 0.7)
41
- json (~> 1.7, >= 1.7.7)
42
39
  minitest (~> 5.1)
43
- thread_safe (~> 0.3, >= 0.3.4)
44
40
  tzinfo (~> 1.1)
45
- addressable (2.3.8)
46
- algoliasearch (1.2.14)
47
- httpclient (~> 2.4)
41
+ addressable (2.4.0)
42
+ algoliasearch (1.11.0)
43
+ httpclient (~> 2.8.2)
48
44
  json (>= 1.5.1)
49
- arel (6.0.0)
50
- autotest (4.4.6)
51
- ZenTest (>= 4.4.1)
52
- autotest-fsevent (0.2.10)
53
- sys-uname
54
- autotest-growl (0.2.16)
55
- backports (3.6.4)
45
+ arel (7.1.0)
46
+ backports (3.6.8)
56
47
  builder (3.2.2)
57
- coderay (1.1.0)
48
+ concurrent-ruby (1.0.2)
58
49
  diff-lcs (1.2.5)
59
50
  erubis (2.7.0)
60
- ethon (0.7.3)
51
+ ethon (0.9.0)
61
52
  ffi (>= 1.3.0)
62
- faraday (0.9.1)
53
+ faraday (0.9.2)
63
54
  multipart-post (>= 1.2, < 3)
64
- faraday_middleware (0.9.1)
55
+ faraday_middleware (0.10.0)
65
56
  faraday (>= 0.7.4, < 0.10)
66
- ffi (1.9.8)
67
- ffi (1.9.8-java)
57
+ ffi (1.9.14)
68
58
  ffi2-generators (0.1.1)
69
59
  gh (0.14.0)
70
60
  addressable
@@ -73,78 +63,67 @@ GEM
73
63
  multi_json (~> 1.0)
74
64
  net-http-persistent (>= 2.7)
75
65
  net-http-pipeline
76
- globalid (0.3.5)
66
+ globalid (0.3.6)
77
67
  activesupport (>= 4.1.0)
78
- highline (1.7.2)
79
- httpclient (2.6.0.1)
68
+ highline (1.7.8)
69
+ httpclient (2.8.2.2)
80
70
  i18n (0.7.0)
81
- jdbc-sqlite3 (3.8.10.1)
82
71
  json (1.8.3)
83
- json (1.8.3-java)
84
- kaminari (0.16.3)
72
+ kaminari (0.17.0)
85
73
  actionpack (>= 3.0.0)
86
74
  activesupport (>= 3.0.0)
87
75
  launchy (2.4.3)
88
76
  addressable (~> 2.3)
89
- launchy (2.4.3-java)
90
- addressable (~> 2.3)
91
- spoon (~> 0.0.1)
92
- loofah (2.0.2)
77
+ loofah (2.0.3)
93
78
  nokogiri (>= 1.5.9)
94
- mail (2.6.3)
95
- mime-types (>= 1.16, < 3)
79
+ mail (2.6.4)
80
+ mime-types (>= 1.16, < 4)
96
81
  method_source (0.8.2)
97
- mime-types (2.6.1)
98
- mini_portile (0.6.2)
99
- minitest (5.7.0)
100
- multi_json (1.11.0)
82
+ mime-types (3.1)
83
+ mime-types-data (~> 3.2015)
84
+ mime-types-data (3.2016.0521)
85
+ mini_portile2 (2.1.0)
86
+ minitest (5.9.0)
87
+ multi_json (1.12.1)
101
88
  multipart-post (2.0.0)
102
89
  net-http-persistent (2.9.4)
103
90
  net-http-pipeline (1.0.1)
104
- nokogiri (1.6.6.2)
105
- mini_portile (~> 0.6.0)
106
- nokogiri (1.6.6.2-java)
107
- pry (0.9.12.6)
108
- coderay (~> 1.0)
109
- method_source (~> 0.8)
110
- slop (~> 3.4)
111
- pry (0.9.12.6-java)
112
- coderay (~> 1.0)
113
- method_source (~> 0.8)
114
- slop (~> 3.4)
115
- spoon (~> 0.0)
91
+ nio4r (1.2.1)
92
+ nokogiri (1.6.8)
93
+ mini_portile2 (~> 2.1.0)
94
+ pkg-config (~> 1.1.7)
95
+ pkg-config (1.1.7)
116
96
  pusher-client (0.6.2)
117
97
  json
118
98
  websocket (~> 1.0)
119
- rack (1.6.1)
99
+ rack (2.0.1)
120
100
  rack-test (0.6.3)
121
101
  rack (>= 1.0)
122
- rails (4.2.1)
123
- actionmailer (= 4.2.1)
124
- actionpack (= 4.2.1)
125
- actionview (= 4.2.1)
126
- activejob (= 4.2.1)
127
- activemodel (= 4.2.1)
128
- activerecord (= 4.2.1)
129
- activesupport (= 4.2.1)
102
+ rails (5.0.0)
103
+ actioncable (= 5.0.0)
104
+ actionmailer (= 5.0.0)
105
+ actionpack (= 5.0.0)
106
+ actionview (= 5.0.0)
107
+ activejob (= 5.0.0)
108
+ activemodel (= 5.0.0)
109
+ activerecord (= 5.0.0)
110
+ activesupport (= 5.0.0)
130
111
  bundler (>= 1.3.0, < 2.0)
131
- railties (= 4.2.1)
132
- sprockets-rails
133
- rails-deprecated_sanitizer (1.0.3)
134
- activesupport (>= 4.2.0.alpha)
135
- rails-dom-testing (1.0.6)
136
- activesupport (>= 4.2.0.beta, < 5.0)
112
+ railties (= 5.0.0)
113
+ sprockets-rails (>= 2.0.0)
114
+ rails-dom-testing (2.0.1)
115
+ activesupport (>= 4.2.0, < 6.0)
137
116
  nokogiri (~> 1.6.0)
138
- rails-deprecated_sanitizer (>= 1.0.1)
139
- rails-html-sanitizer (1.0.2)
117
+ rails-html-sanitizer (1.0.3)
140
118
  loofah (~> 2.0)
141
- railties (4.2.1)
142
- actionpack (= 4.2.1)
143
- activesupport (= 4.2.1)
119
+ railties (5.0.0)
120
+ actionpack (= 5.0.0)
121
+ activesupport (= 5.0.0)
122
+ method_source
144
123
  rake (>= 0.8.7)
145
124
  thor (>= 0.18.1, < 2.0)
146
125
  rake (10.1.1)
147
- rdoc (4.2.0)
126
+ rdoc (4.2.2)
148
127
  json (~> 1.4)
149
128
  redgreen (1.2.2)
150
129
  rspec (2.99.0)
@@ -154,8 +133,8 @@ GEM
154
133
  rspec-core (2.99.2)
155
134
  rspec-expectations (2.99.2)
156
135
  diff-lcs (>= 1.1.3, < 2.0)
157
- rspec-mocks (2.99.3)
158
- rubysl (2.1.0)
136
+ rspec-mocks (2.99.4)
137
+ rubysl (2.2.0)
159
138
  rubysl-abbrev (~> 2.0)
160
139
  rubysl-base64 (~> 2.0)
161
140
  rubysl-benchmark (~> 2.0)
@@ -240,6 +219,7 @@ GEM
240
219
  rubysl-tmpdir (~> 2.0)
241
220
  rubysl-tsort (~> 2.0)
242
221
  rubysl-un (~> 2.0)
222
+ rubysl-unicode_normalize (~> 2.0)
243
223
  rubysl-uri (~> 2.0)
244
224
  rubysl-weakref (~> 2.0)
245
225
  rubysl-webrick (~> 2.0)
@@ -251,11 +231,11 @@ GEM
251
231
  rubysl-benchmark (2.0.1)
252
232
  rubysl-bigdecimal (2.0.2)
253
233
  rubysl-cgi (2.0.1)
254
- rubysl-cgi-session (2.0.1)
234
+ rubysl-cgi-session (2.1.0)
255
235
  rubysl-cmath (2.0.0)
256
236
  rubysl-complex (2.0.0)
257
237
  rubysl-continuation (2.0.0)
258
- rubysl-coverage (2.0.3)
238
+ rubysl-coverage (2.1)
259
239
  rubysl-csv (2.0.2)
260
240
  rubysl-english (~> 2.0)
261
241
  rubysl-curses (2.0.1)
@@ -292,7 +272,7 @@ GEM
292
272
  rubysl-mathn (2.0.0)
293
273
  rubysl-matrix (2.1.0)
294
274
  rubysl-e2mmap (~> 2.0)
295
- rubysl-mkmf (2.0.1)
275
+ rubysl-mkmf (2.1)
296
276
  rubysl-fileutils (~> 2.0)
297
277
  rubysl-shellwords (~> 2.0)
298
278
  rubysl-monitor (2.0.0)
@@ -311,15 +291,15 @@ GEM
311
291
  rubysl-observer (2.0.0)
312
292
  rubysl-open-uri (2.0.0)
313
293
  rubysl-open3 (2.0.0)
314
- rubysl-openssl (2.3.0)
294
+ rubysl-openssl (2.8.0)
315
295
  rubysl-optparse (2.0.1)
316
296
  rubysl-shellwords (~> 2.0)
317
- rubysl-ostruct (2.0.4)
318
- rubysl-pathname (2.1.0)
297
+ rubysl-ostruct (2.1.0)
298
+ rubysl-pathname (2.3)
319
299
  rubysl-prettyprint (2.0.3)
320
300
  rubysl-prime (2.0.1)
321
301
  rubysl-profile (2.0.0)
322
- rubysl-profiler (2.0.1)
302
+ rubysl-profiler (2.1)
323
303
  rubysl-pstore (2.0.0)
324
304
  rubysl-pty (2.0.3)
325
305
  rubysl-rational (2.0.1)
@@ -332,8 +312,9 @@ GEM
332
312
  rubysl-set (2.0.1)
333
313
  rubysl-shellwords (2.0.0)
334
314
  rubysl-singleton (2.0.0)
335
- rubysl-socket (2.0.1)
336
- rubysl-stringio (2.0.0)
315
+ rubysl-socket (2.1.2)
316
+ rubysl-fcntl (~> 2.0)
317
+ rubysl-stringio (2.1.0)
337
318
  rubysl-strscan (2.0.0)
338
319
  rubysl-sync (2.0.0)
339
320
  rubysl-syslog (2.1.0)
@@ -348,59 +329,52 @@ GEM
348
329
  rubysl-un (2.0.0)
349
330
  rubysl-fileutils (~> 2.0)
350
331
  rubysl-optparse (~> 2.0)
332
+ rubysl-unicode_normalize (2.0)
351
333
  rubysl-uri (2.0.0)
352
334
  rubysl-weakref (2.0.0)
353
335
  rubysl-webrick (2.0.0)
354
336
  rubysl-xmlrpc (2.0.0)
355
337
  rubysl-yaml (2.1.0)
356
338
  rubysl-zlib (2.0.1)
357
- sequel (4.23.0)
358
- slop (3.6.0)
359
- spoon (0.0.4)
360
- ffi
361
- sprockets (3.1.0)
362
- rack (~> 1.0)
363
- sprockets-rails (2.3.1)
364
- actionpack (>= 3.0)
365
- activesupport (>= 3.0)
366
- sprockets (>= 2.8, < 4.0)
367
- sqlite3 (1.3.10)
368
- sys-uname (0.9.2)
369
- ffi (>= 1.0.0)
339
+ sequel (4.36.0)
340
+ sprockets (3.7.0)
341
+ concurrent-ruby (~> 1.0)
342
+ rack (> 1, < 3)
343
+ sprockets-rails (3.1.1)
344
+ actionpack (>= 4.0)
345
+ activesupport (>= 4.0)
346
+ sprockets (>= 3.0.0)
347
+ sqlite3 (1.3.11)
370
348
  thor (0.19.1)
371
349
  thread_safe (0.3.5)
372
- thread_safe (0.3.5-java)
373
- travis (1.7.7)
374
- addressable (~> 2.3)
350
+ travis (1.8.2)
375
351
  backports
376
352
  faraday (~> 0.9)
377
353
  faraday_middleware (~> 0.9, >= 0.9.1)
378
354
  gh (~> 0.13)
379
355
  highline (~> 1.6)
380
356
  launchy (~> 2.1)
381
- pry (~> 0.9, < 0.10)
382
357
  pusher-client (~> 0.4)
383
358
  typhoeus (~> 0.6, >= 0.6.8)
384
- typhoeus (0.7.1)
385
- ethon (>= 0.7.1)
359
+ typhoeus (0.8.0)
360
+ ethon (>= 0.8.0)
386
361
  tzinfo (1.2.2)
387
362
  thread_safe (~> 0.1)
388
- websocket (1.2.2)
389
- will_paginate (3.0.7)
363
+ websocket (1.2.3)
364
+ websocket-driver (0.6.4)
365
+ websocket-extensions (>= 0.1.0)
366
+ websocket-extensions (0.1.2)
367
+ will_paginate (3.1.0)
390
368
 
391
369
  PLATFORMS
392
- java
393
370
  ruby
394
371
 
395
372
  DEPENDENCIES
396
373
  activerecord-jdbc-adapter
397
374
  activerecord-jdbcsqlite3-adapter
398
- algoliasearch (~> 1.2.14)
399
- autotest
400
- autotest-fsevent (~> 0.2.10)
401
- autotest-growl
375
+ algoliasearch (~> 1.11.0)
402
376
  jdbc-sqlite3
403
- json (>= 1.5.1)
377
+ json (~> 1.5, >= 1.5.1)
404
378
  kaminari
405
379
  rails (>= 3.2.0)
406
380
  rake (~> 10.1.0)
@@ -414,4 +388,4 @@ DEPENDENCIES
414
388
  will_paginate (>= 2.3.15)
415
389
 
416
390
  BUNDLED WITH
417
- 1.10.4
391
+ 1.12.5