jekyll-attendease 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -137,12 +137,15 @@ module Jekyll
137
137
  %w{ id date time end_time duration date_formatted time_formatted end_time_formatted duration_formatted room_id }.include?(k)
138
138
  end
139
139
 
140
- room = rooms.select { |r| r['id'] == i['room_id'] }.first
141
- venue = venues.select { |v| v['id'] == room['venue_id'] }.first
142
- instance['room'] = room.merge({ 'venue_name' => venue['name'] })
143
- instance['venue_slug'] = venue['slug']
144
-
145
- memo << instance
140
+ if room = rooms.select { |r| r['id'] == i['room_id'] }.first
141
+ venue = venues.select { |v| v['id'] == room['venue_id'] }.first
142
+ instance['room'] = room.merge({ 'venue_name' => venue['name'] })
143
+ instance['venue_slug'] = venue['slug']
144
+
145
+ memo << instance
146
+ else
147
+ memo
148
+ end
146
149
  end
147
150
  end
148
151
  end
@@ -1,6 +1,6 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = "0.6.9"
3
+ VERSION = "0.6.10"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-attendease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Michael Wood
@@ -15,104 +16,119 @@ dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: httparty
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
- - - "~>"
21
+ - - ~>
20
22
  - !ruby/object:Gem::Version
21
23
  version: 0.13.1
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
- - - "~>"
29
+ - - ~>
27
30
  - !ruby/object:Gem::Version
28
31
  version: 0.13.1
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: json
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
- - - "~>"
37
+ - - ~>
34
38
  - !ruby/object:Gem::Version
35
39
  version: 1.8.1
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
- - - "~>"
45
+ - - ~>
41
46
  - !ruby/object:Gem::Version
42
47
  version: 1.8.1
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: i18n
45
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
46
52
  requirements:
47
- - - "~>"
53
+ - - ~>
48
54
  - !ruby/object:Gem::Version
49
55
  version: 0.6.9
50
56
  type: :runtime
51
57
  prerelease: false
52
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
53
60
  requirements:
54
- - - "~>"
61
+ - - ~>
55
62
  - !ruby/object:Gem::Version
56
63
  version: 0.6.9
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: redcarpet
59
66
  requirement: !ruby/object:Gem::Requirement
67
+ none: false
60
68
  requirements:
61
- - - "~>"
69
+ - - ~>
62
70
  - !ruby/object:Gem::Version
63
71
  version: 2.3.0
64
72
  type: :runtime
65
73
  prerelease: false
66
74
  version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
67
76
  requirements:
68
- - - "~>"
77
+ - - ~>
69
78
  - !ruby/object:Gem::Version
70
79
  version: 2.3.0
71
80
  - !ruby/object:Gem::Dependency
72
81
  name: bundler
73
82
  requirement: !ruby/object:Gem::Requirement
83
+ none: false
74
84
  requirements:
75
- - - "~>"
85
+ - - ~>
76
86
  - !ruby/object:Gem::Version
77
87
  version: '1.3'
78
88
  type: :development
79
89
  prerelease: false
80
90
  version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
81
92
  requirements:
82
- - - "~>"
93
+ - - ~>
83
94
  - !ruby/object:Gem::Version
84
95
  version: '1.3'
85
96
  - !ruby/object:Gem::Dependency
86
97
  name: rake
87
98
  requirement: !ruby/object:Gem::Requirement
99
+ none: false
88
100
  requirements:
89
- - - ">="
101
+ - - ! '>='
90
102
  - !ruby/object:Gem::Version
91
103
  version: '0'
92
104
  type: :development
93
105
  prerelease: false
94
106
  version_requirements: !ruby/object:Gem::Requirement
107
+ none: false
95
108
  requirements:
96
- - - ">="
109
+ - - ! '>='
97
110
  - !ruby/object:Gem::Version
98
111
  version: '0'
99
112
  - !ruby/object:Gem::Dependency
100
113
  name: rspec
101
114
  requirement: !ruby/object:Gem::Requirement
115
+ none: false
102
116
  requirements:
103
- - - ">="
117
+ - - ! '>='
104
118
  - !ruby/object:Gem::Version
105
119
  version: '0'
106
120
  type: :development
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
109
124
  requirements:
110
- - - ">="
125
+ - - ! '>='
111
126
  - !ruby/object:Gem::Version
112
127
  version: '0'
113
128
  - !ruby/object:Gem::Dependency
114
129
  name: jekyll
115
130
  requirement: !ruby/object:Gem::Requirement
131
+ none: false
116
132
  requirements:
117
133
  - - '='
118
134
  - !ruby/object:Gem::Version
@@ -120,6 +136,7 @@ dependencies:
120
136
  type: :development
121
137
  prerelease: false
122
138
  version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
123
140
  requirements:
124
141
  - - '='
125
142
  - !ruby/object:Gem::Version
@@ -130,8 +147,6 @@ executables: []
130
147
  extensions: []
131
148
  extra_rdoc_files: []
132
149
  files:
133
- - lib/jekyll-attendease.rb
134
- - lib/jekyll/attendease_plugin.rb
135
150
  - lib/jekyll/attendease_plugin/event_data_generator.rb
136
151
  - lib/jekyll/attendease_plugin/event_layout_generator.rb
137
152
  - lib/jekyll/attendease_plugin/event_layout_page.rb
@@ -153,16 +168,8 @@ files:
153
168
  - lib/jekyll/attendease_plugin/venue_page.rb
154
169
  - lib/jekyll/attendease_plugin/venues_index_page.rb
155
170
  - lib/jekyll/attendease_plugin/version.rb
156
- - spec/lib/jekyll/attendease_plugin/event_data_generator_spec.rb
157
- - spec/lib/jekyll/attendease_plugin/event_layout_generator_spec.rb
158
- - spec/lib/jekyll/attendease_plugin/filters_spec.rb
159
- - spec/lib/jekyll/attendease_plugin/helpers_spec.rb
160
- - spec/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator_spec.rb
161
- - spec/lib/jekyll/attendease_plugin/schedule_generator_spec.rb
162
- - spec/lib/jekyll/attendease_plugin/sponsor_generator_spec.rb
163
- - spec/lib/jekyll/attendease_plugin/tags_spec.rb
164
- - spec/spec_helper.rb
165
- - spec/support/fixtures_helpers.rb
171
+ - lib/jekyll/attendease_plugin.rb
172
+ - lib/jekyll-attendease.rb
166
173
  - templates/_includes/attendease/presenters/index.html
167
174
  - templates/_includes/attendease/presenters/presenter.html
168
175
  - templates/_includes/attendease/redirect.html
@@ -175,29 +182,40 @@ files:
175
182
  - templates/_includes/attendease/venues/index.html
176
183
  - templates/_includes/attendease/venues/venue.html
177
184
  - templates/layout.html
185
+ - spec/lib/jekyll/attendease_plugin/event_data_generator_spec.rb
186
+ - spec/lib/jekyll/attendease_plugin/event_layout_generator_spec.rb
187
+ - spec/lib/jekyll/attendease_plugin/filters_spec.rb
188
+ - spec/lib/jekyll/attendease_plugin/helpers_spec.rb
189
+ - spec/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator_spec.rb
190
+ - spec/lib/jekyll/attendease_plugin/schedule_generator_spec.rb
191
+ - spec/lib/jekyll/attendease_plugin/sponsor_generator_spec.rb
192
+ - spec/lib/jekyll/attendease_plugin/tags_spec.rb
193
+ - spec/spec_helper.rb
194
+ - spec/support/fixtures_helpers.rb
178
195
  homepage: https://attendease.com/
179
196
  licenses:
180
197
  - MIT
181
- metadata: {}
182
198
  post_install_message:
183
199
  rdoc_options: []
184
200
  require_paths:
185
201
  - lib
186
202
  required_ruby_version: !ruby/object:Gem::Requirement
203
+ none: false
187
204
  requirements:
188
- - - ">="
205
+ - - ! '>='
189
206
  - !ruby/object:Gem::Version
190
207
  version: '0'
191
208
  required_rubygems_version: !ruby/object:Gem::Requirement
209
+ none: false
192
210
  requirements:
193
- - - ">="
211
+ - - ! '>='
194
212
  - !ruby/object:Gem::Version
195
213
  version: '0'
196
214
  requirements: []
197
215
  rubyforge_project:
198
- rubygems_version: 2.2.2
216
+ rubygems_version: 1.8.23
199
217
  signing_key:
200
- specification_version: 4
218
+ specification_version: 3
201
219
  summary: Attendease event helper for Jekyll
202
220
  test_files:
203
221
  - spec/lib/jekyll/attendease_plugin/event_data_generator_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: fdcc36196b0cef0cc732a0d49f812510bbbd7db0
4
- data.tar.gz: a907ecce323186c6e6ba0f77c0e61b36706d100e
5
- SHA512:
6
- metadata.gz: 0458dd161ab9a7d9de4020f986fe794b4704101314a03a3da59dabb6888cc54e46621c388dd0df788afe90343a44fb0eb1e1ecefa1ff15f5be9513a38c037d62
7
- data.tar.gz: 382a5da0127413370e938ee5911e61fedfa208213c6c60cb10e15f8a7e983c2816cd8882a2120235ccc6e0f1f7198b973028d8a1f0cee66d56747f2c6c9370a5