jekyll-github-metadata 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f1a95bd041ee492f07be6245ece96955116bf6f
4
- data.tar.gz: 1d5af48b755711d9919e5837208463515a53128f
3
+ metadata.gz: d134abb0b715ad046a72af48f8be564d787174f5
4
+ data.tar.gz: f82f50701939222eac1678622de97f3c1e89eacb
5
5
  SHA512:
6
- metadata.gz: 49ff0399bc319d18a39efdc4a3f269505c134a53005f8b6a1a76ae2edbfda932df18c0ece5f715f3b60169e6b583e20f4c8a42deb8c1f79b51e72b31d41a5091
7
- data.tar.gz: 16465ff246824299795e55af1d7fbba0cf6f717e858bc5d093aa23f286b4ffe520e02ada15ab3460b62628f4f70d4032b68406f5287b994cc4151078c1a829c2
6
+ metadata.gz: 12fd5d5797939e381065f0d6ed8fd4fecd5b22bf370821a52959e66ef694b46b1a8427d7dd92b822b0f2a8b69029383b2a70828bc3ae84e2f71ad4c9c6e0f5ca
7
+ data.tar.gz: 5009210fe5a5d1ebc9be8bf6544efa450822a0aa6b10cf7f6e9428bb97f0b73ae366efd5dc2d2972fa3d2ddbf0eb9aec15c69e120a2c0c77742f60a77e6a884e
@@ -99,7 +99,11 @@ module Jekyll
99
99
  end
100
100
 
101
101
  def git_ref
102
- user_page? ? "master" : "gh-pages"
102
+ if repo_pages_info["source"]
103
+ repo_pages_info["source"]["branch"]
104
+ else
105
+ user_page? ? "master" : "gh-pages"
106
+ end
103
107
  end
104
108
 
105
109
  def user_page?
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module GitHubMetadata
3
- VERSION = "2.2.0".freeze
3
+ VERSION = "2.3.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-github-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2017-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.5.1
154
+ rubygems_version: 2.5.2
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: The site.github namespace