265 Commits

Author SHA1 Message Date
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
6425b6ae1d docs(readme): Add FAQ question about how to blacklist HTML nodes 2016-07-08 15:32:42 +02:00
Pixelastic
adfb9ce96b test(jekyll3): Make it all pass under Jekyll v3 2016-07-08 15:02:13 +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
40f326aa68 docs(contributing): Updating docs 2016-06-20 18:41:55 +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
5ac02bbed7 docs(readme): Use latest version in readme example 2016-04-14 11:19:52 +02:00
Pixelastic
8e5fac82a3 docs(hooks): Give a more precise example of the hooks 2016-03-10 12:27:20 +01:00
Pixelastic
511c2e8b0e Regenerate gemspec for version 0.7.0 2016-03-08 14:35:32 +01:00
Pixelastic
41fbeff4a8 chore(bump): Version bump to 0.7.0 2016-03-08 14:35:11 +01:00
Pixelastic
70cc213ee8 fix(release): Update dependencies between each step 2016-03-08 14:33:02 +01:00
Pixelastic
e4daad6762 fix(dependencies): Improve TDD watchers on various jekyll versions 2016-03-08 14:24:44 +01:00
Pixelastic
94112d7df6 fix(dependencies: Stop fixing Jekyll version as a core dependency 2016-03-08 13:37:01 +01:00
Pixelastic
f81debfa72 docs(apiKey): Note about key access to _tmp index 2016-01-13 14:10:44 +01:00
Pixelastic
fad099dbad Regenerate gemspec for version 0.6.1 2016-01-13 14:06:57 +01:00
Pixelastic
1304511754 chore(bump): Version bump to 0.6.1 2016-01-13 14:06:46 +01:00
Tim Carry
3aa449f913 Merge pull request #20 from algolia/fix/18-key-acl
feat(error): Display human error when API key ACL is not enough
2016-01-13 14:06:27 +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
82e65af5d2 docs(jekyll): Add badge for compatible Jekyll version 2016-01-11 09:56:49 +01:00
Pixelastic
f5c989cd2b Regenerate gemspec for version 0.6.0 2016-01-11 09:51:33 +01:00
Pixelastic
1d6c731985 chore(bump): Version bump to 0.6.0 2016-01-11 09:51:01 +01:00
Tim Carry
37b85fc4cb Merge pull request #19 from algolia/fix/jekyll-v3
fix(v3): Stop throwing deprecation warning when using Jekyll v3
2016-01-11 09:49:28 +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
486591034b Merge branch 'master' into develop 2016-01-11 09:47:38 +01:00
Tim Carry
43ad19567e Merge pull request #16 from borisschapira/master
Correction version
2015-12-15 17:34:11 +01:00
Boris SCHAPIRA
27406f69d9 Correction version 2015-12-15 17:24:26 +01:00
Pixelastic
e079b44617 docs(contributing): Revert to develop branching strategy 2015-11-03 17:00:26 +01:00
Pixelastic
3e0bc46a45 Regenerate gemspec for version 0.5.3 2015-11-03 16:45:57 +01:00
Pixelastic
a49a9eaac3 chore(bump): Version bump to 0.5.3 2015-11-03 16:45:46 +01:00
Pixelastic
65b4b58299 feat(release): Add release script 2015-11-03 16:45:23 +01:00
Pixelastic
34d3017bed Regenerate gemspec for version 0.5.2 2015-11-03 16:40:58 +01:00
Pixelastic
3dc03af347 chore(bump): Version bump to 0.5.2 2015-11-03 16:37:13 +01:00
Pixelastic
ffca1b9952 feat(version): Use simpler version.rb file 2015-11-03 16:36:38 +01:00
Pixelastic
482ac3cf7c fix(bump): Fix relative filepath 2015-11-03 16:35:03 +01:00
Pixelastic
a68765110b feat(bump): Add bump script 2015-11-03 16:32:23 +01:00