Skip to content

Commit 0c76e94

Browse files
authored
Merge branch 'master' into improve-collection-and-category-management
2 parents d9163fc + dc06a22 commit 0c76e94

File tree

10 files changed

+68
-17
lines changed

10 files changed

+68
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ Gemfile.lock
1818
spec/dest
1919
.bundle
2020
spec/fixtures/.jekyll-metadata
21+
spec/fixtures/.jekyll-cache

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
language: ruby
22
cache: bundler
3-
sudo: false
43
rvm:
5-
- 2.5
6-
- 2.4
7-
- 2.3
4+
- &latest_ruby 2.6
5+
- 2.4
6+
- 2.3
87
env:
98
global:
10-
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
9+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
10+
matrix:
11+
- JEKYLL_VERSION="~> 3.8"
12+
matrix:
13+
include:
14+
- rvm: *latest_ruby
15+
env: JEKYLL_VERSION="~> 3.7.4"
16+
- rvm: *latest_ruby
17+
env: JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
1118
before_install:
1219
- gem update --system
1320
- gem install bundler

Gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
source "https://rubygems.org"
44
gemspec
55

6-
if ENV["JEKYLL_VERSION"]
7-
gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}"
6+
gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
7+
8+
install_if -> { Gem.win_platform? } do
9+
gem "tzinfo", "~> 1.2"
10+
gem "tzinfo-data"
811
end

History.markdown

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1-
## HEAD
1+
## 0.12.1 / 2019-03-23
22

3-
* Release 💎 0.11 (#241)
3+
* Release: v0.12.0 (#271)
4+
5+
### Bug Fixes
6+
7+
* Re-introduce Ruby 2.3 support and test Jekyll 3.7+ (#272)
8+
9+
## 0.12.0 / 2019-03-21
10+
11+
* Allow Jekyll v4 (still alpha)
412

513
### Development Fixes
614

715
* style: fix offenses in specs (#248)
16+
* dev: update CI and style settings (#258)
17+
* Enable testing for Windows platform (#265)
818

919
## 0.11.0 / 2018-09-09
1020

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The plugin will automatically use any of the following configuration variables,
3131

3232
* `title` or `name` - The title of the site, e.g., "My awesome site"
3333
* `description` - A longer description of what your site is about, e.g., "Where I blog about Jekyll and other awesome things"
34-
* `url` - The URL to your site, e.g., `http://example.com`. If none is provided, the plugin will try to use `site.github.url`.
34+
* `url` - The URL to your site, e.g., `https://example.com`. If none is provided, the plugin will try to use `site.github.url`.
3535
* `author` - Global author information (see below)
3636

3737
### Already have a feed path?

appveyor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: "{build}"
2+
clone_depth: 5
3+
build: off
4+
5+
environment:
6+
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
7+
JEKYLL_VERSION: "~> 3.8"
8+
matrix:
9+
- RUBY_FOLDER_VER: "26"
10+
JEKYLL_VERSION : "~> 3.7.4"
11+
- RUBY_FOLDER_VER: "26"
12+
JEKYLL_VERSION : ">= 4.0.0.pre.alpha1"
13+
- RUBY_FOLDER_VER: "26"
14+
- RUBY_FOLDER_VER: "24"
15+
- RUBY_FOLDER_VER: "23"
16+
17+
install:
18+
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%-x64\bin;%PATH%
19+
- bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle
20+
21+
test_script:
22+
- ruby --version
23+
- gem --version
24+
- bundler --version
25+
- bash ./script/test
26+
27+
cache:
28+
# If one of the files after the right arrow changes, cache will be invalidated
29+
- 'vendor\bundle -> appveyor.yml, Gemfile, jekyll-feed.gemspec'

jekyll-feed.gemspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Gem::Specification.new do |spec|
1414
spec.license = "MIT"
1515

1616
spec.files = `git ls-files -z`.split("\x0")
17-
spec.executables = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
18-
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
17+
spec.test_files = spec.files.grep(%r!^spec/!)
1918
spec.require_paths = ["lib"]
2019

2120
spec.required_ruby_version = ">= 2.3.0"
2221

23-
spec.add_dependency "jekyll", "~> 3.3"
24-
spec.add_development_dependency "bundler", "~> 1.15"
22+
spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
23+
24+
spec.add_development_dependency "bundler"
2525
spec.add_development_dependency "nokogiri", "~> 1.6"
2626
spec.add_development_dependency "rake", "~> 12.0"
2727
spec.add_development_dependency "rspec", "~> 3.0"
28-
spec.add_development_dependency "rubocop-jekyll", "~> 0.3"
28+
spec.add_development_dependency "rubocop-jekyll", "~> 0.5"
2929
spec.add_development_dependency "typhoeus", ">= 0.7", "< 2.0"
3030
end

lib/jekyll-feed/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Jekyll
44
module Feed
5-
VERSION = "0.11.0"
5+
VERSION = "0.12.1"
66
end
77
end

spec/jekyll-feed_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@
205205

206206
context "validation" do
207207
it "validates" do
208+
skip "Typhoeus couldn't find the 'libcurl' module on Windows" if Gem.win_platform?
208209
# See https://validator.w3.org/docs/api.html
209210
url = "https://validator.w3.org/feed/check.cgi?output=soap12"
210211
response = Typhoeus.post(url, :body => { :rawdata => contents }, :accept_encoding => "gzip")

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
require "jekyll"
4-
require "typhoeus"
4+
require "typhoeus" unless Gem.win_platform?
55
require "nokogiri"
66
require "rss"
77
require File.expand_path("../lib/jekyll-feed", __dir__)

0 commit comments

Comments
 (0)