Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated rake require #1132

Merged
merged 1 commit into from
May 1, 2018

Conversation

y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Apr 30, 2018

There seems to be a duplicate process related to Rake.

begin
require "rake"
rescue LoadError
# do nothing
end
require "searchkick/tasks" if defined?(Rake)
begin
require "rake"
rescue LoadError
# do nothing
end
require "searchkick/tasks" if defined?(Rake)

@ankane ankane merged commit 0cc6bea into ankane:master May 1, 2018
@ankane
Copy link
Owner

ankane commented May 1, 2018

Thanks @y-yagi 👍

@y-yagi y-yagi deleted the remove_duplicated_rake_require branch May 1, 2018 00:19
mikelkew added a commit to mikelkew/searchkick that referenced this pull request May 16, 2018
* Searchkick_BASE/master: (275 commits)
  Version bump to 3.1.0 [skip ci]
  Revert "Use pluck for async reindex to avoid loading records in memory - ankane#1134"
  Use pluck for async reindex to avoid loading records in memory - ankane#1134
  Symbolize keys for better merging - fixes ankane#1144
  Show exact record ids that are missing [skip ci]
  Fixed with_hit and with_highlights when records in search index do not exist in database
  Check for hit highlight as well [skip ci]
  Fixed error with highlights and match all - fixes ankane#1140
  Ability to exclude ids with similar method - fixes ankane#1139
  Update README for factory_bot (ankane#1138)
  Updated comment [skip ci]
  Mode: true -> :inline [skip ci]
  Intermediate -> Inline [skip ci]
  Added :inline as alias for true for callbacks and mode options - closes ankane#1133
  Remove duplicated rake require (ankane#1132)
  No need for regex [skip ci]
  Warn when records in search index do not exist in database
  Friendlier error message for bad mapping with partial matches - fixes ankane#1127
  Support more boost_by_distance options
  Version bump to 3.0.3
  ...
@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants