jekyll-attendease 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +13 -1
- data/lib/jekyll-attendease.rb +2 -2
- metadata +32 -16
data/README.md
CHANGED
@@ -58,7 +58,7 @@ We can also use logical expressions like so:
|
|
58
58
|
{% endif %}
|
59
59
|
```
|
60
60
|
|
61
|
-
## Magic
|
61
|
+
## Magic Attendease Tags
|
62
62
|
|
63
63
|
Simply add the auth script tag and the auth action and account tags and our system will know if you logged in or out and will be able to link to your account!
|
64
64
|
|
@@ -73,6 +73,18 @@ This is simple a div with the id `attendease-auth-action`, maybe more in the fut
|
|
73
73
|
|
74
74
|
`{% attendease_auth_action %}`
|
75
75
|
|
76
|
+
This script tag sets up ajax actions for scheduling sessions.
|
77
|
+
|
78
|
+
`{% attendease_scheduler_script %}`
|
79
|
+
|
80
|
+
This script tag sets up lingo so your event can sound like you want it to sound like.
|
81
|
+
|
82
|
+
`{% attendease_locales_script %}`
|
83
|
+
|
84
|
+
A quick way to use our lingo stuff in our jekyll templates.
|
85
|
+
|
86
|
+
`{% t %}`
|
87
|
+
|
76
88
|
## Listening for the auth callback
|
77
89
|
|
78
90
|
In your site's Javascript, do something like this:
|
data/lib/jekyll-attendease.rb
CHANGED
@@ -24,7 +24,7 @@ module Jekyll
|
|
24
24
|
def generate(site)
|
25
25
|
if @attendease_config = site.config['attendease']
|
26
26
|
|
27
|
-
if @attendease_config['api_host'] && !@attendease_config['api_host'].match(/^http
|
27
|
+
if @attendease_config['api_host'] && !@attendease_config['api_host'].match(/^http/)
|
28
28
|
raise "Is your Attendease api_host site properly in _config.yml? Needs to be something like https://myevent.attendease.com/"
|
29
29
|
else
|
30
30
|
# add a trailing slash if we are missing one.
|
@@ -36,7 +36,7 @@ module Jekyll
|
|
36
36
|
|
37
37
|
FileUtils.mkdir_p(@attendease_data_path)
|
38
38
|
|
39
|
-
data_files = ['site.json', 'event.json', 'sessions.json', 'presenters.json', 'rooms.json', 'filters.json', 'venues.json', 'lingo.
|
39
|
+
data_files = ['site.json', 'event.json', 'sessions.json', 'presenters.json', 'rooms.json', 'filters.json', 'venues.json', 'lingo.yml']
|
40
40
|
|
41
41
|
data_files.each do |file_name|
|
42
42
|
update_data = true
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-attendease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.5
|
5
4
|
prerelease:
|
5
|
+
version: 0.4.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Wood
|
@@ -11,56 +11,72 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-02-
|
14
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
|
18
|
-
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
18
|
requirements:
|
21
19
|
- - ! '>='
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: '0'
|
22
|
+
none: false
|
23
|
+
name: httparty
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
|
27
|
-
none: false
|
26
|
+
requirement: !ruby/object:Gem::Requirement
|
28
27
|
requirements:
|
29
28
|
- - ! '>='
|
30
29
|
- !ruby/object:Gem::Version
|
31
30
|
version: '0'
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: json
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
35
31
|
none: false
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
34
|
requirements:
|
37
35
|
- - ! '>='
|
38
36
|
- !ruby/object:Gem::Version
|
39
37
|
version: '0'
|
38
|
+
none: false
|
39
|
+
name: json
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
|
-
|
43
|
-
none: false
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - ! '>='
|
46
45
|
- !ruby/object:Gem::Version
|
47
46
|
version: '0'
|
47
|
+
none: false
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
none: false
|
49
55
|
name: i18n
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
50
58
|
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
51
63
|
none: false
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
66
|
requirements:
|
53
67
|
- - ! '>='
|
54
68
|
- !ruby/object:Gem::Version
|
55
69
|
version: '0'
|
70
|
+
none: false
|
71
|
+
name: redcarpet
|
56
72
|
type: :runtime
|
57
73
|
prerelease: false
|
58
|
-
|
59
|
-
none: false
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
60
75
|
requirements:
|
61
76
|
- - ! '>='
|
62
77
|
- !ruby/object:Gem::Version
|
63
78
|
version: '0'
|
79
|
+
none: false
|
64
80
|
description: Bring your event data into Jekyll for amazing event websites.
|
65
81
|
email: support@attendease.com
|
66
82
|
executables: []
|
@@ -86,17 +102,17 @@ rdoc_options: []
|
|
86
102
|
require_paths:
|
87
103
|
- lib
|
88
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
105
|
requirements:
|
91
106
|
- - ! '>='
|
92
107
|
- !ruby/object:Gem::Version
|
93
108
|
version: '0'
|
94
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
109
|
none: false
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
111
|
requirements:
|
97
112
|
- - ! '>='
|
98
113
|
- !ruby/object:Gem::Version
|
99
114
|
version: '0'
|
115
|
+
none: false
|
100
116
|
requirements: []
|
101
117
|
rubyforge_project:
|
102
118
|
rubygems_version: 1.8.23
|