Skip to content

Commit

Permalink
Merge branch 'master' into sort-collections
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Nov 7, 2017
2 parents 4da1610 + efd9864 commit 2c3cdf6
Show file tree
Hide file tree
Showing 123 changed files with 1,952 additions and 665 deletions.
22 changes: 17 additions & 5 deletions .github/CONTRIBUTING.markdown
Expand Up @@ -4,7 +4,7 @@ Hi there! Interested in contributing to Jekyll? We'd love your help. Jekyll is a

## Where to get help or report a problem

See [the support guidelines](SUPPORT.md)
See [the support guidelines](https://jekyllrb.com/docs/support/)

## Ways to contribute

Expand Down Expand Up @@ -111,25 +111,37 @@ If your contribution changes any Jekyll behavior, make sure to update the docume

* Don't bump the Gem version in your pull request (if you don't know what that means, you probably didn't).

* You can use the command `script/console` to start a REPL to explore the result of
Jekyll's methods. It also provides you with helpful methods to quickly create a
site or configuration. [Feel free to check it out!](https://github.com/jekyll/jekyll/blob/master/script/console)

## Running tests locally

### Test Dependencies

To run the test suite and build the gem you'll need to install Jekyll's dependencies by running the following command:

<pre class="highlight"><code>$ script/bootstrap</code></pre>
```sh
script/bootstrap
```

Before you make any changes, run the tests and make sure that they pass (to confirm your environment is configured properly):

<pre class="highlight"><code>$ script/cibuild</code></pre>
```sh
script/cibuild
```

If you are only updating a file in `test/`, you can use the command:

<pre class="highlight"><code>$ script/test test/blah_test.rb</code></pre>
```sh
script/test test/blah_test.rb
```

If you are only updating a `.feature` file, you can use the command:

<pre class="highlight"><code>$ script/cucumber features/blah.feature</code></pre>
```sh
script/cucumber features/blah.feature
```

Both `script/test` and `script/cucumber` can be run without arguments to
run its entire respective suite.
Expand Down
File renamed without changes.
44 changes: 44 additions & 0 deletions .github/first-timers-issue-template.md
@@ -0,0 +1,44 @@
### 🆕🐥☝ First Timers Only.

This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

[About First Timers Only](http://www.firsttimersonly.com/).

### 🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

### 📋 Step by Step

- [ ] 👌 **Join the team**: Add yourself to a Jekyll affinity team.

Go to [teams.jekyllrb.com](https://teams.jekyllrb.com/) and join a team that best fits your interests. Once you click the link to join a team, you will soon recieve an email inviting you to join the Jekyll organization.

- [ ] 🙋 **Claim this issue**: Comment below.

Leave a comment that you have claimed this issue.

- [ ] 📝 **Update** the file [$FILENAME]($BRANCH_URL) in the `$REPO` repository (press the little pen Icon) and edit the line as shown below.


```diff
$DIFF
```


- [ ] 💾 **Commit** your changes

- [ ] 🔀 **Start a Pull Request**. There are two ways how you can start a pull request:

1. If you are familiar with the terminal or would like to learn it, [here is a great tutorial](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github) on how to send a pull request using the terminal.

2. You can [edit files directly in your browser](https://help.github.com/articles/editing-files-in-your-repository/)

- [ ] 🏁 **Done** Ask in comments for a review :)

### 🤔❓ Questions

Leave a comment below!


This issue was created by [First-Timers-Bot](https://github.com/hoodiehq/first-timers-bot).
6 changes: 6 additions & 0 deletions .github/first-timers.yml
@@ -0,0 +1,6 @@
repository: jekyll
labels:
- good first issue
- help-wanted
- first-time-only
template: .github/first-timers-issue-template.md
19 changes: 8 additions & 11 deletions .rubocop.yml
@@ -1,6 +1,6 @@
---
AllCops:
TargetRubyVersion: 2.0
TargetRubyVersion: 2.1
Include:
- lib/**/*.rb
Exclude:
Expand All @@ -21,7 +21,7 @@ Layout/EmptyLinesAroundAccessModifier:
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/EndOfLine:
EnforcedStyle: lf
EnforcedStyle: native
Layout/ExtraSpacing:
AllowForAlignment: true
Layout/FirstParameterIndentation:
Expand All @@ -38,8 +38,6 @@ Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
Layout/SpaceAroundOperators:
Enabled: true
Layout/SpaceInsideBrackets:
Enabled: false
Lint/EndAlignment:
Expand All @@ -48,6 +46,8 @@ Lint/UnreachableCode:
Severity: error
Lint/UselessAccessModifier:
Enabled: false
Lint/Void:
Enabled: false
Metrics/AbcSize:
Max: 21
Metrics/BlockLength:
Expand Down Expand Up @@ -82,6 +82,10 @@ Metrics/ParameterLists:
Max: 4
Metrics/PerceivedComplexity:
Max: 8
Naming/FileName:
Enabled: false
Naming/HeredocDelimiterNaming:
Enabled: false
Security/MarshalLoad:
Exclude:
- !ruby/regexp /test\/.*.rb$/
Expand All @@ -94,23 +98,18 @@ Style/Alias:
Enabled: false
Style/AndOr:
Severity: error
Style/Attr:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always
Style/Documentation:
Enabled: false
Exclude:
- !ruby/regexp /features\/.*.rb$/
Style/DoubleNegation:
Enabled: false
Style/FileName:
Enabled: false
Style/GuardClause:
Enabled: false
Style/HashSyntax:
Expand Down Expand Up @@ -153,5 +152,3 @@ Style/SymbolArray:
Enabled: false
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/UnneededCapitalW:
Enabled: false
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -5,11 +5,11 @@ language: ruby
sudo: false

rvm:
- &ruby1 2.4.1
- &ruby2 2.3.4
- &ruby3 2.2.7
- &ruby1 2.4.2
- &ruby2 2.3.5
- &ruby3 2.2.8
- &ruby4 2.1.10
- &jruby jruby-9.1.7.0
- &jruby jruby-9.1.13.0

matrix:
include:
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Expand Up @@ -23,14 +23,14 @@ end

group :test do
gem "codeclimate-test-reporter", "~> 1.0.5"
gem "cucumber", "~> 2.1"
gem "cucumber", "~> 3.0"
gem "jekyll_test_plugin"
gem "jekyll_test_plugin_malicious"
# nokogiri v1.8 does not work with ruby 2.1 and below
gem "nokogiri", RUBY_VERSION >= "2.2" ? "~> 1.7" : "~> 1.7.0"
gem "rspec"
gem "rspec-mocks"
gem "rubocop", "~> 0.49.1"
gem "rubocop", "~> 0.51.0"
gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__)
gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)

Expand Down
136 changes: 122 additions & 14 deletions History.markdown
@@ -1,17 +1,103 @@
## HEAD

### Documentation

* Docs: GitHub Pages instructions (#6384)
* Improve documentation for theme-gem installation (#6387)
* Fix diff syntax-highlighting (#6388)
* Fix code-block highlighting in docs (#6398)
* Docs: Filtering Posts with categories, tags, or other variables (#6399)
* Fixes formatting on pre-formatted text. (#6405)
* Docs: updates (#6407)
* Docs: Fix `collections_dir` example (#6408)
* Docs: Renaming duplicate of &#34;Scenario 6&#34; to &#34;Scenario 7&#34; (#6411)
* Docs: Mark `collection_dir` as unreleased (#6412)
* Docs: Fix link to SUPPORT (#6415)
* Docs: Added new tutorial to tutorials section on docs (#6406)
* Fix list appearance by adding missing `ol` tag (#6421)
* Explain how to override output collection index page (#6424)
* Added github-cards to the list of plugins (#6425)
* add post about diversity (#6447)
* Docs: Add a note about Liquid and syntax highlighting (#6466)
* Add a note on `:jekyll_plugins` group in the docs (#6488)
* Updated custom-404-page.md (#6489)
* Remove `sudo` from macOS troubleshooting instructions (#6486)
* add formester to the list of saas form backend (#6059)
* Fix a few minor issues in the docs (#6494)

### Development Fixes

* Strip unnecessary leading whitespace in template (#6228)
* Users should be installing patch versions. (#6198)
* fix tests (#6240)
* Define path with __dir__ (#6087)
* exit site.process sooner (#6239)
* make flakey test more robust (#6277)
* Add a quick test for DataReader (#6284)
* script/backport-pr: commit message no longer includes the `#` (#6289)
* Add Add CODEOWNERS file to help automate reviews. (#6320)
* Fix builds on codeclimate (#6333)
* Upgrade to Cucumber 3.0 (#6395)
* Provide a better default hash for tracking liquid stats (#6417)
* Docs: CoC violation correspondants (#6429)
* add failing test for non-utf8 encoding (#6339)
* Add configuration for first-timers bot (#6431)
* Update first-timers-issue-template.md (#6472)
* Site: Rename method (#6474)
* Do not linkify escaped characters as PRs in History (#6468)
* Rely on jekyll-mentions for linking usernames (#6469)
* Enable `Lint/RescueWithoutErrorClass` Cop (#6482)
* Added direct collection access to future collection item feature test (#6151)
* Clean up Rubocop config (#6495)
* Fix #6498: Use Gem to discover the location of bundler. (#6499)
* Remove unnecessary encoding comment (#6513)
* Suggest using Rubocop to automatically fix errors (#6514)
* Assert raising Psych::SyntaxError when `&#34;strict_front_matter&#34;=&gt;true` (#6520)
* [RuboCop] Enable `Style/UnneededCapitalW` cop (#6526)
* Use Kernel#Array instead of explicit Array check (#6525)

### Minor Enhancements

* Disable default layouts for Pages with a `layout: none` declaration (#6182)
* Upgrade to Rouge 3 (#6381)
* Allow the user to set collections_dir to put all collections under one subdirectory (#6331)
* Scope path glob (#6268)
* Allow plugins to modify the obsolete files. (#6502)
* .sass-cache doesn&#39;t *always* land in options[&#39;source&#39;] (#6500)
* Add Utils::Internet.connected? to determine whether host machine has internet connection. (#5870)
* Add latin mode to slugify (#6509)
* filter relative_url should keep absolute urls with scheme/authority (#6490)

### Site Enhancements

* Docs: Update instructions (#6396)
* Add special styling for code-blocks run in shell (#6389)
* Update list of files excluded from Docs site (#6457)
* Update site History (#6460)
* Site: Add default twitter card image (#6476)
* Update normalize.css to v7.0.0 (#6491)

### Bug Fixes

* Raise when theme root directory is not available (#6455)

## 3.6.2 / 2017-10-21

### Development Fixes

* Update Rubocop to 0.51.0 (#6444)
* Add test for layout as string (#6445)

### Bug Fixes

* Problematic UTF+bom files (#6322)
* Always treat `data.layout` as a string (#6442)

## 3.6.1 / 2017-10-20

### Documentation

* Doc y_day in docs/permalinks (#6244)
* Update frontmatter.md (#6371)
* Elaborate on excluding items from processing (#6136)
* Style lists in tables (#6379)
* Remove duplicate &#34;available&#34; (#6380)

### Development Fixes

* Bump rubocop to use `v0.50.x` (#6368)

## 3.6.0 / 2017-09-21

### Minor Enhancements

Expand All @@ -24,19 +110,24 @@
* Add support for Rouge 2, in addition to Rouge 1 (#5919)
* Allow `yield` to logger methods &amp; bail early on no-op messages (#6315)
* Update mime-types. (#6336)
* Use a Schwartzian transform with custom sorting (#6342)
* Alias `Drop#invoke_drop` to `Drop#[]` (#6338)

### Bug Fixes

* `Deprecator`: fix typo for `--serve` command (#6229)
* `Reader#read_directories`: guard against an entry not being a directory (#6226)
* kramdown: symbolize keys in-place (#6247)
* Call to_s on site.url before attempting to concatenate strings (#6253)
* Call `to_s` on site.url before attempting to concatenate strings (#6253)
* Enforce Style/FrozenStringLiteralComment (#6265)
* Update theme-template README to note &#39;assets&#39; directory (#6257)
* Memoize the return value of Document#url (#6266)
* Memoize the return value of `Document#url` (#6266)
* delegate `StaticFile#to_json` to `StaticFile#to_liquid` (#6273)
* Fix Drop#key? so it can handle a nil argument (#6281)
* Fix `Drop#key?` so it can handle a nil argument (#6281)
* Guard against type error in absolute url (#6280)
* Mutable drops should fallback to their own methods when a mutation isn&#39;t present (#6350)
* Skip adding binary files as posts (#6344)
* Don&#39;t break if bundler is not installed (#6377)

### Documentation

Expand All @@ -56,13 +147,30 @@
* Docs: `site.url` behavior on development and production environments (#6270)
* Fix typo in site.url section of variables.md :-[ (#6337)
* Docs: updates (#6343)
* Fix precedence docs (#6346)
* add note to contributing docs about `script/console` (#6349)
* Docs: Fix permalink example (#6375)

### Site Enhancements

* Adding DevKit helpers (#6225)
* Customizing url in collection elements clarified (#6264)
* Plugins is the new gems (#6326)

### Development Fixes

* Strip unnecessary leading whitespace in template (#6228)
* Users should be installing patch versions. (#6198)
* Fix tests (#6240)
* Define path with `__dir__` (#6087)
* exit site.process sooner (#6239)
* make flakey test more robust (#6277)
* Add a quick test for DataReader (#6284)
* script/backport-pr: commit message no longer includes the `#` (#6289)
* Add Add CODEOWNERS file to help automate reviews. (#6320)
* Fix builds on codeclimate (#6333)
* Bump rubies on Travis (#6366)

## 3.5.2 / 2017-08-12

### Bug Fixes
Expand Down Expand Up @@ -1275,7 +1383,7 @@

### Site Enhancements

* Add `@alfredxing` to the `@jekyll/core` team. :tada: (#3218)
* Add @alfredxing to the @jekyll/core team. :tada: (#3218)
* Document the `-q` option for the `build` and `serve` commands (#3149)
* Fix some minor typos/flow fixes in documentation website content (#3165)
* Add `keep_files` to configuration documentation (#3162)
Expand Down

0 comments on commit 2c3cdf6

Please sign in to comment.