jekyll-attendease 0.8.2 → 0.9.2

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
- SHA1:
3
- metadata.gz: 5c687a85802b526ea4c9c1b57f8c27850094f638
4
- data.tar.gz: 4d83c676537d6223d294ee231afc5291b9417350
2
+ SHA256:
3
+ metadata.gz: f496291ebc4d6359cac73f3a3eee3c84768744594126c8d80ae394d797190ffa
4
+ data.tar.gz: 86a4d88e946251c8def7844b9404284f423d3ca199de33c030fac53b62792f9d
5
5
  SHA512:
6
- metadata.gz: 71cc976fb7d50a94a1a2d10826b51d594f107be6681038917e8c507a82e91906e8f22a72bc8ed8dd24da2556731bcc5fd90e9214dd22f5cca888f8b3eea49019
7
- data.tar.gz: 752d930b72871831cdfd37cd33b3a50b9b05325e4a6ce20281e88b0c903256fa972d9e5c833f68112f2ef5d13e3d1f31f78ac30aee3e9e256ece04ffb6dd3a9d
6
+ metadata.gz: 87d208fcee1792a570b9c1d09ba825d8fe01ec552d0fd7ec4afb7bca9328a791c1e22a1fe8d358bff272de8ffef1ca01fcf25319d1f69fa3ca4d832cec103e1e
7
+ data.tar.gz: b98b38e79b3e73a194794507febc8297e256e266bcea91da418c9ca76a519c2e2fc88097040fa63069ec13cacd49560ead3ae5a58736f65c961b931389870647
@@ -1,19 +1,20 @@
1
1
  ---
2
2
  attendease:
3
- mode: 'event'
4
- locale: 'en'
5
- base_layout: 'layout'
6
- base_email_layout: 'email'
7
- schedule_path_name: 'schedule'
8
- presenters_path_name: 'presenters'
9
- sponsors_path_name: 'sponsors'
10
- venue_path_name: 'venue'
11
- venues_path_name: 'venues'
12
- generate_schedule_pages: true
13
- generate_sponsor_pages: true
14
- has_sessions: false
15
- has_presenters: false
16
- has_sponsors: false
17
- has_rooms: false
18
- has_filters: false
19
- has_venues: false
3
+ mode: 'event'
4
+ locale: 'en'
5
+ base_layout: 'layout'
6
+ base_email_layout: 'email'
7
+ schedule_path_name: 'schedule'
8
+ presenters_path_name: 'presenters'
9
+ sponsors_path_name: 'sponsors'
10
+ venue_path_name: 'venue'
11
+ venues_path_name: 'venues'
12
+ generate_schedule_pages: true
13
+ generate_sponsor_pages: true
14
+ has_sessions: false
15
+ has_presenters: false
16
+ has_sponsors: false
17
+ has_rooms: false
18
+ has_filters: false
19
+ has_venues: false
20
+ has_mappable: false
@@ -34,9 +34,9 @@ module Jekyll
34
34
  FileUtils.mkdir_p(@attendease_data_path)
35
35
 
36
36
  if site.config.cms_theme?
37
- data_files = %w{ site event pages portal_pages site_settings organization_site_settings }.map { |m| "#{m}.json"} << 'lingo.yml'
37
+ data_files = %w[ site event pages portal_pages site_settings organization_site_settings mappable ].map { |m| "#{m}.json"} << 'lingo.yml'
38
38
  else
39
- data_files = %w{ site event sessions presenters rooms filters venues sponsors pages site_settings }.map { |m| "#{m}.json"} << 'lingo.yml'
39
+ data_files = %w[ site event sessions presenters rooms filters venues sponsors pages site_settings mappable ].map { |m| "#{m}.json"} << 'lingo.yml'
40
40
  end
41
41
 
42
42
  # no more site in nextgen themes
@@ -16,7 +16,7 @@ module Jekyll
16
16
  site.pages << SitePage.new(site, site.source, page)
17
17
 
18
18
  zones = {}
19
- keys = [ 'content', 'preferences' ]
19
+ keys = %w[content preferences]
20
20
 
21
21
  if page['block_instances'].length
22
22
  # create zone buckets
@@ -28,7 +28,7 @@ module Jekyll
28
28
  if v.is_a?(String) && v.match(/\{\{/)
29
29
  # maintain the {{ t.foo }} variables
30
30
  v.gsub!(/(\{\{\s*t\.[a-z_.]+\s*\}\})/, '{% raw %}\1{% endraw %}')
31
- i[key][k] = Liquid::Template.parse(v).render({ 'event' => site.data['event'] })
31
+ i[key][k] = Liquid::Template.parse(v).render('event' => site.data['event'], 'mappable' => site.data['mappable'])
32
32
  end
33
33
  end
34
34
  end
@@ -60,3 +60,4 @@ module Jekyll
60
60
  end
61
61
  end
62
62
  end
63
+
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.8.2'
3
+ VERSION = '0.9.2'
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.8.2
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2018-11-30 00:00:00.000000000 Z
15
+ date: 2020-03-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: httparty
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.2.5
242
+ rubygems_version: 2.7.7
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Attendease event helper for Jekyll