algoliasearch-rails 1.16.3 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +56 -42
  3. data/{ChangeLog → CHANGELOG.MD} +163 -1
  4. data/Gemfile +25 -6
  5. data/Gemfile.lock +144 -325
  6. data/LICENSE +6 -7
  7. data/README.md +448 -306
  8. data/algoliasearch-rails.gemspec +10 -8
  9. data/lib/algoliasearch-rails.rb +285 -117
  10. data/lib/algoliasearch/configuration.rb +3 -1
  11. data/lib/algoliasearch/tasks/algoliasearch.rake +6 -2
  12. data/lib/algoliasearch/utilities.rb +29 -3
  13. data/lib/algoliasearch/version.rb +3 -0
  14. data/spec/spec_helper.rb +26 -4
  15. data/vendor/assets/javascripts/algolia/algoliasearch.angular.js +23 -12
  16. data/vendor/assets/javascripts/algolia/algoliasearch.angular.min.js +2 -2
  17. data/vendor/assets/javascripts/algolia/algoliasearch.jquery.js +23 -12
  18. data/vendor/assets/javascripts/algolia/algoliasearch.jquery.min.js +2 -2
  19. data/vendor/assets/javascripts/algolia/algoliasearch.js +22 -12
  20. data/vendor/assets/javascripts/algolia/algoliasearch.min.js +2 -2
  21. data/vendor/assets/javascripts/algolia/v2/algoliasearch.angular.js +23 -12
  22. data/vendor/assets/javascripts/algolia/v2/algoliasearch.angular.min.js +2 -2
  23. data/vendor/assets/javascripts/algolia/v2/algoliasearch.jquery.js +23 -12
  24. data/vendor/assets/javascripts/algolia/v2/algoliasearch.jquery.min.js +2 -2
  25. data/vendor/assets/javascripts/algolia/v2/algoliasearch.js +22 -12
  26. data/vendor/assets/javascripts/algolia/v2/algoliasearch.min.js +2 -2
  27. data/vendor/assets/javascripts/algolia/v3/algoliasearch.angular.js +2020 -1301
  28. data/vendor/assets/javascripts/algolia/v3/algoliasearch.angular.min.js +3 -3
  29. data/vendor/assets/javascripts/algolia/v3/algoliasearch.jquery.js +2019 -1300
  30. data/vendor/assets/javascripts/algolia/v3/algoliasearch.jquery.min.js +3 -3
  31. data/vendor/assets/javascripts/algolia/v3/algoliasearch.js +2003 -1284
  32. data/vendor/assets/javascripts/algolia/v3/algoliasearch.min.js +3 -3
  33. metadata +19 -15
  34. data/VERSION +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 52de41878cc41dc76652c65d5756e3a7bd4388ef
4
- data.tar.gz: fa59514cb2befd16b72e20fa99a324d17ed90eef
2
+ SHA256:
3
+ metadata.gz: 71ddc460401250164dd2422b959edbb444a99bec59ba34fc26facf7b2783b141
4
+ data.tar.gz: 4500a5845bafdbc8794d1538056f1c59a7ced17cd49e7c80fa827507d155c532
5
5
  SHA512:
6
- metadata.gz: 6a63d43c7956d7bed29fe961eeff363f873848c2a6040599ac71764eebf0919b26ddade734b2dcb6992fd862b5e5592dc66286673884a9c7d9d206ae7ed7ba1c
7
- data.tar.gz: 59d339a85f0120d75a7392878fbec5dfa02eec4e182c182a1c59168b729d20e0ce658e8c6fad36652a474a13fb58f5922e887feffc85cd0142e2616535589464
6
+ metadata.gz: 7e7512b284a7f61ff4a04f12e7979d632b04a208781b28f2b3690edc75da5b099c83a77205ca0f9ac7298a20e3b7674260b5d2fd1c9471498df95d1ac82be858
7
+ data.tar.gz: 51a2e7381403a45f0bdd2f587bdeffe30d375853eeae767a07385ca4ae0bab0c612f1d7b79b143460f5982be9d05bea85c636740b4f2141291155cc241a117bf
@@ -1,48 +1,62 @@
1
1
  language: ruby
2
+
2
3
  branches:
3
4
  only:
4
- - master
5
+ - master
6
+
5
7
  matrix:
6
8
  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
- allow_failures:
42
- - rvm: rbx-2
43
- install: rm -f Gemfile.lock && bundle install
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
+
44
59
  cache: bundler
45
- env:
46
- global:
47
- - secure: kD+PX8ZNg+AAzyr6WYs1vp9teAkzMfEoYkIMI0hrRN0ml9ccJVsJR1pIGpaIwyCa5PmFtCZ1Xi2vFb4XzTTeaZoHHS/ll9LwuQH6mwvdgj3n6TmNRdq3b/oGRHBX4Z0HMobqaftuzY/V8iTpVk92jwIY8NPj00k055b2jrKqhdw=
48
- - secure: Eai99h4K7s9/Sh3CHClWs3IQNaEUdVagpmA/A8m0rysGBAYJdMKbUOp9DZPAmCnT+06l0aFv87+CRYtgyX05pE5f21nqBOU46eKS38cLif3aPTwFmwokf28WLDgmZKa/zJp767SiQ/dp0hz+LJrkJvkDRnA1un36f7wiyY9xnYs=
60
+
61
+ script:
62
+ - eval $(./algolia-keys export) && bundle exec rake
@@ -1,4 +1,166 @@
1
- CHANGELOG
1
+ # CHANGELOG
2
+
3
+ ## [Unreleased](https://github.com/algolia/algoliasearch-rails/compare/1.25.0...master)
4
+
5
+ ## [1.25.0](https://github.com/algolia/algoliasearch-rails/compare/1.24.1...1.25.0) (2020-11-24)
6
+
7
+ ### Added
8
+ - Pass array argument to geoloc ([#372](https://github.com/algolia/algoliasearch-rails/pull/372))
9
+ - Containerize the repo ([#391](https://github.com/algolia/algoliasearch-rails/pull/391))
10
+
11
+ ### Fixed
12
+ - Use Zeitwerk for loading models in Rails 6 ([#364](https://github.com/algolia/algoliasearch-rails/pull/364))
13
+
14
+ ## [1.24.1](https://github.com/algolia/algoliasearch-rails/releases/tag/1.24.1) (2020-07-15)
15
+
16
+ **Fixed**
17
+
18
+ * Fixes ruby warning 'Proc.new is deprecated'
19
+
20
+ ## [1.24.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.24.0) (2020-02-21)
21
+
22
+ **Added**
23
+
24
+ * Adds indexLanguages in index settings
25
+
26
+ ## [1.23.2](https://github.com/algolia/algoliasearch-rails/releases/tag/1.23.2) (2019-06-26)
27
+
28
+ **Fixed**
29
+
30
+ * Use `copy_index` when initiating a temporary index to preserve settings, synonyms, and rules.
31
+
32
+
33
+ ## [1.23.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.23.0) (2019-06-25)
34
+
35
+ **Added**
36
+
37
+ * Introduce `rake algoliasearch:set_all_settings` command - PR [#315](https://github.com/algolia/algoliasearch-rails/pull/315)
38
+
39
+ This command will push settings for all models to all indices: primary index,
40
+ replicas and additional indices. It follows the `inherit: true` option.
41
+ It should typically be added to your deployment script
42
+
43
+ * Add option to disable automatic settings - PR [#315](https://github.com/algolia/algoliasearch-rails/pull/315)
44
+
45
+ By default, this gem check your settings to see when to push them. Depending on
46
+ your implementation, it might create a lot of API calls. If you wish to disable
47
+ the automatic change detection for settings, use the `check_settings` option:
48
+
49
+ ```ruby
50
+ class Musician < ActiveRecord::Base
51
+ include AlgoliaSearch
52
+
53
+ algoliasearch check_settings: false do
54
+ # Settings...
55
+ end
56
+ end
57
+ ```
58
+
59
+ **Fixed**
60
+
61
+ * Handle attribute_changed? in transactions - PR [#354](https://github.com/algolia/algoliasearch-rails/pull/354)
62
+
63
+
64
+ ## [1.22.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.22.0) (2019-03-21)
65
+
66
+ 🚨 The documentation for our Rails integration was refreshed 🎉
67
+ https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/
68
+
69
+ **Added**
70
+
71
+ * Introduce `algolia_dirty?` on models to decide if a model should be reindex.
72
+
73
+ This feature already exists via _changed? methods but might requires to implements many
74
+ methods if you have multiple dynamic attributes. Dynamic attributes are attributes not mapping
75
+ to a DB column. This feature allows you to group avoid all the _changed? method calls and
76
+ group all the logic inside one unique method.
77
+
78
+ **Fixed**
79
+
80
+ * Fix _changed? method call for Rails 5.2+ with dynamic attribute - PR [#338](https://github.com/algolia/algoliasearch-rails/pull/338)
81
+
82
+ Related issue: https://github.com/algolia/algoliasearch-rails/issues/140
83
+ Documentation: https://www.algolia.com/doc/framework-integration/rails/indexing/indexing/#automatic-updates
84
+
85
+
86
+ ## [1.21.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.21.0) (2019-02-12)
87
+
88
+ **Added**
89
+
90
+ * Add `AlgoliaSearch::IndexSettings::DEFAULT_BATCH_SIZE` constant - PR [#319](https://github.com/algolia/algoliasearch-rails/pull/319)
91
+
92
+ * Support ActiveModel Serializer 🎉 - PR [#266](https://github.com/algolia/algoliasearch-rails/pull/266)
93
+
94
+ ```ruby
95
+ class SerializedObject < ActiveRecord::Base
96
+ include AlgoliaSearch
97
+
98
+ algoliasearch do
99
+
100
+ use_serializer SerializedObjectSerializer
101
+
102
+ tags do
103
+ ['tag1', 'tag2']
104
+ end
105
+
106
+ end
107
+ end
108
+ ```
109
+
110
+ **Fixed**
111
+
112
+ * Add support for all new recent engine settings - PR [#327](https://github.com/algolia/algoliasearch-rails/pull/327)
113
+
114
+ Algolia regularly introduce new settings, all of them are supported by this gem.
115
+
116
+ 2018-12-07 1.20.6
117
+
118
+ * Better support for Rails 5.1 and deprecated `attribute_changed?`
119
+ * Better support for `after_commit` for Sequel 5.0
120
+
121
+ 2017-12-04 1.20.4
122
+
123
+ * Remove Bundler and RubyGems requirements
124
+
125
+ 2017-11-02 1.20.2
126
+
127
+ * Upgrade algoliasearch gem to 1.17.0
128
+
129
+ 2017-08-04 1.20.1
130
+
131
+ * Make sure objectIDs are manipulated as strings
132
+
133
+ 2017-07-31 1.20.0
134
+
135
+ * Override the user-agent (#238)
136
+ * Fixed NPE while running mocked tests (#242)
137
+ * Add `paginationLimitedTo` setting (#243)
138
+ * Make `algolia_without_auto_index_scope` thread-safe (#234)
139
+
140
+ 2017-03-13 1.19.1
141
+
142
+ * Make sure get_model_classes is not ActiveRecord compliant only
143
+
144
+ 2017-03-13 1.19.0
145
+
146
+ * Rewrote the algoliasearch:reindex rake task to better detect models to reindex
147
+ * Fixed the handling of `raise_on_failture` for class methods
148
+
149
+ 2017-02-16 1.18.0
150
+
151
+ * Add new replica parameter, `inherit` (#198)
152
+
153
+ 2017-01-05 1.17.1
154
+
155
+ * Add missing `disablePrefixOnAttributes` and `disableTypoToleranceOnAttributes` attributes (#193)
156
+
157
+ 2017-01-05 1.17.0
158
+
159
+ * Do not enqueue indexing operations if the indexing is disabled
160
+ * Add `searchableAttributes` and `numericAttributesForFiltering` index settings
161
+ * Fixed here and there synchronous behaviors (mostly unit tests related)
162
+ * Rename `slave` to `replica`
163
+ * Upgraded `algoliasearch-client-{ruby,js}` deps
2
164
 
3
165
  2016-11-25 1.16.3
4
166
 
data/Gemfile CHANGED
@@ -1,12 +1,16 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'json', '~> 1.5', '>= 1.5.1'
4
- gem 'algoliasearch', '~> 1.12.1'
5
- gem 'rubysl', '~> 2.0', :platform => :rbx
3
+ gem 'json', '~> 1.8', '>= 1.8.6'
4
+ gem 'algoliasearch', '>= 1.26.0', '< 2.0.0'
5
+
6
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
7
+ gem 'rubysl', '~> 2.0', :platform => :rbx
8
+ end
6
9
 
7
10
  group :test do
8
11
  rails_version = ENV["RAILS_VERSION"] ? "~> #{ENV["RAILS_VERSION"]}" : '>= 3.2.0'
9
12
  gem 'rails', rails_version
13
+ gem 'active_model_serializers'
10
14
  if defined?(RUBY_VERSION) && RUBY_VERSION == "1.8.7"
11
15
  gem 'i18n', '< 0.7'
12
16
  gem 'highline', '< 1.7'
@@ -14,9 +18,14 @@ group :test do
14
18
  gem 'rack-cache', '< 1.3'
15
19
  gem 'mime-types', '< 2.6'
16
20
  gem 'net-http-persistent', '< 3.0'
21
+ gem 'faraday', '< 0.10'
17
22
  elsif defined?(RUBY_VERSION) && RUBY_VERSION == "1.9.3"
23
+ gem 'rack', '< 2'
24
+ gem 'rack-cache', '<= 1.7.1'
18
25
  if Gem::Version.new(ENV['RAILS_VERSION'] || '3.2.0') >= Gem::Version.new('4.0')
19
26
  gem 'mime-types', '~> 2.6'
27
+ else
28
+ gem 'mime-types', '< 3'
20
29
  end
21
30
  end
22
31
  if defined?(RUBY_VERSION) &&
@@ -26,12 +35,14 @@ group :test do
26
35
  gem 'net-http-persistent', '< 3.0'
27
36
  end
28
37
  gem 'rspec', '>= 2.5.0', '< 3.0'
29
- gem 'sqlite3', :platform => [:rbx, :ruby]
38
+ gem 'sqlite3', '< 1.4.0', :platform => [:rbx, :ruby]
30
39
  gem 'jdbc-sqlite3', :platform => :jruby
31
40
  gem 'activerecord-jdbc-adapter', :platform => :jruby
32
41
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
33
42
  gem 'redgreen'
34
- gem 'sequel'
43
+
44
+ sequel_version = ENV['SEQUEL_VERSION'] ? "~> #{ENV['SEQUEL_VERSION']}" : '>= 4.0'
45
+ gem 'sequel', sequel_version
35
46
  end
36
47
 
37
48
  group :development do
@@ -42,5 +53,13 @@ end
42
53
 
43
54
  group :test, :development do
44
55
  gem 'will_paginate', '>= 2.3.15'
45
- gem 'kaminari'
56
+ if defined?(RUBY_VERSION) &&
57
+ defined?(RUBY_ENGINE) &&
58
+ RUBY_ENGINE == 'ruby' &&
59
+ Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2')
60
+ gem 'kaminari', '< 1'
61
+ else
62
+ gem 'kaminari'
63
+ end
46
64
  end
65
+
@@ -1,130 +1,153 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
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)
4
+ actioncable (5.2.4.4)
5
+ actionpack (= 5.2.4.4)
6
+ nio4r (~> 2.0)
7
+ websocket-driver (>= 0.6.1)
8
+ actionmailer (5.2.4.4)
9
+ actionpack (= 5.2.4.4)
10
+ actionview (= 5.2.4.4)
11
+ activejob (= 5.2.4.4)
12
12
  mail (~> 2.5, >= 2.5.4)
13
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)
14
+ actionpack (5.2.4.4)
15
+ actionview (= 5.2.4.4)
16
+ activesupport (= 5.2.4.4)
17
+ rack (~> 2.0, >= 2.0.8)
18
+ rack-test (>= 0.6.3)
19
19
  rails-dom-testing (~> 2.0)
20
20
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (5.0.0)
22
- activesupport (= 5.0.0)
21
+ actionview (5.2.4.4)
22
+ activesupport (= 5.2.4.4)
23
23
  builder (~> 3.1)
24
- erubis (~> 2.7.0)
24
+ erubi (~> 1.4)
25
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)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
27
+ active_model_serializers (0.10.10)
28
+ actionpack (>= 4.1, < 6.1)
29
+ activemodel (>= 4.1, < 6.1)
30
+ case_transform (>= 0.2)
31
+ jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
32
+ activejob (5.2.4.4)
33
+ activesupport (= 5.2.4.4)
29
34
  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)
35
+ activemodel (5.2.4.4)
36
+ activesupport (= 5.2.4.4)
37
+ activerecord (5.2.4.4)
38
+ activemodel (= 5.2.4.4)
39
+ activesupport (= 5.2.4.4)
40
+ arel (>= 9.0)
41
+ activestorage (5.2.4.4)
42
+ actionpack (= 5.2.4.4)
43
+ activerecord (= 5.2.4.4)
44
+ marcel (~> 0.3.1)
45
+ activesupport (5.2.4.4)
37
46
  concurrent-ruby (~> 1.0, >= 1.0.2)
38
- i18n (~> 0.7)
47
+ i18n (>= 0.7, < 2)
39
48
  minitest (~> 5.1)
40
49
  tzinfo (~> 1.1)
41
- addressable (2.4.0)
42
- algoliasearch (1.12.0)
43
- httpclient (~> 2.8.2.4)
50
+ addressable (2.7.0)
51
+ public_suffix (>= 2.0.2, < 5.0)
52
+ algoliasearch (1.27.5)
53
+ httpclient (~> 2.8, >= 2.8.3)
44
54
  json (>= 1.5.1)
45
- arel (7.1.0)
46
- backports (3.6.8)
47
- builder (3.2.2)
48
- concurrent-ruby (1.0.2)
49
- diff-lcs (1.2.5)
50
- erubis (2.7.0)
51
- ethon (0.9.0)
52
- ffi (>= 1.3.0)
53
- faraday (0.9.2)
55
+ arel (9.0.0)
56
+ builder (3.2.4)
57
+ case_transform (0.2)
58
+ activesupport
59
+ concurrent-ruby (1.1.7)
60
+ crass (1.0.6)
61
+ diff-lcs (1.4.4)
62
+ erubi (1.9.0)
63
+ faraday (1.1.0)
54
64
  multipart-post (>= 1.2, < 3)
55
- faraday_middleware (0.10.0)
56
- faraday (>= 0.7.4, < 0.10)
57
- ffi (1.9.14)
58
- ffi2-generators (0.1.1)
59
- gh (0.14.0)
60
- addressable
61
- backports
62
- faraday (~> 0.8)
65
+ ruby2_keywords
66
+ faraday_middleware (1.0.0)
67
+ faraday (~> 1.0)
68
+ gh (0.18.0)
69
+ activesupport (~> 5.0)
70
+ addressable (~> 2.4)
71
+ faraday (~> 1.0)
72
+ faraday_middleware (~> 1.0)
63
73
  multi_json (~> 1.0)
64
- net-http-persistent (>= 2.7)
74
+ net-http-persistent (~> 2.9)
65
75
  net-http-pipeline
66
- globalid (0.3.6)
76
+ globalid (0.4.2)
77
+ activesupport (>= 4.2.0)
78
+ highline (2.0.3)
79
+ httpclient (2.8.3)
80
+ i18n (1.8.5)
81
+ concurrent-ruby (~> 1.0)
82
+ json (1.8.6)
83
+ json_pure (2.3.1)
84
+ jsonapi-renderer (0.2.2)
85
+ kaminari (1.2.1)
67
86
  activesupport (>= 4.1.0)
68
- highline (1.7.8)
69
- httpclient (2.8.2.4)
70
- i18n (0.7.0)
71
- json (1.8.3)
72
- kaminari (0.17.0)
73
- actionpack (>= 3.0.0)
74
- activesupport (>= 3.0.0)
87
+ kaminari-actionview (= 1.2.1)
88
+ kaminari-activerecord (= 1.2.1)
89
+ kaminari-core (= 1.2.1)
90
+ kaminari-actionview (1.2.1)
91
+ actionview
92
+ kaminari-core (= 1.2.1)
93
+ kaminari-activerecord (1.2.1)
94
+ activerecord
95
+ kaminari-core (= 1.2.1)
96
+ kaminari-core (1.2.1)
75
97
  launchy (2.4.3)
76
98
  addressable (~> 2.3)
77
- loofah (2.0.3)
99
+ loofah (2.7.0)
100
+ crass (~> 1.0.2)
78
101
  nokogiri (>= 1.5.9)
79
- mail (2.6.4)
80
- mime-types (>= 1.16, < 4)
81
- method_source (0.8.2)
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)
88
- multipart-post (2.0.0)
102
+ mail (2.7.1)
103
+ mini_mime (>= 0.1.1)
104
+ marcel (0.3.3)
105
+ mimemagic (~> 0.3.2)
106
+ method_source (1.0.0)
107
+ mimemagic (0.3.5)
108
+ mini_mime (1.0.2)
109
+ mini_portile2 (2.4.0)
110
+ minitest (5.14.2)
111
+ multi_json (1.15.0)
112
+ multipart-post (2.1.1)
89
113
  net-http-persistent (2.9.4)
90
114
  net-http-pipeline (1.0.1)
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)
115
+ nio4r (2.5.4)
116
+ nokogiri (1.10.10)
117
+ mini_portile2 (~> 2.4.0)
118
+ public_suffix (4.0.6)
96
119
  pusher-client (0.6.2)
97
120
  json
98
121
  websocket (~> 1.0)
99
- rack (2.0.1)
100
- rack-test (0.6.3)
101
- rack (>= 1.0)
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)
111
- bundler (>= 1.3.0, < 2.0)
112
- railties (= 5.0.0)
122
+ rack (2.2.3)
123
+ rack-test (1.1.0)
124
+ rack (>= 1.0, < 3)
125
+ rails (5.2.4.4)
126
+ actioncable (= 5.2.4.4)
127
+ actionmailer (= 5.2.4.4)
128
+ actionpack (= 5.2.4.4)
129
+ actionview (= 5.2.4.4)
130
+ activejob (= 5.2.4.4)
131
+ activemodel (= 5.2.4.4)
132
+ activerecord (= 5.2.4.4)
133
+ activestorage (= 5.2.4.4)
134
+ activesupport (= 5.2.4.4)
135
+ bundler (>= 1.3.0)
136
+ railties (= 5.2.4.4)
113
137
  sprockets-rails (>= 2.0.0)
114
- rails-dom-testing (2.0.1)
115
- activesupport (>= 4.2.0, < 6.0)
116
- nokogiri (~> 1.6.0)
117
- rails-html-sanitizer (1.0.3)
118
- loofah (~> 2.0)
119
- railties (5.0.0)
120
- actionpack (= 5.0.0)
121
- activesupport (= 5.0.0)
138
+ rails-dom-testing (2.0.3)
139
+ activesupport (>= 4.2.0)
140
+ nokogiri (>= 1.6)
141
+ rails-html-sanitizer (1.3.0)
142
+ loofah (~> 2.3)
143
+ railties (5.2.4.4)
144
+ actionpack (= 5.2.4.4)
145
+ activesupport (= 5.2.4.4)
122
146
  method_source
123
147
  rake (>= 0.8.7)
124
- thor (>= 0.18.1, < 2.0)
148
+ thor (>= 0.19.0, < 2.0)
125
149
  rake (10.1.1)
126
- rdoc (4.2.2)
127
- json (~> 1.4)
150
+ rdoc (6.2.1)
128
151
  redgreen (1.2.2)
129
152
  rspec (2.99.0)
130
153
  rspec-core (~> 2.99.0)
@@ -134,258 +157,54 @@ GEM
134
157
  rspec-expectations (2.99.2)
135
158
  diff-lcs (>= 1.1.3, < 2.0)
136
159
  rspec-mocks (2.99.4)
137
- rubysl (2.2.0)
138
- rubysl-abbrev (~> 2.0)
139
- rubysl-base64 (~> 2.0)
140
- rubysl-benchmark (~> 2.0)
141
- rubysl-bigdecimal (~> 2.0)
142
- rubysl-cgi (~> 2.0)
143
- rubysl-cgi-session (~> 2.0)
144
- rubysl-cmath (~> 2.0)
145
- rubysl-complex (~> 2.0)
146
- rubysl-continuation (~> 2.0)
147
- rubysl-coverage (~> 2.0)
148
- rubysl-csv (~> 2.0)
149
- rubysl-curses (~> 2.0)
150
- rubysl-date (~> 2.0)
151
- rubysl-delegate (~> 2.0)
152
- rubysl-digest (~> 2.0)
153
- rubysl-drb (~> 2.0)
154
- rubysl-e2mmap (~> 2.0)
155
- rubysl-english (~> 2.0)
156
- rubysl-enumerator (~> 2.0)
157
- rubysl-erb (~> 2.0)
158
- rubysl-etc (~> 2.0)
159
- rubysl-expect (~> 2.0)
160
- rubysl-fcntl (~> 2.0)
161
- rubysl-fiber (~> 2.0)
162
- rubysl-fileutils (~> 2.0)
163
- rubysl-find (~> 2.0)
164
- rubysl-forwardable (~> 2.0)
165
- rubysl-getoptlong (~> 2.0)
166
- rubysl-gserver (~> 2.0)
167
- rubysl-io-console (~> 2.0)
168
- rubysl-io-nonblock (~> 2.0)
169
- rubysl-io-wait (~> 2.0)
170
- rubysl-ipaddr (~> 2.0)
171
- rubysl-irb (~> 2.1)
172
- rubysl-logger (~> 2.0)
173
- rubysl-mathn (~> 2.0)
174
- rubysl-matrix (~> 2.0)
175
- rubysl-mkmf (~> 2.0)
176
- rubysl-monitor (~> 2.0)
177
- rubysl-mutex_m (~> 2.0)
178
- rubysl-net-ftp (~> 2.0)
179
- rubysl-net-http (~> 2.0)
180
- rubysl-net-imap (~> 2.0)
181
- rubysl-net-pop (~> 2.0)
182
- rubysl-net-protocol (~> 2.0)
183
- rubysl-net-smtp (~> 2.0)
184
- rubysl-net-telnet (~> 2.0)
185
- rubysl-nkf (~> 2.0)
186
- rubysl-observer (~> 2.0)
187
- rubysl-open-uri (~> 2.0)
188
- rubysl-open3 (~> 2.0)
189
- rubysl-openssl (~> 2.0)
190
- rubysl-optparse (~> 2.0)
191
- rubysl-ostruct (~> 2.0)
192
- rubysl-pathname (~> 2.0)
193
- rubysl-prettyprint (~> 2.0)
194
- rubysl-prime (~> 2.0)
195
- rubysl-profile (~> 2.0)
196
- rubysl-profiler (~> 2.0)
197
- rubysl-pstore (~> 2.0)
198
- rubysl-pty (~> 2.0)
199
- rubysl-rational (~> 2.0)
200
- rubysl-resolv (~> 2.0)
201
- rubysl-rexml (~> 2.0)
202
- rubysl-rinda (~> 2.0)
203
- rubysl-rss (~> 2.0)
204
- rubysl-scanf (~> 2.0)
205
- rubysl-securerandom (~> 2.0)
206
- rubysl-set (~> 2.0)
207
- rubysl-shellwords (~> 2.0)
208
- rubysl-singleton (~> 2.0)
209
- rubysl-socket (~> 2.0)
210
- rubysl-stringio (~> 2.0)
211
- rubysl-strscan (~> 2.0)
212
- rubysl-sync (~> 2.0)
213
- rubysl-syslog (~> 2.0)
214
- rubysl-tempfile (~> 2.0)
215
- rubysl-thread (~> 2.0)
216
- rubysl-thwait (~> 2.0)
217
- rubysl-time (~> 2.0)
218
- rubysl-timeout (~> 2.0)
219
- rubysl-tmpdir (~> 2.0)
220
- rubysl-tsort (~> 2.0)
221
- rubysl-un (~> 2.0)
222
- rubysl-unicode_normalize (~> 2.0)
223
- rubysl-uri (~> 2.0)
224
- rubysl-weakref (~> 2.0)
225
- rubysl-webrick (~> 2.0)
226
- rubysl-xmlrpc (~> 2.0)
227
- rubysl-yaml (~> 2.0)
228
- rubysl-zlib (~> 2.0)
229
- rubysl-abbrev (2.0.4)
230
- rubysl-base64 (2.0.0)
231
- rubysl-benchmark (2.0.1)
232
- rubysl-bigdecimal (2.0.2)
233
- rubysl-cgi (2.0.1)
234
- rubysl-cgi-session (2.1.0)
235
- rubysl-cmath (2.0.0)
236
- rubysl-complex (2.0.0)
237
- rubysl-continuation (2.0.0)
238
- rubysl-coverage (2.1)
239
- rubysl-csv (2.0.2)
240
- rubysl-english (~> 2.0)
241
- rubysl-curses (2.0.1)
242
- rubysl-date (2.0.9)
243
- rubysl-delegate (2.0.1)
244
- rubysl-digest (2.0.8)
245
- rubysl-drb (2.0.1)
246
- rubysl-e2mmap (2.0.0)
247
- rubysl-english (2.0.0)
248
- rubysl-enumerator (2.0.0)
249
- rubysl-erb (2.0.2)
250
- rubysl-etc (2.0.3)
251
- ffi2-generators (~> 0.1)
252
- rubysl-expect (2.0.0)
253
- rubysl-fcntl (2.0.4)
254
- ffi2-generators (~> 0.1)
255
- rubysl-fiber (2.0.0)
256
- rubysl-fileutils (2.0.3)
257
- rubysl-find (2.0.1)
258
- rubysl-forwardable (2.0.1)
259
- rubysl-getoptlong (2.0.0)
260
- rubysl-gserver (2.0.0)
261
- rubysl-socket (~> 2.0)
262
- rubysl-thread (~> 2.0)
263
- rubysl-io-console (2.0.0)
264
- rubysl-io-nonblock (2.0.0)
265
- rubysl-io-wait (2.0.0)
266
- rubysl-ipaddr (2.0.0)
267
- rubysl-irb (2.1.1)
268
- rubysl-e2mmap (~> 2.0)
269
- rubysl-mathn (~> 2.0)
270
- rubysl-thread (~> 2.0)
271
- rubysl-logger (2.1.0)
272
- rubysl-mathn (2.0.0)
273
- rubysl-matrix (2.1.0)
274
- rubysl-e2mmap (~> 2.0)
275
- rubysl-mkmf (2.1)
276
- rubysl-fileutils (~> 2.0)
277
- rubysl-shellwords (~> 2.0)
278
- rubysl-monitor (2.0.0)
279
- rubysl-mutex_m (2.0.0)
280
- rubysl-net-ftp (2.0.1)
281
- rubysl-net-http (2.0.4)
282
- rubysl-cgi (~> 2.0)
283
- rubysl-erb (~> 2.0)
284
- rubysl-singleton (~> 2.0)
285
- rubysl-net-imap (2.0.1)
286
- rubysl-net-pop (2.0.1)
287
- rubysl-net-protocol (2.0.1)
288
- rubysl-net-smtp (2.0.1)
289
- rubysl-net-telnet (2.0.0)
290
- rubysl-nkf (2.0.1)
291
- rubysl-observer (2.0.0)
292
- rubysl-open-uri (2.0.0)
293
- rubysl-open3 (2.0.0)
294
- rubysl-openssl (2.8.0)
295
- rubysl-optparse (2.0.1)
296
- rubysl-shellwords (~> 2.0)
297
- rubysl-ostruct (2.1.0)
298
- rubysl-pathname (2.3)
299
- rubysl-prettyprint (2.0.3)
300
- rubysl-prime (2.0.1)
301
- rubysl-profile (2.0.0)
302
- rubysl-profiler (2.1)
303
- rubysl-pstore (2.0.0)
304
- rubysl-pty (2.0.3)
305
- rubysl-rational (2.0.1)
306
- rubysl-resolv (2.1.2)
307
- rubysl-rexml (2.0.4)
308
- rubysl-rinda (2.0.1)
309
- rubysl-rss (2.0.0)
310
- rubysl-scanf (2.0.0)
311
- rubysl-securerandom (2.0.0)
312
- rubysl-set (2.0.1)
313
- rubysl-shellwords (2.0.0)
314
- rubysl-singleton (2.0.0)
315
- rubysl-socket (2.1.2)
316
- rubysl-fcntl (~> 2.0)
317
- rubysl-stringio (2.1.0)
318
- rubysl-strscan (2.0.0)
319
- rubysl-sync (2.0.0)
320
- rubysl-syslog (2.1.0)
321
- ffi2-generators (~> 0.1)
322
- rubysl-tempfile (2.0.1)
323
- rubysl-thread (2.0.3)
324
- rubysl-thwait (2.0.0)
325
- rubysl-time (2.0.3)
326
- rubysl-timeout (2.0.0)
327
- rubysl-tmpdir (2.0.1)
328
- rubysl-tsort (2.0.1)
329
- rubysl-un (2.0.0)
330
- rubysl-fileutils (~> 2.0)
331
- rubysl-optparse (~> 2.0)
332
- rubysl-unicode_normalize (2.0)
333
- rubysl-uri (2.0.0)
334
- rubysl-weakref (2.0.0)
335
- rubysl-webrick (2.0.0)
336
- rubysl-xmlrpc (2.0.0)
337
- rubysl-yaml (2.1.0)
338
- rubysl-zlib (2.0.1)
339
- sequel (4.36.0)
340
- sprockets (3.7.0)
160
+ ruby2_keywords (0.0.2)
161
+ sequel (5.38.0)
162
+ sprockets (4.0.2)
341
163
  concurrent-ruby (~> 1.0)
342
164
  rack (> 1, < 3)
343
- sprockets-rails (3.1.1)
165
+ sprockets-rails (3.2.2)
344
166
  actionpack (>= 4.0)
345
167
  activesupport (>= 4.0)
346
168
  sprockets (>= 3.0.0)
347
- sqlite3 (1.3.11)
348
- thor (0.19.1)
349
- thread_safe (0.3.5)
350
- travis (1.8.2)
351
- backports
352
- faraday (~> 0.9)
353
- faraday_middleware (~> 0.9, >= 0.9.1)
169
+ sqlite3 (1.3.13)
170
+ thor (1.0.1)
171
+ thread_safe (0.3.6)
172
+ travis (1.10.0)
173
+ faraday (~> 1.0)
174
+ faraday_middleware (~> 1.0)
354
175
  gh (~> 0.13)
355
- highline (~> 1.6)
356
- launchy (~> 2.1)
176
+ highline (~> 2.0)
177
+ json_pure (~> 2.3)
178
+ launchy (~> 2.1, < 2.5.0)
357
179
  pusher-client (~> 0.4)
358
- typhoeus (~> 0.6, >= 0.6.8)
359
- typhoeus (0.8.0)
360
- ethon (>= 0.8.0)
361
- tzinfo (1.2.2)
180
+ tzinfo (1.2.7)
362
181
  thread_safe (~> 0.1)
363
- websocket (1.2.3)
364
- websocket-driver (0.6.4)
182
+ websocket (1.2.8)
183
+ websocket-driver (0.7.3)
365
184
  websocket-extensions (>= 0.1.0)
366
- websocket-extensions (0.1.2)
367
- will_paginate (3.1.0)
185
+ websocket-extensions (0.1.5)
186
+ will_paginate (3.3.0)
368
187
 
369
188
  PLATFORMS
370
189
  ruby
371
190
 
372
191
  DEPENDENCIES
192
+ active_model_serializers
373
193
  activerecord-jdbc-adapter
374
194
  activerecord-jdbcsqlite3-adapter
375
- algoliasearch (~> 1.12.0)
195
+ algoliasearch (>= 1.26.0, < 2.0.0)
376
196
  jdbc-sqlite3
377
- json (~> 1.5, >= 1.5.1)
197
+ json (~> 1.8, >= 1.8.6)
378
198
  kaminari
379
199
  rails (>= 3.2.0)
380
200
  rake (~> 10.1.0)
381
201
  rdoc
382
202
  redgreen
383
203
  rspec (>= 2.5.0, < 3.0)
384
- rubysl (~> 2.0)
385
- sequel
386
- sqlite3
204
+ sequel (>= 4.0)
205
+ sqlite3 (< 1.4.0)
387
206
  travis
388
207
  will_paginate (>= 2.3.15)
389
208
 
390
209
  BUNDLED WITH
391
- 1.12.5
210
+ 2.1.4