jekyll-gallery-generator 0.0.7 → 0.0.8

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: 2ad269a0985e26c4b4f19e94220a9c7db7502ab3
4
- data.tar.gz: a10db5a7838840497198ac74d85244d5f4b9e7e1
3
+ metadata.gz: 95ad41b33154e2629ba3549e012db0fcc37713a6
4
+ data.tar.gz: 83460d8f045af954246a437b912556264b137e18
5
5
  SHA512:
6
- metadata.gz: ad075ac071111343f2e87b89d2cf34bea4b0261e631427d2beebd19854ee5953892e453b54d80e667410b63e448b25d4c5963cd63300d1f70fc16b2f8645b092
7
- data.tar.gz: cbfbcd359b29f93250c45d9b314279df09dd185d1022706a7ed1853fa81b9178ca4b348de29dd46070b7b58fb7ee7bba50636ea9d02869b4d5ecb3e102971b16
6
+ metadata.gz: 9eaa08866c392af9605c4b164133ecd4f37529a0e5b3e7ba2fbde68c6b7b846e5cd0dcda60446c2d58dc729981692ec360837e9d7cc66bd3dfcb0ee8ed9c850e
7
+ data.tar.gz: 4596126cfcee3a39cba569e3ba968249b9a74d4407c6ced3c418cac1ce2f809a40eb9faeca0f028171bb0745894f9282f0043bebdb60cc3563e533eafad2c8fc
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "jekyll-gallery-generator"
3
3
  spec.summary = "Generate galleries with thumbnails for your Jekyll site."
4
- spec.version = "0.0.7"
4
+ spec.version = "0.0.8"
5
5
  spec.authors = ["Geoff Greer"]
6
6
  spec.email = "geoff@greer.fm"
7
7
  spec.homepage = "https://github.com/ggreer/jekyll-gallery-generator"
@@ -16,7 +16,7 @@ module Jekyll
16
16
  class ReadYamlPage < Page
17
17
  def read_yaml(base, name, opts = {})
18
18
  begin
19
- self.content = File.read(File.join(base.to_s, name.to_s), merged_file_read_opts(opts))
19
+ self.content = File.read(File.join(base.to_s, name.to_s), (site ? site.file_read_opts : {}).merge(opts))
20
20
  if content =~ /\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)/m
21
21
  self.content = $POSTMATCH
22
22
  self.data = SafeYAML.load($1)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-gallery-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Greer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-08 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exifr