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

Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in `method_missing'"]. #127

Open
clockshark opened this issue Apr 26, 2019 · 0 comments

Comments

@clockshark
Copy link

I want to report a bug:
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in `method_missing'"].
Deprecation: Document#name is now a key in the #data hash.

What is the current behavior?

$ ALGOLIA_API_KEY='KEY_GOES_HERE' bundle exec jekyll algolia
Configuration file: config.yml
Processing site...
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Rendering to HTML (100%) |=====================================================|
Deprecation: Document#name is now a key in the #data hash. |
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash. |
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Deprecation: Document#name is now a key in the #data hash.
Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"]. Deprecation: Document#name is now a key in the #data hash. Deprecation: Called by ["C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/document.rb:377:in method_missing'"].
Extracting records (100%) |====================================================|
Settings are already up to date.
Getting list of existing records
Content is already up to date.
✔ Indexing complete

What is your expected behavior?
I should not be seeing the DEP errors

Git repository to reproduce the issue:

Ruby version used:
$ ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]

Jekyll version used:
$ jekyll -v
jekyll 3.8.5

Gemfile:
group :jekyll_plugins do
gem 'jekyll-algolia', '~> 1.0'
end

_config.yml
algolia:
application_id: ID_HERE
index_name: jekyll
search_only_api_key: KEY_HERE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants