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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cad8c1eab78c86342c18564bc2e92998d7d4b6a7
|
4
|
+
data.tar.gz: a2ea4ae38b6c198e0495c5a647712064a5ee3451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
201
|
+
version: 1.3.1
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project:
|
204
204
|
rubygems_version: 2.2.5
|