jekyll-attendease 0.9.9.3 → 0.9.9.5

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: d3d462ded58a2aaafd3e73292fc02230b821419f
4
- data.tar.gz: 20d5b39f72b456692205735c90c0d129003a97d4
3
+ metadata.gz: bfc26b099fa6ead6128c921b8ecd370a1839267a
4
+ data.tar.gz: 3ec02054754f6d38c6076468341e197e921421ed
5
5
  SHA512:
6
- metadata.gz: 9a00b35b3c43c2d5affea08ff247861b03799887ee308115011988b4d9ace931584e0fc876bde0fe3b584ed05e0928724ad28112fdd2338b864e4252118178ca
7
- data.tar.gz: d730784b5b807571a274c6596bdbe78aa14251ceb1e8e4d4c633247d06189f909a0ed7ee0a67f4d679b295a472d2ea575b594f6378e8c5e721cd524cc6bf12f4
6
+ metadata.gz: 88d949098ba19b41c071b37b9625fcbccdb95c3ab938b8d5f25531562beeab16b6092841c1b15c67a2dbe256ae7cb44417e51139dc1c283b49eee3f5314d196a
7
+ data.tar.gz: f9e63c649a8305c4933d9ad0a8224f61bfdd2f722aedc6cab4063d761ad781cecf251322925e53154690351da0b9eb663c0e63286172fdb5faa0efe8107dcfcd
@@ -21,7 +21,8 @@ module Jekyll
21
21
  cms_layouts = []
22
22
  begin
23
23
  Dir.glob(File.join(layouts_path, '*.html')).each do |l|
24
- html = File.read(l)
24
+ html = File.read(l, encoding: 'UTF-8')
25
+
25
26
  if html =~ %r!\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)!m
26
27
  data = YAML.load(Regexp.last_match(1))
27
28
  if data['cms_layout']
@@ -29,7 +30,8 @@ module Jekyll
29
30
  end
30
31
  end
31
32
  end
32
- rescue
33
+ rescue => e
34
+ puts "Failed retrieviing CMS layouts. Message: #{e.message}"
33
35
  end
34
36
 
35
37
  cms_layouts.each do |layout|
@@ -77,7 +79,7 @@ module Jekyll
77
79
  unless File.exists?(File.join(attendease_precompiled_theme_email_layouts_path, "#{layout}.html"))
78
80
  site.pages << EventLayoutPage.new(site, site.source, 'attendease_layouts/emails', "#{layout}.html", base_email_layout, layout.capitalize)
79
81
  end
80
- end
82
+ end
81
83
  end
82
84
  end
83
85
  end
@@ -230,7 +230,7 @@ _EOT
230
230
  url = '//stg-attendease-aws-ecs-f-attendeaseawsecsfargateb-gzsa0k25dvzq.s3.us-west-2.amazonaws.com/blockrenderer/latest.js'
231
231
  when 'sandbox'
232
232
  #TODO update Sandbox blockrenderer when we move Sandbox to ECS
233
- url = '//cdn.attendease.com/blockrenderer/latest.js'
233
+ url = '//sbx-attendease-aws-ecs-f-attendeaseawsecsfargateb-1c7flm8y8j77m.s3.us-west-2.amazonaws.com/blockrenderer/latest.js'
234
234
  else
235
235
  url = '//cdn.attendease.com/blockrenderer/latest.js'
236
236
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.9.9.3'
3
+ VERSION = '0.9.9.5'
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.9.9.3
4
+ version: 0.9.9.5
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: 2023-01-27 00:00:00.000000000 Z
15
+ date: 2023-02-28 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: httparty