jekyll-attendease 0.6.30.pre → 0.6.30

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: 449826774ed54412fadaca4aabb6eae4488b41e8
4
- data.tar.gz: 2001ff5cabd9209513482a5a858e4b78ff3333b9
3
+ metadata.gz: 84a0d179efdfa0adb76330e04d32c58a001a3e91
4
+ data.tar.gz: f6f58916070e3c9831a243b93e2bbcb84f62d148
5
5
  SHA512:
6
- metadata.gz: e53bb81b871fc528b7742eefd07e72744f6838c2df7898c0e49a82ec66d460ac6993cfc1e3dcfef73486f650c0512fc375d854df7a32435d2b25c335203954a3
7
- data.tar.gz: 430a696897b7d70fbc87b5c82d77d128cf30b03b9dace545c9962a446b5b8110fd89c565dea0feedf53ce041508634ba290f0e2c59638b68f407cb30d20d3f73
6
+ metadata.gz: 109dc9ef5b182f5cbd05f0c4fad4ab2cfae017cb59faa413eb1e88f7b73692091d3a9ea6c7bd30969827f81e89bab02005a0327aa04d5e5516b30fbe5113cc58
7
+ data.tar.gz: 781989041db3d007ce6ac47969e16f21433467f71319d7350658c1fb4d3a8c8ff432ef40cba8672cd3b3005964777bb351a8ecb38983c96d3d7fa4deda463f58
@@ -34,7 +34,7 @@ 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 portal_published }.map { |m| "#{m}.json"} << 'lingo.yml'
37
+ data_files = %w{ site event pages portal_pages site_settings organization_site_settings }.map { |m| "#{m}.json"} << 'lingo.yml'
38
38
  else
39
39
  data_files = %w{ site event sessions presenters rooms filters venues sponsors pages site_settings }.map { |m| "#{m}.json"} << 'lingo.yml'
40
40
  end
@@ -5,7 +5,7 @@ module Jekyll
5
5
 
6
6
  def generate(site)
7
7
  site.data['pages'].each do |page|
8
- if !page['permanent'] && !page['external']
8
+ if !page['external']
9
9
  require 'cgi'
10
10
  page['name'] = CGI.escapeHTML(page['name']) if page['name']
11
11
  site.pages << SitePage.new(site, site.source, page)
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.6.30.pre'
3
+ VERSION = '0.6.30'
4
4
  end
5
5
  end
@@ -52,7 +52,6 @@ RSpec.describe Jekyll::AttendeasePlugin::EventDataGenerator do
52
52
  expect(site.data['site_settings'].class).to eq(Hash)
53
53
  expect(site.data['site_settings']['look_and_feel']['body_font_family']).to eq('serif')
54
54
  end
55
-
56
55
  end
57
56
 
58
57
  context 'new cms site' do
@@ -86,11 +85,6 @@ RSpec.describe Jekyll::AttendeasePlugin::EventDataGenerator do
86
85
  expect(site.data['portal_pages'].length).to eq(2)
87
86
  end
88
87
 
89
- it 'populates a site wide portal published object' do
90
- expect(site.data['portal_published'].class).to eq(Hash)
91
- expect(site.data['portal_published']['portal_published']).to eq(true)
92
- end
93
-
94
88
  end
95
89
 
96
90
  end
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  RSpec.describe Jekyll::AttendeasePlugin::SitePage do
4
4
  let(:site) { build_site }
5
- let(:site_page) { find_page(site, described_class, Proc.new { |p| p.data['site_page']['slug'] == 'test' }) }
5
+ let(:site_page) { find_page(site, described_class, Proc.new { |p| p.data['site_page']['slug'] == '' }) }
6
6
 
7
7
  it 'generates an index page in a folder matching the slug' do
8
8
  expect(File.exists?(File.join(site.config['destination'], site_page.dir, site_page.name))).to eq(true)
@@ -60,7 +60,7 @@ RSpec.configure do |config|
60
60
  end
61
61
 
62
62
  def find_page(site, page_class, lambda_matcher = false)
63
- site.pages.select do |m|
63
+ site.pages.detect do |m|
64
64
  if m.class == page_class
65
65
  match = true
66
66
  if lambda_matcher
@@ -68,7 +68,7 @@ RSpec.configure do |config|
68
68
  end
69
69
  m if match
70
70
  end
71
- end.first
71
+ end
72
72
  end
73
73
 
74
74
  def site_configuration(overrides = {})
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.30.pre
4
+ version: 0.6.30
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: 2017-09-05 00:00:00.000000000 Z
14
+ date: 2017-04-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty
@@ -233,12 +233,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
233
  version: '0'
234
234
  required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  requirements:
236
- - - ">"
236
+ - - ">="
237
237
  - !ruby/object:Gem::Version
238
- version: 1.3.1
238
+ version: '0'
239
239
  requirements: []
240
240
  rubyforge_project:
241
- rubygems_version: 2.6.11
241
+ rubygems_version: 2.2.5
242
242
  signing_key:
243
243
  specification_version: 4
244
244
  summary: Attendease event helper for Jekyll