25 Commits

Author SHA1 Message Date
Pixelastic
19c609ccdd refactor(release): Simplify script 2016-07-20 18:19:10 +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
826b0ffe3f WIP 2016-07-08 13:48:27 +02:00
Pixelastic
34b7afdee0 test(3.1.3): Make tests pass Jekyll 3.1.3 2016-07-06 15:47:15 +02: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
7005983727 feat(error): Display human error when API key ACL is not enough 2016-01-12 15:31:05 +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
65b4b58299 feat(release): Add release script 2015-11-03 16:45:23 +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
Pixelastic
c0db6f4908 fix(scripts): Fix before-push that was always succeeding 2015-07-28 17:23:26 +02:00
Pixelastic
e6ac7f17a3 style(hooks): Only trigger hooks when ruby files have been changed 2015-07-21 22:28:38 +02:00
Pixelastic
7b491e23af feat(dry-run): Add -n flag to do a dry run 2015-07-21 19:03:12 +02:00
Pixelastic
dfd3a0c44b style(hooks): Add flay pre-commit hook 2015-07-20 12:12:59 +02:00
Pixelastic
eaba4c42aa refactor(credentials): Move code to CredentialsChecker 2015-07-20 11:26:02 +02:00
Pixelastic
acf01fc2c3 feat(flog): Add flog pre-commit hook 2015-07-17 18:46:14 +02:00
Pixelastic
3a61d06dda test(travis): Limit compatibility to Ruby 2.0+ 2015-07-16 14:48:46 +02:00
Pixelastic
fca9dc9602 fix(scripts): Move scripts to rake 2015-07-16 13:34:59 +02:00
Pixelastic
63f252b20f release(v0.2.2): Fix missing dependencies 2015-07-10 12:35:08 +02:00
Pixelastic
704815e39a feat(hooks): Check for focused or skipped tests before commiting 2015-07-10 12:22:11 +02:00
Pixelastic
faa86d0cd9 feat(hooks): Remove unused hook script 2015-07-08 18:12:40 +02:00
Pixelastic
d2bb1341ee style(rubocop): Follow rubocop rules and add git hooks 2015-07-07 18:50:59 +02:00
Pixelastic
aa3e865e2b test(extractor): Add tests for metadata 2015-07-02 15:47:56 +02:00