Skip to content

Commit 44404c6

Browse files
committed
Remove Jekyll on-the-fly Gemfile parsing.
This was be the best way to get the latest version on GitHub Pages, but it's annoying, as it will break all Builds after a new release. We're going with [plan B](https://jekyllrb.com/docs/github-pages/) now. 😄
1 parent 70289a7 commit 44404c6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ source 'https://rubygems.org'
22

33
require 'json'
44
require 'open-uri'
5-
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
65

76
gem 'jekyll', '~> 3.3'
8-
gem 'github-pages', versions['github-pages'], group: :jekyll_plugin
7+
gem 'github-pages', group: :jekyll_plugin
98
gem 'jekyll-theme-cayman'
109
gem 'nokogiri'

Gemfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ GEM
164164
minitest (5.10.2)
165165
multipart-post (2.0.0)
166166
net-dns (0.8.0)
167-
nokogiri (1.7.1)
167+
nokogiri (1.7.2)
168168
mini_portile2 (~> 2.1.0)
169169
octokit (4.7.0)
170170
sawyer (~> 0.8.0, >= 0.5.3)
@@ -176,7 +176,7 @@ GEM
176176
ffi (>= 0.5.0)
177177
rouge (1.11.1)
178178
safe_yaml (1.0.4)
179-
sass (3.4.23)
179+
sass (3.4.24)
180180
sawyer (0.8.1)
181181
addressable (>= 2.3.5, < 2.6)
182182
faraday (~> 0.8, < 1.0)
@@ -193,7 +193,7 @@ PLATFORMS
193193
ruby
194194

195195
DEPENDENCIES
196-
github-pages (= 138)
196+
github-pages
197197
jekyll (~> 3.3)
198198
jekyll-theme-cayman
199199
nokogiri

0 commit comments

Comments
 (0)