diff --git a/lib/github-pages/plugins.rb b/lib/github-pages/plugins.rb index d81b9925..3f4180d6 100644 --- a/lib/github-pages/plugins.rb +++ b/lib/github-pages/plugins.rb @@ -54,19 +54,19 @@ class Plugins # Themes to convert to remote themes THEMES_TO_CONVERT_TO_REMOTE_THEMES = { "jekyll-swiss" => "broccolini/swiss", - "jekyll-theme-primer" => "pages-themes/primer@v0.5.4", - "jekyll-theme-architect" => "pages-themes/architect@v0.1.1", - "jekyll-theme-cayman" => "pages-themes/cayman@v0.1.1", - "jekyll-theme-dinky" => "pages-themes/dinky@v0.1.1", - "jekyll-theme-hacker" => "pages-themes/hacker@v0.1.1", - "jekyll-theme-leap-day" => "pages-themes/leap-day@v0.1.1", - "jekyll-theme-merlot" => "pages-themes/merlot@v0.1.1", - "jekyll-theme-midnight" => "pages-themes/midnight@v0.1.1", - "jekyll-theme-minimal" => "pages-themes/minimal@v0.1.1", - "jekyll-theme-modernist" => "pages-themes/modernist@v0.1.1", - "jekyll-theme-slate" => "pages-themes/slate@v0.1.1", - "jekyll-theme-tactile" => "pages-themes/tactile@v0.1.1", - "jekyll-theme-time-machine" => "pages-themes/time-machine@v0.1.1", + "jekyll-theme-primer" => "pages-themes/primer@v0.6.0", + "jekyll-theme-architect" => "pages-themes/architect@v0.2.0", + "jekyll-theme-cayman" => "pages-themes/cayman@v0.2.0", + "jekyll-theme-dinky" => "pages-themes/dinky@v0.2.0", + "jekyll-theme-hacker" => "pages-themes/hacker@v0.2.0", + "jekyll-theme-leap-day" => "pages-themes/leap-day@v0.2.0", + "jekyll-theme-merlot" => "pages-themes/merlot@v0.2.0", + "jekyll-theme-midnight" => "pages-themes/midnight@v0.2.0", + "jekyll-theme-minimal" => "pages-themes/minimal@v0.2.0", + "jekyll-theme-modernist" => "pages-themes/modernist@v0.2.0", + "jekyll-theme-slate" => "pages-themes/slate@v0.2.0", + "jekyll-theme-tactile" => "pages-themes/tactile@v0.2.0", + "jekyll-theme-time-machine" => "pages-themes/time-machine@v0.2.0", } end end diff --git a/spec/github-pages/configuration_spec.rb b/spec/github-pages/configuration_spec.rb index b4c20a82..4f41a7ac 100644 --- a/spec/github-pages/configuration_spec.rb +++ b/spec/github-pages/configuration_spec.rb @@ -20,7 +20,7 @@ ENV.delete("DISABLE_WHITELIST") ENV["JEKYLL_ENV"] = "test" ENV["PAGES_REPO_NWO"] = "github/pages-gem" - stub_request_for_remote_theme(:repo => "pages-themes/primer", :revision => "v0.5.4", :filename => "primer-0.5.4.zip") + stub_request_for_remote_theme(:repo => "pages-themes/primer", :revision => "v0.6.0", :filename => "primer-0.6.0.zip") end context "#effective_config" do @@ -121,7 +121,7 @@ end before(:each) do - stub_request_for_remote_theme(:repo => "pages-themes/merlot", :revision => "v0.1.1", :filename => "merlot-0.1.1.zip") + stub_request_for_remote_theme(:repo => "pages-themes/merlot", :revision => "v0.2.0", :filename => "merlot-0.2.0.zip") end it "respects the theme" do @@ -156,7 +156,7 @@ end it "plugins include jekyll remote theme" do - stub_request_for_remote_theme(:repo => "foo/bar", :revision => "HEAD", :filename => "primer-0.5.4.zip") + stub_request_for_remote_theme(:repo => "foo/bar", :revision => "HEAD", :filename => "primer-0.6.0.zip") expect(effective_config["plugins"]).to include("jekyll-remote-theme") end end diff --git a/spec/support/merlot-0.1.1.zip b/spec/support/merlot-0.2.0.zip similarity index 94% rename from spec/support/merlot-0.1.1.zip rename to spec/support/merlot-0.2.0.zip index 821137f8..65e55d75 100644 Binary files a/spec/support/merlot-0.1.1.zip and b/spec/support/merlot-0.2.0.zip differ diff --git a/spec/support/primer-0.5.4.zip b/spec/support/primer-0.5.4.zip deleted file mode 100644 index 14bcef0c..00000000 Binary files a/spec/support/primer-0.5.4.zip and /dev/null differ diff --git a/spec/support/primer-0.6.0.zip b/spec/support/primer-0.6.0.zip new file mode 100644 index 00000000..24175919 Binary files /dev/null and b/spec/support/primer-0.6.0.zip differ