corkboard 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,11 +56,12 @@
56
56
  // TODO: generalize filter placement (to other-than-FAB)
57
57
  filters.on('click', 'a', function(e) {
58
58
  var link = $(this);
59
+ var href = link.attr('href');
60
+ if (!href || href=='#') return false; // do nothing if href empty
59
61
  var filters = $('li', selectors.filters);
60
62
  var filter = link.parent().toggleClass('active');
61
63
  var posts = $(selectors.posts);
62
64
  var entries = posts.find(selectors.entry);
63
- var href = link.attr('href');
64
65
  var tag = href.replace('#', '');
65
66
 
66
67
  filters.not(filter).removeClass('active');
@@ -1,3 +1,3 @@
1
1
  module Corkboard
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corkboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-16 00:00:00.000000000 Z
12
+ date: 2013-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &2152162760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 3.2.8
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 3.2.8
24
+ version_requirements: *2152162760
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: jquery-rails
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &2152161960 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *2152161960
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: redis
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &2152161360 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '0'
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
46
+ version_requirements: *2152161360
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: weighted_randomizer
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &2152160680 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :runtime
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *2152160680
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: pusher
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &2152159900 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0'
86
66
  type: :runtime
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *2152159900
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: instagram
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &2152158320 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: '0'
102
77
  type: :runtime
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
79
+ version_requirements: *2152158320
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: omniauth
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &2152157200 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,15 +87,10 @@ dependencies:
117
87
  version: '0'
118
88
  type: :runtime
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
90
+ version_requirements: *2152157200
126
91
  - !ruby/object:Gem::Dependency
127
92
  name: omniauth-oauth2
128
- requirement: !ruby/object:Gem::Requirement
93
+ requirement: &2152156440 !ruby/object:Gem::Requirement
129
94
  none: false
130
95
  requirements:
131
96
  - - ! '>='
@@ -133,15 +98,10 @@ dependencies:
133
98
  version: '0'
134
99
  type: :runtime
135
100
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
101
+ version_requirements: *2152156440
142
102
  - !ruby/object:Gem::Dependency
143
103
  name: omniauth-instagram
144
- requirement: !ruby/object:Gem::Requirement
104
+ requirement: &2152155580 !ruby/object:Gem::Requirement
145
105
  none: false
146
106
  requirements:
147
107
  - - ! '>='
@@ -149,15 +109,10 @@ dependencies:
149
109
  version: '0'
150
110
  type: :runtime
151
111
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
112
+ version_requirements: *2152155580
158
113
  - !ruby/object:Gem::Dependency
159
114
  name: rspec-rails
160
- requirement: !ruby/object:Gem::Requirement
115
+ requirement: &2152154380 !ruby/object:Gem::Requirement
161
116
  none: false
162
117
  requirements:
163
118
  - - ! '>='
@@ -165,15 +120,10 @@ dependencies:
165
120
  version: '0'
166
121
  type: :development
167
122
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
123
+ version_requirements: *2152154380
174
124
  - !ruby/object:Gem::Dependency
175
125
  name: capybara
176
- requirement: !ruby/object:Gem::Requirement
126
+ requirement: &2152153640 !ruby/object:Gem::Requirement
177
127
  none: false
178
128
  requirements:
179
129
  - - ! '>='
@@ -181,15 +131,10 @@ dependencies:
181
131
  version: '0'
182
132
  type: :development
183
133
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
134
+ version_requirements: *2152153640
190
135
  - !ruby/object:Gem::Dependency
191
136
  name: capybara-webkit
192
- requirement: !ruby/object:Gem::Requirement
137
+ requirement: &2152152900 !ruby/object:Gem::Requirement
193
138
  none: false
194
139
  requirements:
195
140
  - - ! '>='
@@ -197,15 +142,10 @@ dependencies:
197
142
  version: '0'
198
143
  type: :development
199
144
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
145
+ version_requirements: *2152152900
206
146
  - !ruby/object:Gem::Dependency
207
147
  name: ffaker
208
- requirement: !ruby/object:Gem::Requirement
148
+ requirement: &2152152020 !ruby/object:Gem::Requirement
209
149
  none: false
210
150
  requirements:
211
151
  - - ! '>='
@@ -213,15 +153,10 @@ dependencies:
213
153
  version: '0'
214
154
  type: :development
215
155
  prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
156
+ version_requirements: *2152152020
222
157
  - !ruby/object:Gem::Dependency
223
158
  name: jasmine
224
- requirement: !ruby/object:Gem::Requirement
159
+ requirement: &2152151340 !ruby/object:Gem::Requirement
225
160
  none: false
226
161
  requirements:
227
162
  - - ! '>='
@@ -229,15 +164,10 @@ dependencies:
229
164
  version: '0'
230
165
  type: :development
231
166
  prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
- requirements:
235
- - - ! '>='
236
- - !ruby/object:Gem::Version
237
- version: '0'
167
+ version_requirements: *2152151340
238
168
  - !ruby/object:Gem::Dependency
239
169
  name: jasminerice
240
- requirement: !ruby/object:Gem::Requirement
170
+ requirement: &2152150520 !ruby/object:Gem::Requirement
241
171
  none: false
242
172
  requirements:
243
173
  - - ! '>='
@@ -245,15 +175,10 @@ dependencies:
245
175
  version: '0'
246
176
  type: :development
247
177
  prerelease: false
248
- version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
- requirements:
251
- - - ! '>='
252
- - !ruby/object:Gem::Version
253
- version: '0'
178
+ version_requirements: *2152150520
254
179
  - !ruby/object:Gem::Dependency
255
180
  name: jasminerice-runner
256
- requirement: !ruby/object:Gem::Requirement
181
+ requirement: &2152149580 !ruby/object:Gem::Requirement
257
182
  none: false
258
183
  requirements:
259
184
  - - ! '>='
@@ -261,15 +186,10 @@ dependencies:
261
186
  version: '0'
262
187
  type: :development
263
188
  prerelease: false
264
- version_requirements: !ruby/object:Gem::Requirement
265
- none: false
266
- requirements:
267
- - - ! '>='
268
- - !ruby/object:Gem::Version
269
- version: '0'
189
+ version_requirements: *2152149580
270
190
  - !ruby/object:Gem::Dependency
271
191
  name: mock_redis
272
- requirement: !ruby/object:Gem::Requirement
192
+ requirement: &2152148800 !ruby/object:Gem::Requirement
273
193
  none: false
274
194
  requirements:
275
195
  - - ! '>='
@@ -277,15 +197,10 @@ dependencies:
277
197
  version: '0'
278
198
  type: :development
279
199
  prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- none: false
282
- requirements:
283
- - - ! '>='
284
- - !ruby/object:Gem::Version
285
- version: '0'
200
+ version_requirements: *2152148800
286
201
  - !ruby/object:Gem::Dependency
287
202
  name: sqlite3
288
- requirement: !ruby/object:Gem::Requirement
203
+ requirement: &2152148080 !ruby/object:Gem::Requirement
289
204
  none: false
290
205
  requirements:
291
206
  - - ! '>='
@@ -293,15 +208,10 @@ dependencies:
293
208
  version: '0'
294
209
  type: :development
295
210
  prerelease: false
296
- version_requirements: !ruby/object:Gem::Requirement
297
- none: false
298
- requirements:
299
- - - ! '>='
300
- - !ruby/object:Gem::Version
301
- version: '0'
211
+ version_requirements: *2152148080
302
212
  - !ruby/object:Gem::Dependency
303
213
  name: yard
304
- requirement: !ruby/object:Gem::Requirement
214
+ requirement: &2152147160 !ruby/object:Gem::Requirement
305
215
  none: false
306
216
  requirements:
307
217
  - - ! '>='
@@ -309,15 +219,10 @@ dependencies:
309
219
  version: '0'
310
220
  type: :development
311
221
  prerelease: false
312
- version_requirements: !ruby/object:Gem::Requirement
313
- none: false
314
- requirements:
315
- - - ! '>='
316
- - !ruby/object:Gem::Version
317
- version: '0'
222
+ version_requirements: *2152147160
318
223
  - !ruby/object:Gem::Dependency
319
224
  name: yard-rails
320
- requirement: !ruby/object:Gem::Requirement
225
+ requirement: &2152145160 !ruby/object:Gem::Requirement
321
226
  none: false
322
227
  requirements:
323
228
  - - ! '>='
@@ -325,12 +230,7 @@ dependencies:
325
230
  version: '0'
326
231
  type: :development
327
232
  prerelease: false
328
- version_requirements: !ruby/object:Gem::Requirement
329
- none: false
330
- requirements:
331
- - - ! '>='
332
- - !ruby/object:Gem::Version
333
- version: '0'
233
+ version_requirements: *2152145160
334
234
  description: Dashboard composed of social network posts.
335
235
  email:
336
236
  - corey@coolerator.net
@@ -480,21 +380,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
480
380
  - - ! '>='
481
381
  - !ruby/object:Gem::Version
482
382
  version: '0'
483
- segments:
484
- - 0
485
- hash: 4169191592925825699
486
383
  required_rubygems_version: !ruby/object:Gem::Requirement
487
384
  none: false
488
385
  requirements:
489
386
  - - ! '>='
490
387
  - !ruby/object:Gem::Version
491
388
  version: '0'
492
- segments:
493
- - 0
494
- hash: 4169191592925825699
495
389
  requirements: []
496
390
  rubyforge_project:
497
- rubygems_version: 1.8.24
391
+ rubygems_version: 1.8.10
498
392
  signing_key:
499
393
  specification_version: 3
500
394
  summary: Dashboard composed of social network posts.