algoliasearch-rails 1.13.1 → 1.13.2

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: 5bf2c250427bfa73975a60a1b95c44862b8b3bf8
4
- data.tar.gz: 394a6343e354ab6d06d52a591dfdf180bbfb71d1
3
+ metadata.gz: d17f9c631bb7793f79c443cf09b840651fc3518f
4
+ data.tar.gz: 793976c634418b3b9d4fcc81d9d494b0bffb53ec
5
5
  SHA512:
6
- metadata.gz: 03e82327f0b465766890e0d2bd67b4a39cd5358d54abddfc4d98b74f324700eabfc1f154bf56a34daa4ffbacf80c711412c3c52a4b0d89241d4eff608892e962
7
- data.tar.gz: 7ef544f736f80b80a428ae41070f958d67c1283412056b7476750e292a5862da51fa6f9daf1d5422c95554c4837f6b69c1bcc0f7dc4aa56f9ff450e22bce912b
6
+ metadata.gz: a8c1057d5ea3887f0eb84a83f74c4477d39e6e158510020705f24181a80ab7f2037b0ba22cfb55b2d287104e78aaf16e97d81d9d1085f70b168590a5d89c2eb9
7
+ data.tar.gz: 164dbc64b11b621b8e9606f108714e9fbd44db20b8e13e575b7c111977576c0263106c3aa719d3fc16ecf874d285f1af2e03f0d1a9b34bc812f6f8493557898a
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  CHANGELOG
2
2
 
3
+ 2015-08-01 1.13.2
4
+
5
+ * Lazy load the `ActiveJob` class to ensure the underlying queuing system is initialized when we actually use it.
6
+
3
7
  2015-07-20 1.13.1
4
8
 
5
9
  * Use `after_commit` instead of `after_save` to ensure we index once in the DB
data/Gemfile.lock CHANGED
@@ -412,3 +412,6 @@ DEPENDENCIES
412
412
  sqlite3
413
413
  travis
414
414
  will_paginate (>= 2.3.15)
415
+
416
+ BUNDLED WITH
417
+ 1.10.4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.1
1
+ 1.13.2
@@ -215,13 +215,10 @@ module AlgoliaSearch
215
215
 
216
216
  # Default queueing system
217
217
  if defined?(::ActiveJob::Base)
218
- class AlgoliaJob < ::ActiveJob::Base
219
- queue_as :algoliasearch
220
-
221
- def perform(record, method)
222
- record.send(method)
223
- end
224
- end
218
+ # lazy load the ActiveJob class to ensure the
219
+ # queue is initialized before using it
220
+ # see https://github.com/algolia/algoliasearch-rails/issues/69
221
+ autoload :AlgoliaJob, 'algoliasearch/algolia_job'
225
222
  end
226
223
 
227
224
  # this class wraps an Algolia::Index object ensuring all raised exceptions
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algoliasearch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.5.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: algoliasearch
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.2.14
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.2.14
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: will_paginate
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.3.15
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.3.15
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: kaminari
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: travis
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rdoc
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: AlgoliaSearch integration to your favorite ORM
@@ -117,9 +117,9 @@ extra_rdoc_files:
117
117
  - LICENSE
118
118
  - README.md
119
119
  files:
120
- - .document
121
- - .rspec
122
- - .travis.yml
120
+ - ".document"
121
+ - ".rspec"
122
+ - ".travis.yml"
123
123
  - ChangeLog
124
124
  - Gemfile
125
125
  - Gemfile.lock
@@ -172,17 +172,17 @@ require_paths:
172
172
  - lib
173
173
  required_ruby_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - '>='
175
+ - - ">="
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - '>='
180
+ - - ">="
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.0.14
185
+ rubygems_version: 2.2.2
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: AlgoliaSearch integration to your favorite ORM