jekyll-attendease 0.6.23 → 0.6.24a

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: c876d55f37c89988a8e0aae791235499fe4962da
4
- data.tar.gz: 69c0e622dd1b1fb8e1dddf26f96a9e7b169b656d
3
+ metadata.gz: cad8c1eab78c86342c18564bc2e92998d7d4b6a7
4
+ data.tar.gz: a2ea4ae38b6c198e0495c5a647712064a5ee3451
5
5
  SHA512:
6
- metadata.gz: 739bba14e64cb9db1b5aa0923a8c135ba6e204773b1ea8051bf2c31d440d619930deb9cf7e5c1c1b5c673a8d10f9106d127284df545ef4e01eaeeea9137b7909
7
- data.tar.gz: 524c38ec53855802139c39383f54bea9de7a325897cd99ef3820c54684cb70a9d2e93e467436d1fd332cd46fc798fc235b394dd9b24b3298acabde6d992cfa9c
6
+ metadata.gz: daca5f24908a2e34e7a8241db9be1a3fdb3329d2bae4594873ce760b7ec78c51cf85b7c55fe5525ab65ba287d50899a2d67038d2e9b72a9f4d09eff1976bd6ef
7
+ data.tar.gz: f92e8912701b04195af918479d15f8e90981ff53b462c2bb31b9001989715abfe6de2e35d56d71743a030c376e79c0672c5da7c63641f61cbfbc924355269df3
@@ -111,6 +111,25 @@ module Jekyll
111
111
  end
112
112
  end
113
113
 
114
+ site.config['attendease']['days'] = []
115
+ site.config['attendease']['event']['dates'].each do |day|
116
+ instances = []
117
+ site.config['attendease']['sessions'].each do |s|
118
+ s['instances'].each do |instance|
119
+ if instance['date'] == day['date']
120
+ instance['session'] = s
121
+ instances << instance
122
+ end
123
+ end
124
+ end
125
+
126
+ site.config['attendease']['days'] <<
127
+ {
128
+ :date => day,
129
+ :instances => instances.sort {|x,y| [x['time'], x['session']['name']] <=> [y['time'], y['session']['name']]}
130
+ }
131
+ end
132
+
114
133
  # make the event available to anyone
115
134
  event = JSON.parse(File.read("#{@attendease_data_path}/event.json"))
116
135
  site.config['attendease']['event'] = event
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.6.23'
3
+ VERSION = '0.6.24a'
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.23
4
+ version: 0.6.24a
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -196,9 +196,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ">="
199
+ - - ">"
200
200
  - !ruby/object:Gem::Version
201
- version: '0'
201
+ version: 1.3.1
202
202
  requirements: []
203
203
  rubyforge_project:
204
204
  rubygems_version: 2.2.5