Skip to content

Commit 7f581e8

Browse files
committed
updated Gemfile so the site gets the latest github-pages dependencies easily by #bundle update
1 parent cb49653 commit 7f581e8

File tree

2 files changed

+7
-33
lines changed

2 files changed

+7
-33
lines changed

Gemfile

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,7 @@
1-
source "https://rubygems.org"
2-
ruby RUBY_VERSION
1+
source 'https://rubygems.org'
32

4-
# Hello! This is where you manage which Jekyll version is used to run.
5-
# When you want to use a different version, change it below, save the
6-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7-
#
8-
# bundle exec jekyll serve
9-
#
10-
# This will help ensure the proper Jekyll version is running.
11-
# Happy Jekylling!
12-
#gem "jekyll", "3.4.0"
13-
14-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
15-
gem "minima"
16-
17-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19-
gem "github-pages", group: :jekyll_plugins
20-
21-
# If you have any plugins, put them here!
22-
group :jekyll_plugins do
23-
gem "jekyll-feed"
24-
end
25-
26-
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
27-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
3+
require 'json'
4+
require 'open-uri'
5+
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
286

7+
gem 'github-pages', versions['github-pages']

Gemfile.lock

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,8 @@ PLATFORMS
195195
ruby
196196

197197
DEPENDENCIES
198-
github-pages
199-
jekyll-feed
200-
minima
201-
tzinfo-data
202-
203-
RUBY VERSION
204-
ruby 2.4.0p0
198+
github-pages (= 124)
199+
json
205200

206201
BUNDLED WITH
207202
1.14.5

0 commit comments

Comments
 (0)