jekyll-remote-theme 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 415c69a1e7f672bd5ff2b794521e2cb63313fb2acb53dcb2cd6fd6e097c9d8fc
|
|
4
|
+
data.tar.gz: ae79306ad3180f4d5bb24b811a2a15f72b14bbbf38e26a9bf365073b874e683e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ede198efdb562ac9b1f7704d1faa3b492d53e2ebcd62ba064b10d89acca36c28c6f4111b7eff004909e6c694927c3c3d7c438e1dc16536c24e6ad8d3b8b25583
|
|
7
|
+
data.tar.gz: d860bc2b58ab158b61f68be85a32b4fa7a1f656559214a0734c4b13dc85315a649c8cac4ca66ba624132aa42a1e296329580c954ed0e6af01479b1eb8760adf4
|
|
@@ -90,7 +90,7 @@ module Jekyll
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# Codeload generated zip files contain a top level folder in the form of
|
|
93
|
-
# THEME_NAME-GIT_REF/. While requests for Git repos are case
|
|
93
|
+
# THEME_NAME-GIT_REF/. While requests for Git repos are case insensitive,
|
|
94
94
|
# the zip subfolder will respect the case in the repository's name, thus
|
|
95
95
|
# making it impossible to predict the true path to the theme. In case we're
|
|
96
96
|
# on a case-sensitive file system, strip the parent folder from all paths.
|
|
@@ -4,7 +4,7 @@ module Jekyll
|
|
|
4
4
|
module RemoteTheme
|
|
5
5
|
# Jekyll::Theme expects the theme's gemspec to tell it things like
|
|
6
6
|
# the path to the theme and runtime dependencies. MockGemspec serves as a
|
|
7
|
-
# stand in, since remote themes don't
|
|
7
|
+
# stand in, since remote themes don't need Gemspecs
|
|
8
8
|
class MockGemspec
|
|
9
9
|
extend Forwardable
|
|
10
10
|
def_delegator :theme, :root, :full_gem_path
|
|
@@ -4,7 +4,7 @@ module Jekyll
|
|
|
4
4
|
module RemoteTheme
|
|
5
5
|
class Theme < Jekyll::Theme
|
|
6
6
|
OWNER_REGEX = %r!(?<owner>[a-z0-9\-]+)!i
|
|
7
|
-
NAME_REGEX = %r!(?<name>[a-z0-9\-
|
|
7
|
+
NAME_REGEX = %r!(?<name>[a-z0-9\._\-]+)!i
|
|
8
8
|
REF_REGEX = %r!@(?<ref>[a-z0-9\._\-]+)!i # May be a branch, tag, or commit
|
|
9
9
|
THEME_REGEX = %r!\A#{OWNER_REGEX}/#{NAME_REGEX}(?:#{REF_REGEX})?\z!i
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-remote-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Balter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
version: '0'
|
|
154
154
|
requirements: []
|
|
155
155
|
rubyforge_project:
|
|
156
|
-
rubygems_version: 2.6
|
|
156
|
+
rubygems_version: 2.7.6
|
|
157
157
|
signing_key:
|
|
158
158
|
specification_version: 4
|
|
159
159
|
summary: Jekyll plugin for building Jekyll sites with any GitHub-hosted theme
|