corn_js 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  var Popcorn = function($element, defaults) {
2
2
  this.$element = $element;
3
- this.$anchor = null;
3
+ this.$anchor = this.$element;
4
4
  this.defaults = defaults;
5
5
  };
6
6
 
@@ -15,12 +15,14 @@
15
15
 
16
16
  Popcorn.prototype.inferPositionType = function() {
17
17
  var self = this;
18
- self.$anchor = self.$element;
19
-
18
+ this.$anchor = this.$element;
19
+
20
20
  function _createPositionType(defaults) {
21
- if(self.$element.offset().left < 1){
21
+
22
+ if(self.$element.offset().left < 1) {
22
23
  self.$anchor = self.$element.parent();
23
24
  }
25
+
24
26
  if (self.collideLeft()) { return new LeftPosition(self); }
25
27
  else if (self.collideRight()) { return new RightPosition(self); }
26
28
  return new CenterPosition(self);
@@ -111,25 +113,21 @@
111
113
 
112
114
  var FatPopcorn = function($element, defaults) {
113
115
  function _checkOptions(options) {
116
+ if (!options.autoWrap) options.autoWrap = false;
117
+
114
118
  return typeof options.modelId === undefined ||
115
119
  options.token === undefined ||
116
- options.current_user === undefined;
120
+ options.current_user === undefined;
117
121
  };
118
122
  var self = this;
119
123
 
120
- self.$element = $element;
124
+ if (_checkOptions(defaults)) throw("parameters [token], [current_user] are required");
121
125
 
126
+ self.$element = $element;
122
127
  self.defaults = defaults;
123
- self.attributes = defaults;
124
- this.get = function(option) {
125
- return self.defaults[option];
126
- }
127
-
128
- self.defaults['modelName'] = self.$element.attr('data-model');
128
+
129
129
 
130
- if (_checkOptions(self.defaults)){
131
- throw("parameters [modelId], [token], [current_user] are required");
132
- }
130
+ self.defaults.modelName = "#"
133
131
  };
134
132
  FatPopcorn.prototype = new Popcorn();
135
133
 
@@ -138,7 +136,7 @@
138
136
  this.setupFormToken();
139
137
  this.setupStreamUrl();
140
138
  this.setupHistoryUrl();
141
- this.setupAttachmentsUrl();
139
+ this.setupEditForm();
142
140
  this.setupWatchlistUrl();
143
141
 
144
142
  if (this.hasStream()) {
@@ -152,9 +150,10 @@
152
150
  FatPopcorn.prototype.setupStreamUrl = function() {
153
151
  $('.fatpopcorn .stream').attr('data-url', this.streamUrl());
154
152
  };
155
- FatPopcorn.prototype.setupAttachmentsUrl = function() {
153
+ FatPopcorn.prototype.setupEditForm = function() {
156
154
  FatPopcorn.createAttachmentButton(this.attachmentsUrl());
157
155
  $('.fatpopcorn .edit').attr('data-attach-url', this.attachmentsUrl());
156
+ $('.on-off label.' + this.$element.attr('data-watching')).click();
158
157
  };
159
158
  FatPopcorn.prototype.setupWatchlistUrl = function() {
160
159
  $('.fatpopcorn .edit').attr('data-url', this.watchlistUrl());
@@ -185,13 +184,13 @@
185
184
  return this.urlPrefix() + '/histories';
186
185
  };
187
186
  FatPopcorn.prototype.urlPrefix = function() {
188
- return '/active_metadata/' + this.get('modelName') + '/' + this.get('modelId') + '/' + this.currentLabel();
187
+ return '/active_metadata/' + this.$element.attr('data-model') + '/' + this.$element.attr('data-model-id') + '/' + this.$element.attr('data-label');
189
188
  };
190
189
  FatPopcorn.prototype.currentLabel = function() {
191
190
  return this.$element.attr('data-label');
192
191
  };
193
192
  FatPopcorn.prototype.hasStream = function() {
194
- return this.$element.attr('data-stream') === 'true';
193
+ return parseInt(this.$element.attr('data-stream')) > 0;
195
194
  };
196
195
  FatPopcorn.hideContainer = function() {
197
196
  $(window).off('resize');
@@ -204,15 +203,16 @@
204
203
  return $('.fatpopcorn').first();
205
204
  }
206
205
  FatPopcorn.onCompleteUpload = function(id, fileName, response, qq) {
206
+ console.log('FatPopcorn.onCompleteUpload');
207
207
  if(qq.getQueue().length == 1) {
208
208
  $('.qq-upload-list').empty();
209
209
  }
210
- if(!response.success){
210
+ if(!response.success){
211
+ console.log(response);
211
212
  K.message.error(K.message.buildListOfErrors(response.errors));
212
213
  return;
213
214
  }
214
-
215
- $('.stream-tab').click();
215
+ FatPopcorn.newNoteOrAttachmentSuccess(response);
216
216
  }
217
217
  FatPopcorn.decorateContainerWithHtml = function() {
218
218
  var self = this;
@@ -303,10 +303,11 @@
303
303
  function _stopWatching() {
304
304
  _callWatchlistService({_method: 'delete', authenticity_token: FatPopcorn.formToken() });
305
305
  };
306
- function _callWatchlistService(data) {
307
- $.post($('.fatpopcorn .edit').attr('data-url'), data).success(function() {console.log("watchlist success")});
306
+ function _callWatchlistService(data) {
307
+ var url = $('.fatpopcorn .edit').attr('data-url');
308
+
309
+ $.post(url, data, {dataType: 'script'}).done(FatPopcorn.watchingServiceSuccess).error(FatPopcorn.watchingServiceFail);
308
310
  };
309
-
310
311
  $('.fatpopcorn').on('click', function(e) {
311
312
  e.stopPropagation();
312
313
  });
@@ -320,20 +321,58 @@
320
321
  $('#send_note').click(function() {
321
322
  if ($('#note_text').val() == '') return false;
322
323
 
323
- $.post($('form#notes_form').attr('action'), $('form#notes_form').serialize()).success('success.rails', FatPopcorn.newNoteSuccess);
324
+ $.post($('form#notes_form').attr('action'), $('form#notes_form').serialize())
325
+ .success('success.rails', FatPopcorn.newNoteOrAttachmentSuccess)
326
+ .fail(function(e){console.log('request failed')});
324
327
  });
325
328
  $('.loader').ajaxSend(function(e) { $(this).show(); });
326
329
  $('.loader').ajaxComplete(function() { $(this).hide(); });
327
330
  };
328
331
 
329
- FatPopcorn.newNoteSuccess = function(data) {
332
+ /* ajax callbacks */
333
+ FatPopcorn.watchingServiceSuccess = function(jqxhr) {
334
+ var data = eval(jqxhr);
335
+ FatPopcorn.item(data).attr('data-watching', data.watching);
336
+ }
337
+ FatPopcorn.watchingServiceFail = function(data) {
338
+ console.log('Watchlist service request failed');
339
+ console.log(data);
340
+ console.log(data.state());
341
+ console.log(data.statusCode());
342
+ console.log(data.getAllResponseHeaders());
343
+
344
+ }
345
+
346
+ FatPopcorn.item = function(data) {
347
+ return $('[data-model="' + data.modelName + '"][data-label="' + data.fieldName + '"]');
348
+ }
349
+
350
+ FatPopcorn.newNoteOrAttachmentSuccess = function(dataString) {
351
+ var data = eval(dataString)
352
+ FatPopcorn.item(data).attr('data-stream', data.streamItemsCount);
353
+
354
+ if (data.streamItemsCount > 0) {
355
+ FatPopcorn.item(data).parents('.fatpopcorn_grip').addClass('has-stream');
356
+ FatPopcorn.item(data).siblings('.stream-items-count').text(data.streamItemsCount);
357
+ if (data.streamItemsCount > 9)
358
+ FatPopcorn.item(data).siblings('.stream-items-count').addClass('two-digits')
359
+ else
360
+ FatPopcorn.item(data).siblings('.stream-items-count').removeClass('two-digits')
361
+ } else {
362
+ FatPopcorn.item(data).parents('.fatpopcorn_grip').removeClass('has-stream');
363
+ FatPopcorn.item(data).siblings('.stream-items-count').empty();
364
+ }
330
365
  $('.fatpopcorn textarea#note_text').val('');
331
- $('.fatpopcorn .stream-tab').click();
366
+ $('.fatpopcorn .active').removeClass('active');
367
+ $('.fatpopcorn .popcorn-body > div:not(.header)').hide();
368
+ $(".fatpopcorn .stream").show();
369
+ $(".fatpopcorn .stream-tab").addClass('active');
370
+ FatPopcorn.getStreamSuccess(data.streamBody);
371
+
332
372
  };
333
373
 
334
- FatPopcorn.getStreamSuccess = function(data) {
335
- $('.fatpopcorn .stream .content').empty();
336
- $('.fatpopcorn .stream .content').append(data);
374
+ FatPopcorn.getStreamSuccess = function(data) {
375
+ $('.fatpopcorn .stream .content').html(data);
337
376
  $('.fatpopcorn .stream .attachment span.delete').click(FatPopcorn.deleteAttachment);
338
377
  $('.fatpopcorn .stream .note span.delete').click(FatPopcorn.deleteNote);
339
378
  };
@@ -349,15 +388,13 @@
349
388
  }
350
389
 
351
390
  $.post(_url(), {_method: 'delete'}).
352
- success('success.rails', FatPopcorn.deleteSuccess).
391
+ success('success.rails', FatPopcorn.newNoteOrAttachmentSuccess).
353
392
  fail(FatPopcorn.deleteFailure);
354
393
  };
355
394
  FatPopcorn.deleteSuccess = function() {
356
395
  $('.fatpopcorn .stream-tab').click();
357
- console.log('deleted attach success');
358
396
  };
359
397
  FatPopcorn.deleteFailure = function() {
360
- console.log('deleted attach failure');
361
398
  };
362
399
  FatPopcorn.getHistorySuccess = function(data) {
363
400
  $('.fatpopcorn .history .content').empty();
@@ -394,7 +431,11 @@
394
431
  $(e.target).data('elementMatched', true);
395
432
  });
396
433
 
397
- fatpopcorn.gripOf($element).click(function(e) {
434
+ $('.fatpopcorn_grip .stream-items-count').click(function(e) {
435
+ $(e.target).data('elementMatched', false);
436
+ });
437
+
438
+ fatpopcorn.gripOf($element).click(function(e) {
398
439
  if ($(e.target).data('elementMatched')) return;
399
440
 
400
441
  e.stopPropagation();
@@ -41,9 +41,32 @@ a:hover {
41
41
  width: 160px;
42
42
  margin-top: 4px;
43
43
  }
44
+ .fatpopcorn_grip {
45
+ background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZ1JREFUeNqkU0tLAlEUPvc6YiKChOBjNwsLZhEjuCsZ8Ae0ausigvob/Y0ioa0QSK1cKgaROK5spAfD7ESFEMHnYuyc4d4yqBzog2/uuXPv9537OJetViuQqNfr1OjII2QeuY90kffIBrJsGIYFa2Bk0Gq1vM5kMrnC5gT+QCaTeUyn0+eoqeZyuS8DFN/i+CHnHFKpFMTjcYjFYp5oNBrBYDCAYDAIqqoCalzGGK2yoojMFyQOhUKgaRpEIhEIBAKfWckoGo0Cirz+crnk3W63oOt6hdVqNQ3/PdFgNpv1Jm5Cs9mE2Wz2juEex0+RfiaTSQiHw+AHIsk2abk4bUgkEqAoii8DmiuQJ4Ndimj/frE2d4fDP0EGr+JkfYsWi4UMX7ioMu+e/WI4HMqwQQZlinq9HtXDRvF4PIZ+vy+7Nxxr28Sg5LoudDodut9fxZTAsiwQ7+cS+SYP8RRZnc/nYJomOI4DFEtMp1OwbRva7bbc/x1W69m3x4TuW8K1uGEX1yg+litiPzxnQ7zIA6Qqhp7FYZeQD+tuHwIMACccpgPnIZ+qAAAAAElFTkSuQmCC") no-repeat scroll 100% 4px;
46
+ cursor: pointer;
47
+ }
48
+ .fatpopcorn_grip.has-stream {
49
+ background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZlJREFUeNqkU08og2Ecfr7XZDT5k5YkTGuKEhcttoYcHMSB3HbA2Q5OjnJydiOr5aa2FqV2cDJhQi6U0Yq0tJBNIvF9fu/3vmw72L7y1PP2/vk9z/vv91M0TcMvQj7edhEniG5iH1El7hGjxA2ML18gB4pusLMkRunkGrUzKITuyRhaXQukiWBoPscgndyk5VEwE2DrBRrpIHV2IUrFgbtToMwCdIwAmqpCYfyUYZPceUUXl1cDzmmgsh4oNWd3tTqAmiagRITjPcNwtD4Ijy+saMHZdpo6J0dgYE4EFkNkEXh9eKJeJ6ng1SdbnIDFCkMQm9RyLZOvDTT35B+7EHisgJsbtOldfn+jyMY6GP4JbnCl996ejauysXEms4z++cy4Ac8JgSjT05MjQT6Z++LixwRwe/wzCjLK7RPq+KF+AvurwEvqbzHfIBbgmchHFIxrkcohHz/JNnFY/0p7v8iLiloh5KY3hxS+C3x98JktVDWMUQbn1YJZunqLXCJA4ilZAtIgv5w9siJdRJtcuZSP7Sce5Lp9CzAAUF99tEicER0AAAAASUVORK5CYII=") no-repeat scroll 100% 4px;
50
+ cursor: pointer;
51
+ }
44
52
  .fatpopcorn_grip:hover {
45
- background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcpJREFUeNqUU02rgVEQft73ykJJkixkI99+gYWFJCt+gGQnNvyGu7KwJMrCRpbWJFlIWStfiY0sKF/ZSp1rprhX93V1nzrNnM48z5yZM0cSQkAJ5/NZTKdT9j0eD3Q6naQUp3pFzmazOJ1OvNfr9SgUCkJJRFYSqNVqTPb5fLzIr9frijf9JbBarUSn04Esy0gkEojH4+y3221sNhuhWEKv1+N6F4sFlsslH4TDYZjNZvYDgQC63S5SqRRsNptwOp3cF7/fL30YDAZB1yPi8XhkgsPhQDqdhkaj4b3dbsdoNOJSKIYSDQYD7Pf7TykSiQiVSoVkMsmBtwz4C5RoPp+jWq3ier1CDoVC7IzHY1itVrwDxVC5xCGuHIvFoNVq0e/3UalU3gpQDMUSh7jyrQdSLpfjw1arhUaj8ZI8HA7pJWA0GkEc4oImkVaz2RTUj3K5LP6B7znY7XZsSf0/eAhst1u2JpOJ7eFw4HppkU+g2qPRKPL5PG2lp7+gVqvZXi4XlEolHhzqNIGmMBgMwuVyPcWyyv033sZXFIvFp+vdJu2R+ScymQw9ofQkcBeZTCZwu908qhaLhYPW6zWP+mw2g9frfZAJXwIMABU5CfhlmG8GAAAAAElFTkSuQmCC") no-repeat scroll 100% 4px;
46
-
53
+ background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbpJREFUeNqkkz9IAnEUx593BuLgkIKDgwRaEBLtl8UNYou2tB4YDU7uQtDipmNTkdAqBJGYDg4Ol9QSgVDan0VBXSQ3B9G7vu+4A4nCg77w8fe93/3e4/m79xy6rpOlZDLJyzY4BFEgAQ3cAxWUyuXyKy1I4J9MJmMAXYJncAJ2gQhWgAxOwUu1Wn3Eum+eJwdXwA/dbveWi3A6nRSPx0mSJIpEIsahVqtFqqqSx+MhRVFoPp9roihylTfECRKJxDnQU6mU3ul09Mlkov8U702nU8OPRiM9m82ecawDgZtcmiAIVCgUKBwO0zKl02kaDodfsFt8BwpvxmIxCgQCZEehUIiXVY4VzNsmWZbJ7XbbSsBnTUU5wQY7r9dLduXz+Sy7LtA/xQk+2IzHY9tB+AqWfRfMLjO+s101m03LqpygxK5Wq1Gv11sa3G63qdFoWI/XAnr7CaY4m80ol8vRYDD4MxjdSvl8njSNx4MuwKfRyhgiruSOe9zlchlDxX3h9/uNwH6/T/V6nSqVCqEbeascDAYPOOHiLLjMrMqSf3GF4COrIscv47wHjsEOWDNfvZmXXQQPi9m+BRgAEy7Bz0TDHpwAAAAASUVORK5CYII=") no-repeat scroll 100% 4px;
54
+ }
55
+ .fatpopcorn_grip.has-stream:hover {
56
+ background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdJJREFUeNpi/P//PwMMfCsVAVEGQBwCxLZAbA3E/4D4CBAfBuKVXN1vrjEgASYQ8aPPDoyBYA4QnwfiaiAGCTADMSsQOwJxHRBf/XN8/gkg7QFVz8AIcgGI8+/5tY1Avh8jCxsDs3kcA4u+PwOToiVY0d87hxn+XlzPwMgtwsDqUQV0099/DEzMIFeuZwAZ8LVEeCYQ///WrPP/78Mz/////PIfA4DE/vwCM/99fP7/x3TfySC9jECNWiCnMTCzMHBkb2dgkjVkIAR+dJoy/Htz/x2QqQcKg1iQIItpFAOjqAoDMYBJBhTODEIgvUzQ0GZgMQ5nYOTgJcoAZqMwGNMWZIA6ODT5JRmIBYwC0jCmGhMDhQBkwG0Q4/+nl0Rr+v/hKYx5iwmayhj+XFhPtAF/L2+CMQ+DDFgJFjyxgOHfixsENf97eJrhz7nVMO4aJmDaPgtkzAUmEoZfC6IZ/r+5h1sz0IKfi5OAtv0BcWcB8R1wUgZmIpBLtoLSOCMHDwOLTToDi1k0A6OgHMTPr+8w/Dm9jOHPkVkM/3//AAltYpLU8gcmf5S8wAE1NZaALxYANSeCXQQzAC072wNxMhDbALEiVOomNLDnAvFxZNMAAgwACr3G5lMadUAAAAAASUVORK5CYII=") no-repeat scroll 100% 4px;
57
+ }
58
+ .fatpopcorn_grip .stream-items-count {
59
+ font: 8px Verdana, Arial, sans-serif;
60
+ color: #f56a00;
61
+ float: right;
62
+ font-size: 8px;
63
+ margin-right: 5px;
64
+ margin-top: 6px;
65
+ font-weight: bold;
66
+ text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
67
+ }
68
+ .fatpopcorn_grip .stream-items-count.two-digits {
69
+ margin-right: 3px;
47
70
  }
48
71
 
49
72
  /* generic classes */
@@ -56,7 +79,6 @@ a:hover {
56
79
  }
57
80
  .fatpopcorn h1 {
58
81
  font: bold 12px/14px "Segoe UI","Lucida Grande",Arial,sans-serif;
59
-
60
82
  margin: 12px 0 4px 0;
61
83
  padding-left: 15px;
62
84
  font-size: 12px;
@@ -65,7 +87,6 @@ a:hover {
65
87
  .fatpopcorn .watchlist h1 {
66
88
  background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbZJREFUeNpMUjtrmmEUfj4/b4NQlA8cFAshqAiKDkqgVTInCJkSCIE0m0sG/0RA+hccajKGLtKukkI2RSoFL4ilRRfxMqigeM1zXiJ4lpdze87znPNq6XQa7+ba7XaXi8XifLVafaa/tVqtrzab7Yemad/pj6VIe2842mw233RdT8ZiMQQCAYXQarVQrVax3W5/MfeFoX/SYKzX62en03mayWQQj8fBJAaDARhHu91GPp/HZDL5yfi17vf7bzjyPpvNIplMwmw2I5fLwW63g3F4vV643W6Uy2U//d+m0Wh0EQ6HkUgk9loUsslkAmliOBzC5/MhEolguVxemQuFwicKU8iHZrFYQNHgItQ0wzAEIKyqZPShiYZGowGHw6EaXC6XmqpylUrldDweH6dSKVUoNDganU4H0+lUxGI+n6PX6wm9Fz0ajX7o9/tnFA+Px4Nut6vohUIhBINBiD7qRKlUEsCvOnf+n6gn9Xr9o3AV27+z2Qy1Wg3FYhE86AsX8bA/3DGbnoh8IsiyRuHOyWg2m+DlX4l+y7q/2sHXMFh0R/6XbA7J1yDAH27rmUt5pD+SojcBBgBCW8Ar7p88wQAAAABJRU5ErkJggg==") no-repeat scroll 0 2px;
67
89
  }
68
-
69
90
  .fatpopcorn .attachment h1 {
70
91
  background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABh0RVh0Q3JlYXRpb24gVGltZQAxMS0wMS0yMDEytcl2IgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAADESURBVCiRfdAhcgJBEAXQtywCVHIEZGQcOLhByA1WEscRkMjIyI1DIpEcYeMikUjiggJBDzW1lc2vmprpqf/7/+5CN5aY4QE/OGDV6yDXuGCPIu66S1CjwWt0nWEUZ1q2yO844glbbOJ/gm8Mcocq8o6yCMnxhBU+i4w8beXN483dltCUGfkLA6yDvIx6jkUIpRnOGOMtcxxjGHPsUu4+HvESW/kv3h2HECU8B6lqE/NIDX7jvY764y9B6rgN+73bkJ24AvtdK0qIEWRDAAAAAElFTkSuQmCC") no-repeat scroll 0 2px;
71
92
  }
@@ -321,10 +342,11 @@ div > h1 > span.delete:hover {
321
342
  }
322
343
  .fatpopcorn .content .no-content {
323
344
  position:absolute;
324
- top:50%;
325
- font-size: 20px;
345
+ top:46%;
346
+ left: 10px;
347
+ font-size: 22px;
326
348
  color: #ccc;
327
- background:transparent;
349
+ background-color: #ffffff !important;
328
350
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
329
351
  }
330
352
  .fatpopcorn .loader {
@@ -1,3 +1,3 @@
1
1
  module CornJs
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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: 2012-02-17 00:00:00.000000000Z
12
+ date: 2012-02-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2164538140 !ruby/object:Gem::Requirement
16
+ requirement: &2166204740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2164538140
24
+ version_requirements: *2166204740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &2164537460 !ruby/object:Gem::Requirement
27
+ requirement: &2166204320 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2164537460
35
+ version_requirements: *2166204320
36
36
  description: It's possible to use the generic popcorn and the app specific fat popcorn
37
37
  plugin
38
38
  email:
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  segments:
71
71
  - 0
72
- hash: -582293340183790761
72
+ hash: -3416024969603645718
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -582293340183790761
81
+ hash: -3416024969603645718
82
82
  requirements: []
83
83
  rubyforge_project:
84
84
  rubygems_version: 1.8.10