jekyll-attendease 0.6.14 → 0.6.15

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: ad344fca9e68ec43954f9852147dfec396ed7d46
4
- data.tar.gz: e1afa87f89df1a55d2f9f3f78ab3b20b5806c99c
3
+ metadata.gz: a1441001b10290e5ffc530f9a462b8f940bd160c
4
+ data.tar.gz: 2a35486666c237370204216063c73f959848a549
5
5
  SHA512:
6
- metadata.gz: 8bdc8a4439d79611459308a002eacbcda1ce2ec4625d0d147c71ac95278476dd84ef334de7bd908bbaebe2e557f4ec41689ae89f86df6531c78ec7afc6edc8ec
7
- data.tar.gz: 25948ecbdc9d3a76329af125f5bd7149038d2752669851fd180d21437aed99d673ba688164043871ae34388d8f336909d21cde424fa958ca70701b6a1063f065
6
+ metadata.gz: fd3663311ce4678c0eed4a895c77e63e7a0287c63690baf9f909fd68e8dceb67fd7f08168bc24d206c6d1b8ad3e24abca520756dac51d18f48d3feda2931759c
7
+ data.tar.gz: 872c438563bfd379b07de47b6769cf73b0903b34cd710c5241c06a38471d9e387c3880972f05857ce8b38d0b6cce237ccd9b0d5ad3fb39bd59245f0676399ef2
@@ -49,22 +49,24 @@ module Jekyll
49
49
  # /venue pages.
50
50
 
51
51
 
52
+ # Create a single venue page at /venue
52
53
  if @schedule_data.venues.length == 1
53
54
  dir = site.config['attendease']['venue_path_name']
54
55
 
55
56
  unless dir.nil?
56
57
  site.pages << VenuePage.new(site, site.source, dir, @schedule_data.venues.first, true)
57
58
  end
58
- else
59
- dir = site.config['attendease']['venues_path_name']
59
+ end
60
60
 
61
- unless dir.nil?
62
- @schedule_data.venues.each do |venue|
63
- site.pages << VenuePage.new(site, site.source, dir, venue)
64
- end
61
+ # Create a list of venues and venue pages to keep backwards compatibility.
62
+ dir = site.config['attendease']['venues_path_name']
65
63
 
66
- site.pages << VenuesIndexPage.new(site, site.source, File.join(dir), @schedule_data.venues)
64
+ unless dir.nil?
65
+ @schedule_data.venues.each do |venue|
66
+ site.pages << VenuePage.new(site, site.source, dir, venue)
67
67
  end
68
+
69
+ site.pages << VenuesIndexPage.new(site, site.source, File.join(dir), @schedule_data.venues)
68
70
  end
69
71
  end
70
72
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = "0.6.14"
3
+ VERSION = "0.6.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-attendease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.14
4
+ version: 0.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-10 00:00:00.000000000 Z
13
+ date: 2015-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty