jekyll-attendease 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ead6eb8beed59c9305a841c2dcde7f6ab28621b0
4
+ data.tar.gz: 6cfcbe43003ea54ae939431d8fb5e0deede31a30
5
+ SHA512:
6
+ metadata.gz: 7bec6d3e27f5b44f11e1880b867e4bae3cd23963b6d19881f3a11e58bee8fb3fa5be48bae0ebd9744213e0a4f412a49b7ddf30d457e670ac8078772ce74bde87
7
+ data.tar.gz: af464bd16bf4206b14b177c096fe66e83ea262a16dff39c8c0cab41a32b1e2b064f7c2b232f8ad94a28fe18abd6722d562ee51d344ab81873fba828643866016
data/README.md CHANGED
@@ -128,6 +128,11 @@ For Session Day pages:
128
128
  4. Push to the branch (`git push origin my-new-feature`)
129
129
  5. Create new Pull Request
130
130
 
131
+ ## Updating the gem on beta and production
132
+
133
+ 1. log into the jail as root
134
+ 2. gem install jekyll-attendease -v x.x.x
135
+
131
136
  ## Testing
132
137
 
133
138
  During development, you can create and install local builds:
@@ -451,7 +451,7 @@ module Jekyll
451
451
  end
452
452
  end
453
453
 
454
- sessions = Jekyll::Attendease::sessions_with_all_data(sessions, presenters, rooms, venues, filters)
454
+ sessions = Jekyll::Attendease::sessions_with_all_data(event, sessions, presenters, rooms, venues, filters)
455
455
 
456
456
  # /schedule pages.
457
457
  dir = (site.config['attendease'] && site.config['attendease']['schedule_path_name']) ? site.config['attendease']['schedule_path_name'] : 'schedule'
@@ -494,7 +494,7 @@ module Jekyll
494
494
 
495
495
  end
496
496
 
497
- def self.sessions_with_all_data(sessions, presenters, rooms, venues, filters)
497
+ def self.sessions_with_all_data(event, sessions, presenters, rooms, venues, filters)
498
498
  sessionsData = []
499
499
 
500
500
  sessions.each do |s|
@@ -526,6 +526,10 @@ module Jekyll
526
526
  filters_for_session_hash[filter['name']] << {
527
527
  'name' => filter_item['name']
528
528
  }
529
+ if event['primary_filter_id'] && event['primary_filter_id'] == filter['id']
530
+ session['primary_filter_name'] = filter['name']
531
+ session['primary_filter'] = filter_item['name']
532
+ end
529
533
  end
530
534
  end
531
535
  end
@@ -52,8 +52,15 @@
52
52
  <div class="attendease-instance-location-room">{{ instance.room.name }}</div>
53
53
  </div>
54
54
 
55
+ {% if instance.session.primary_filter %}
55
56
  <div class="attendease-instance-divider"></div>
56
57
 
58
+ <div class="attendease-instance-detail">
59
+ <div class="attendease-primary-filter-name">{{ instance.session.primary_filter_name }}</div>
60
+ <div class="attendease-primary-filter">{{ instance.session.primary_filter }}</div>
61
+ </div>
62
+ {% endif %}
63
+
57
64
  <div class="attendease-instance-detail">
58
65
  <div class="attendease-schedule-status"></div>
59
66
  <div class="attendease-schedule-action"></div>
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
 
16
16
  <div class="attendease-venue-map-link">
17
- <a href="https://maps.google.com/maps?q=@{{ page.venue.address.latitude }},{{ page.venue.address.longitude }}">Open in Google Maps</a>
17
+ <a href="https://maps.google.com/maps?q=@{{ page.venue.address.latitude }},{{ page.venue.address.longitude }}" target="_blank">Open in Google Maps</a>
18
18
  </div>
19
19
  </div>
20
20
  {% endif %}
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-attendease
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.4.6
4
+ version: 0.4.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Wood
@@ -11,72 +10,64 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2014-02-03 00:00:00.000000000 Z
13
+ date: 2014-02-04 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
- version_requirements: !ruby/object:Gem::Requirement
16
+ name: httparty
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ! '>='
19
+ - - '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
- none: false
23
- name: httparty
24
22
  type: :runtime
25
23
  prerelease: false
26
- requirement: !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
27
25
  requirements:
28
- - - ! '>='
26
+ - - '>='
29
27
  - !ruby/object:Gem::Version
30
28
  version: '0'
31
- none: false
32
29
  - !ruby/object:Gem::Dependency
33
- version_requirements: !ruby/object:Gem::Requirement
30
+ name: json
31
+ requirement: !ruby/object:Gem::Requirement
34
32
  requirements:
35
- - - ! '>='
33
+ - - '>='
36
34
  - !ruby/object:Gem::Version
37
35
  version: '0'
38
- none: false
39
- name: json
40
36
  type: :runtime
41
37
  prerelease: false
42
- requirement: !ruby/object:Gem::Requirement
38
+ version_requirements: !ruby/object:Gem::Requirement
43
39
  requirements:
44
- - - ! '>='
40
+ - - '>='
45
41
  - !ruby/object:Gem::Version
46
42
  version: '0'
47
- none: false
48
43
  - !ruby/object:Gem::Dependency
49
- version_requirements: !ruby/object:Gem::Requirement
44
+ name: i18n
45
+ requirement: !ruby/object:Gem::Requirement
50
46
  requirements:
51
- - - ! '>='
47
+ - - '>='
52
48
  - !ruby/object:Gem::Version
53
49
  version: '0'
54
- none: false
55
- name: i18n
56
50
  type: :runtime
57
51
  prerelease: false
58
- requirement: !ruby/object:Gem::Requirement
52
+ version_requirements: !ruby/object:Gem::Requirement
59
53
  requirements:
60
- - - ! '>='
54
+ - - '>='
61
55
  - !ruby/object:Gem::Version
62
56
  version: '0'
63
- none: false
64
57
  - !ruby/object:Gem::Dependency
65
- version_requirements: !ruby/object:Gem::Requirement
58
+ name: redcarpet
59
+ requirement: !ruby/object:Gem::Requirement
66
60
  requirements:
67
- - - ! '>='
61
+ - - '>='
68
62
  - !ruby/object:Gem::Version
69
63
  version: '0'
70
- none: false
71
- name: redcarpet
72
64
  type: :runtime
73
65
  prerelease: false
74
- requirement: !ruby/object:Gem::Requirement
66
+ version_requirements: !ruby/object:Gem::Requirement
75
67
  requirements:
76
- - - ! '>='
68
+ - - '>='
77
69
  - !ruby/object:Gem::Version
78
70
  version: '0'
79
- none: false
80
71
  description: Bring your event data into Jekyll for amazing event websites.
81
72
  email: support@attendease.com
82
73
  executables: []
@@ -97,26 +88,25 @@ files:
97
88
  homepage: https://attendease.com/
98
89
  licenses:
99
90
  - MIT
91
+ metadata: {}
100
92
  post_install_message:
101
93
  rdoc_options: []
102
94
  require_paths:
103
95
  - lib
104
96
  required_ruby_version: !ruby/object:Gem::Requirement
105
97
  requirements:
106
- - - ! '>='
98
+ - - '>='
107
99
  - !ruby/object:Gem::Version
108
100
  version: '0'
109
- none: false
110
101
  required_rubygems_version: !ruby/object:Gem::Requirement
111
102
  requirements:
112
- - - ! '>='
103
+ - - '>='
113
104
  - !ruby/object:Gem::Version
114
105
  version: '0'
115
- none: false
116
106
  requirements: []
117
107
  rubyforge_project:
118
- rubygems_version: 1.8.23
108
+ rubygems_version: 2.0.3
119
109
  signing_key:
120
- specification_version: 3
110
+ specification_version: 4
121
111
  summary: Attendease event helper for Jekyll
122
112
  test_files: []