{"id":14979563,"url":"https://github.com/ptsurbeleu/jekyll-theme-specs","last_synced_at":"2025-07-05T09:06:50.306Z","repository":{"id":56878955,"uuid":"96500027","full_name":"ptsurbeleu/jekyll-theme-specs","owner":"ptsurbeleu","description":":gem: Human-readable specifications for your Jekyll theme!","archived":false,"fork":false,"pushed_at":"2017-07-08T06:32:38.000Z","size":16,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T03:05:20.728Z","etag":null,"topics":["cucumber","jekyll","jekyll-theme","jekyll-themes","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ptsurbeleu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-07T04:46:49.000Z","updated_at":"2021-09-19T06:36:41.000Z","dependencies_parsed_at":"2022-08-20T23:10:47.164Z","dependency_job_id":null,"html_url":"https://github.com/ptsurbeleu/jekyll-theme-specs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptsurbeleu%2Fjekyll-theme-specs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptsurbeleu%2Fjekyll-theme-specs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptsurbeleu%2Fjekyll-theme-specs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptsurbeleu%2Fjekyll-theme-specs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptsurbeleu","download_url":"https://codeload.github.com/ptsurbeleu/jekyll-theme-specs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859014,"owners_count":16556038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cucumber","jekyll","jekyll-theme","jekyll-themes","ruby","ruby-gem"],"created_at":"2024-09-24T14:00:17.961Z","updated_at":"2024-10-11T19:41:34.493Z","avatar_url":"https://github.com/ptsurbeleu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll Theme Specs\n\nThis gem is a simple wrap up of behavior-driven (BDD) validations borrowed from the original\nsource code of Jekyll. The only reason it has been extracted into a gem is to be able to validate\ngem-based themes for Jekyll using Jekyll's original validation tools \u0026 techniques.\n\nAll the credits belong to Jekyll's contributors \u0026 maintainers. Again, this gem is a\ncarbon-copy of what is already available in Jekyll's code base in a bit more reusable package.\n\n## Installation\n\nAdd this line to your Jekyll's Gemfile:\n\n```ruby\ngem 'jekyll-theme-specs'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install jekyll-theme-specs\n\n## Usage\n\nAt this point the tool makes quite a few assumptions and very rigid in terms of the configuration options available.\n\n- All your features MUST be placed in `features` folder (Cucumber default);\n- Before running your theme's specs, it is a MUST to run `bundle` or `bundle install`;\n- Always run the tool via Bundler, eq. `bundle exec theme-specs`;\n- You can opt-in for more concise reporting style (Jekyll's favorite) by using `-f Jekyll::Cucumber::Formatter` option, eq. `bundle exec theme-specs -f Jekyll::Cucumber::Formatter`;\n- You can blend \u0026 validate multiple config files to get desired flavor of Jekyll's configuration on-the-fly (:heart:);\n  - `Given I have \"_config.yml\" configuration file with \"theme\" set to \"\u003ctheme name\u003e\"`\n  - `Given I have \"features/comments-off.yml\" configuration file with \"comments_enabled\" set to \"false\"`\n  - `When I run jekyll build --config _config.yml,features/comments-off.yml`\n  - `Then I should get a zero exit status`\n\nThere is also [`minima-theme-specs`](https://github.com/ptsurbeleu/minima-theme-specs) repository that is a work in progress of building `minima` theme\nvalidations. We will start with a few simple things and expand coverage further.\n\n## Development\n\n...\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ptsurbeleu/jekyll-theme-specs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptsurbeleu%2Fjekyll-theme-specs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptsurbeleu%2Fjekyll-theme-specs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptsurbeleu%2Fjekyll-theme-specs/lists"}