jekyll-attendease 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jekyll-attendease.rb +10 -7
- metadata +3 -2
data/lib/jekyll-attendease.rb
CHANGED
@@ -56,16 +56,19 @@ module Jekyll
|
|
56
56
|
raise "Event data not found, is your Attendease api_host site properly in _config.yml?"
|
57
57
|
end
|
58
58
|
|
59
|
-
|
59
|
+
if @attendease_config['test_mode']
|
60
60
|
|
61
|
-
|
62
|
-
fetch_pages ['choose_pass', 'checkout', 'dashboard'], 'register'
|
61
|
+
#pages_to_fetch = ['choose_pass', 'checkout', 'dashboard']
|
63
62
|
|
64
|
-
|
65
|
-
|
63
|
+
# Registration test pages, so we can style the forms!
|
64
|
+
fetch_pages ['choose_pass', 'checkout', 'dashboard'], 'register'
|
66
65
|
|
67
|
-
|
68
|
-
|
66
|
+
# Schedule test pages, so we can style the forms!
|
67
|
+
fetch_pages ['schedule', 'session', 'session_instance']
|
68
|
+
|
69
|
+
# Presenter test pages, so we can style the forms!
|
70
|
+
fetch_pages ['presenters', 'presenter']
|
71
|
+
end
|
69
72
|
end
|
70
73
|
|
71
74
|
# Adding to site config so we can access these variables globally wihtout using a Liquid Tag so we can use if/else
|
metadata
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
name: jekyll-attendease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Wood
|
9
|
+
- Patrick Gibson
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-12 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
version_requirements: !ruby/object:Gem::Requirement
|