jekyll-attendease 0.6.22 → 0.6.23

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: 74e4aad9a016036b9d44d8584e782831e1302968
4
- data.tar.gz: c85a1535d087ce3bf4ce6cbb9ea488ec811d131c
3
+ metadata.gz: c876d55f37c89988a8e0aae791235499fe4962da
4
+ data.tar.gz: 69c0e622dd1b1fb8e1dddf26f96a9e7b169b656d
5
5
  SHA512:
6
- metadata.gz: f54461a779c9022009a7eeb0aa9abf05ca81a572cfdc4c82703c7c01795686e99f6c6b2cd2f65b84b545006993152328eb11b8fe103d2dc15a95ccabb61a84b4
7
- data.tar.gz: 16b774d288820a5f2e342d2665d519106de463e350a10ece54e1a79c98e281b4c17186e9e39bc3759535c96561d5fac2e9f9b5f35f0baf386065f994ea65b7bb
6
+ metadata.gz: 739bba14e64cb9db1b5aa0923a8c135ba6e204773b1ea8051bf2c31d440d619930deb9cf7e5c1c1b5c673a8d10f9106d127284df545ef4e01eaeeea9137b7909
7
+ data.tar.gz: 524c38ec53855802139c39383f54bea9de7a325897cd99ef3820c54684cb70a9d2e93e467436d1fd332cd46fc798fc235b394dd9b24b3298acabde6d992cfa9c
@@ -6,12 +6,12 @@ require 'digest'
6
6
 
7
7
  require 'jekyll/attendease_plugin'
8
8
 
9
- Liquid::Template.register_tag('attendease_schedule_widget', Jekyll::AttendeasePlugin::ScheduleWidgetTag)
10
- Liquid::Template.register_tag('attendease_auth_script', Jekyll::AttendeasePlugin::AuthScriptTag)
9
+ Liquid::Template.register_tag('attendease_schedule_widget', Jekyll::AttendeasePlugin::ScheduleWidgetTag)
10
+ Liquid::Template.register_tag('attendease_auth_script', Jekyll::AttendeasePlugin::AuthScriptTag)
11
11
  Liquid::Template.register_tag('attendease_scheduler_script', Jekyll::AttendeasePlugin::SchedulerScriptTag)
12
- Liquid::Template.register_tag('attendease_locales_script', Jekyll::AttendeasePlugin::LocalesScriptTag)
13
- Liquid::Template.register_tag('attendease_auth_account', Jekyll::AttendeasePlugin::AuthAccountTag)
14
- Liquid::Template.register_tag('attendease_auth_action', Jekyll::AttendeasePlugin::AuthActionTag)
15
- Liquid::Template.register_tag('attendease_t', Jekyll::AttendeasePlugin::TranslateTag)
12
+ Liquid::Template.register_tag('attendease_locales_script', Jekyll::AttendeasePlugin::LocalesScriptTag)
13
+ Liquid::Template.register_tag('attendease_auth_account', Jekyll::AttendeasePlugin::AuthAccountTag)
14
+ Liquid::Template.register_tag('attendease_auth_action', Jekyll::AttendeasePlugin::AuthActionTag)
15
+ Liquid::Template.register_tag('attendease_t', Jekyll::AttendeasePlugin::TranslateTag)
16
16
 
17
17
  Liquid::Template.register_filter(Jekyll::AttendeasePlugin::Filters)
@@ -14,7 +14,11 @@ module Jekyll
14
14
  end
15
15
 
16
16
  sponsors.each do |sponsor|
17
- level = sponsor_levels.select { |m| m['_id'] == sponsor['level_id'] }.first
17
+ level = sponsor_levels.select do |m|
18
+ key = 'id'
19
+ key = '_id' if m[key].nil?
20
+ m[key] == sponsor['level_id']
21
+ end.first
18
22
  level['sponsors'] << sponsor
19
23
  end
20
24
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.6.22'
3
+ VERSION = '0.6.23'
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.22
4
+ version: 0.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-06-21 00:00:00.000000000 Z
14
+ date: 2016-07-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 0.13.5
22
+ version: '0.13'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 0.13.5
29
+ version: '0.13'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: json
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: 1.8.1
36
+ version: '1.8'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: 1.8.1
43
+ version: '1.8'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: i18n
46
46
  requirement: !ruby/object:Gem::Requirement