Pixelastic
22c3608292
feat(user-agent): Update UA to new convention
2016-09-01 13:45:25 +02:00
Pixelastic
16e7b74b9e
feat(lazy): Adding lazy update feature
2016-07-13 11:24:58 +02:00
Pixelastic
70a0b4b6e8
feat(ENV): Allow passing application_id and index_name as ENV
...
Fixes #29
Environment variabmes ALGOLIA_APPLICATION_ID and ALGOLIA_INDEX_NAME,
if present, will now be used instead of the values defined in
_config.yml.
2016-07-12 11:47:37 +02:00
Pixelastic
abc54e11cc
fix(collection): Add collection name
...
Fixes #25
2016-07-08 17:57:17 +02:00
Pixelastic
dcfb1529ea
fix(errors): Readable error for "record too big"
...
Fixes #28
2016-07-08 17:06:45 +02:00
Pixelastic
6a9e815603
test(jekyll3.1.6): Make tests pass for all jekyll3+
2016-07-08 14:56:24 +02:00
Pixelastic
989a96105d
WIP
2016-07-08 14:49:21 +02:00
Pixelastic
826b0ffe3f
WIP
2016-07-08 13:48:27 +02:00
Pixelastic
635994dc5d
test(tags): No deprecation for tags in 3.1.3
2016-07-06 18:09:39 +02:00
Pixelastic
5b5678e8cc
test(mock): Better mock of Jekyll logger
2016-07-06 18:04:26 +02:00
Pixelastic
77fcd45690
test(deprecation): No deprecation warning thrown
2016-07-06 17:47:58 +02:00
Pixelastic
34b7afdee0
test(3.1.3): Make tests pass Jekyll 3.1.3
2016-07-06 15:47:15 +02:00
Pixelastic
dd31b0eb9c
WIP: Need to make it work for 3.1.6 and without deprecation message
2016-07-01 17:50:40 +02:00
Pixelastic
db1f95237e
feat(index): Do not index index.html page
2016-06-30 16:51:51 +02:00
Pixelastic
ce3ec4fa30
feat(404): Should not index 404.html either
2016-06-30 16:36:57 +02:00
Pixelastic
213f5081af
feat(404): Do not index 404.md pages
2016-06-30 16:29:20 +02:00
Pixelastic
7a52a36aee
fix(node): Do not push the node to the index
2016-06-28 15:42:14 +02:00
Pixelastic
b61e5016a3
feat(extractor): Extracting specific and general data
2016-06-20 18:37:38 +02:00
Pixelastic
2a4a91dd66
feat(extractor): Use external gem for extracting
2016-05-13 18:47:37 +02:00
Pixelastic
e4daad6762
fix(dependencies): Improve TDD watchers on various jekyll versions
2016-03-08 14:24:44 +01:00
Pixelastic
7005983727
feat(error): Display human error when API key ACL is not enough
2016-01-12 15:31:05 +01:00
Pixelastic
2a2d9bbaa3
test(coverage): Getting coverage back to 100%
2016-01-11 09:47:58 +01:00
Pixelastic
bee8926d1e
fix(v3): Stop throwing deprecation warning when using Jekyll v3
...
This should fix the deprecation warnings the plugin is throwing with Jekyll 3.0.
```
Deprecation: Document#slug is now a key in the #data hash.
Called by /home/tim/.rvm/gems/ruby-2.2.3/gems/algoliasearch-jekyll-0.5.3/lib/record_extractor.rb:35:in `metadata'.
Deprecation: Document#tags is now a key in the #data hash.
Called by /home/tim/.rvm/gems/ruby-2.2.3/gems/algoliasearch-jekyll-0.5.3/lib/record_extractor.rb:53:in `tags'.
```
I've fighted hard, but we can now launch the tests for both Jekyll 2.5 and Jekyll 3.0 (everything is in `./scripts`), and write tests conditionnaly for one version or the other.
The tool to do that is [appraisal](https://github.com/thoughtbot/appraisal ) that lets you define several Gemfiles, and you then have to prefix all your `bundle` commands with `appraisal` (so, yeah, you end up with silly `appraisal bundle exec rake stuff`).
I had to duplicate the fixtures, for each version, which explain the large number of file changed, but this is just a copy paste (except the `_config.yml` that is different for each jekyll version)
2016-01-11 09:47:58 +01:00
Pixelastic
dc62a65332
feat(weight): Use more weight values in default weight
2015-11-03 15:25:44 +01:00
Pixelastic
f6c43c4478
feat(weight): Add more weight values in default weight
2015-11-03 14:28:26 +01:00
Pixelastic
e297d7f749
fix(version): Do not depend on Rubygem to get the version
2015-07-29 19:45:58 +02:00
Pixelastic
ecd4c67f06
feat(user-agent): Send the plugin name and version in the UA
2015-07-28 19:49:20 +02:00
Pixelastic
d60e069c91
fix(tests): Fix tests
2015-07-28 17:22:06 +02:00
Pixelastic
ebc1a0cafd
feat(hook): Add custom_hook_excluded_file?
2015-07-28 15:48:42 +02:00
Pixelastic
20e75481ea
refactor(excluded_file): Refactored way to check excluded regexp
2015-07-21 21:45:23 +02:00
Pixelastic
b650547c15
refactor(pagination): Refactor push tests to use real Jekyll instance
2015-07-21 20:00:36 +02:00
Pixelastic
eaba4c42aa
refactor(credentials): Move code to CredentialsChecker
2015-07-20 11:26:02 +02:00
Pixelastic
a87d9ac4ea
refactor(codeclimate): Split long check_credentials method
2015-07-17 18:31:26 +02:00
Pixelastic
61057c77d9
refactor(coverage): Increase to 100% code coverage
2015-07-17 14:43:46 +02:00
Pixelastic
0853e4c7fd
test(coveralls): Add coverall files
2015-07-16 18:12:34 +02:00
Pixelastic
878133341e
test(timezone): Check that posted_at is relative to timezone
2015-07-16 16:36:56 +02:00
Pixelastic
3c42c4d338
feat(jeweler): Configure rspec tasks
2015-07-16 12:33:41 +02:00
Pixelastic
f2c9795719
Copy any custom front matter variables to the index
2015-07-15 14:09:29 +02:00
Pixelastic
b9b1694828
Index Jekyll::Document
2015-07-15 13:55:48 +02:00
Pixelastic
0e739e38be
test(fixtures): Use real fixtures for test instead of mocks
2015-07-15 12:11:45 +02:00
Pixelastic
30b812d7a2
fix(heading): Escape HTML in headings.
2015-07-10 18:19:07 +02:00
Pixelastic
b0111964b4
feat(hierarchy): Include self in the heading if node is itself
...
a heading
2015-07-10 17:29:47 +02:00
Pixelastic
704815e39a
feat(hooks): Check for focused or skipped tests before commiting
2015-07-10 12:22:11 +02:00
Pixelastic
c76457bde3
fix(weight): Allow non-string values in titles
2015-07-10 11:55:54 +02:00
Pixelastic
d2bb1341ee
style(rubocop): Follow rubocop rules and add git hooks
2015-07-07 18:50:59 +02:00
Pixelastic
9277ab9e9b
Allow custom hook to return nil to skip a record
2015-07-07 17:07:19 +02:00
Sylvain UTARD
0c748984f7
No need to override the typoTolerance settings, it's already the default
...
value
2015-07-07 15:31:03 +02:00
Pixelastic
0af87e346a
fix(css_selector_parent): Fix selector on headings
...
When indexing headings, the css_selector_heading was returning the
wrong element
2015-07-03 19:06:26 +02:00
Pixelastic
e49704c83a
feat(css_selector_heading): Add css selector for the closest heading
2015-07-03 17:52:10 +02:00
Pixelastic
ad87543a4d
refactor(get_parent_heading): Split longer method in half to be reused
2015-07-03 17:37:17 +02:00