Skip to content

Commit 5be1a6b

Browse files
authored
Merge pull request #777 from github/update-theme-versions
Upgrade all pages-themes to v0.2.0 (except primer, which is v0.6.0)
2 parents 6430a41 + bf8cae0 commit 5be1a6b

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

lib/github-pages/plugins.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ class Plugins
5454
# Themes to convert to remote themes
5555
THEMES_TO_CONVERT_TO_REMOTE_THEMES = {
5656
"jekyll-swiss" => "broccolini/swiss",
57-
"jekyll-theme-primer" => "pages-themes/primer@v0.5.4",
58-
"jekyll-theme-architect" => "pages-themes/architect@v0.1.1",
59-
"jekyll-theme-cayman" => "pages-themes/cayman@v0.1.1",
60-
"jekyll-theme-dinky" => "pages-themes/dinky@v0.1.1",
61-
"jekyll-theme-hacker" => "pages-themes/hacker@v0.1.1",
62-
"jekyll-theme-leap-day" => "pages-themes/leap-day@v0.1.1",
63-
"jekyll-theme-merlot" => "pages-themes/merlot@v0.1.1",
64-
"jekyll-theme-midnight" => "pages-themes/midnight@v0.1.1",
65-
"jekyll-theme-minimal" => "pages-themes/minimal@v0.1.1",
66-
"jekyll-theme-modernist" => "pages-themes/modernist@v0.1.1",
67-
"jekyll-theme-slate" => "pages-themes/slate@v0.1.1",
68-
"jekyll-theme-tactile" => "pages-themes/tactile@v0.1.1",
69-
"jekyll-theme-time-machine" => "pages-themes/time-machine@v0.1.1",
57+
"jekyll-theme-primer" => "pages-themes/primer@v0.6.0",
58+
"jekyll-theme-architect" => "pages-themes/architect@v0.2.0",
59+
"jekyll-theme-cayman" => "pages-themes/cayman@v0.2.0",
60+
"jekyll-theme-dinky" => "pages-themes/dinky@v0.2.0",
61+
"jekyll-theme-hacker" => "pages-themes/hacker@v0.2.0",
62+
"jekyll-theme-leap-day" => "pages-themes/leap-day@v0.2.0",
63+
"jekyll-theme-merlot" => "pages-themes/merlot@v0.2.0",
64+
"jekyll-theme-midnight" => "pages-themes/midnight@v0.2.0",
65+
"jekyll-theme-minimal" => "pages-themes/minimal@v0.2.0",
66+
"jekyll-theme-modernist" => "pages-themes/modernist@v0.2.0",
67+
"jekyll-theme-slate" => "pages-themes/slate@v0.2.0",
68+
"jekyll-theme-tactile" => "pages-themes/tactile@v0.2.0",
69+
"jekyll-theme-time-machine" => "pages-themes/time-machine@v0.2.0",
7070
}
7171
end
7272
end

spec/github-pages/configuration_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
ENV.delete("DISABLE_WHITELIST")
2121
ENV["JEKYLL_ENV"] = "test"
2222
ENV["PAGES_REPO_NWO"] = "github/pages-gem"
23-
stub_request_for_remote_theme(:repo => "pages-themes/primer", :revision => "v0.5.4", :filename => "primer-0.5.4.zip")
23+
stub_request_for_remote_theme(:repo => "pages-themes/primer", :revision => "v0.6.0", :filename => "primer-0.6.0.zip")
2424
end
2525

2626
context "#effective_config" do
@@ -121,7 +121,7 @@
121121
end
122122

123123
before(:each) do
124-
stub_request_for_remote_theme(:repo => "pages-themes/merlot", :revision => "v0.1.1", :filename => "merlot-0.1.1.zip")
124+
stub_request_for_remote_theme(:repo => "pages-themes/merlot", :revision => "v0.2.0", :filename => "merlot-0.2.0.zip")
125125
end
126126

127127
it "respects the theme" do
@@ -156,7 +156,7 @@
156156
end
157157

158158
it "plugins include jekyll remote theme" do
159-
stub_request_for_remote_theme(:repo => "foo/bar", :revision => "HEAD", :filename => "primer-0.5.4.zip")
159+
stub_request_for_remote_theme(:repo => "foo/bar", :revision => "HEAD", :filename => "primer-0.6.0.zip")
160160
expect(effective_config["plugins"]).to include("jekyll-remote-theme")
161161
end
162162
end
Binary file not shown.

spec/support/primer-0.5.4.zip

-66.8 KB
Binary file not shown.

spec/support/primer-0.6.0.zip

69.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)