socket.io-rails 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8657055568e5d917bb6ea5d88e9e3209b3d0648c
4
- data.tar.gz: 97d26c021c4f7ba73d3f0ab2337648d0d63fd48d
3
+ metadata.gz: e39a5013196612b4a3c3c2be545e8b48bf6bf360
4
+ data.tar.gz: e050626e88d5585dd97df357aad1927ceb20ac26
5
5
  SHA512:
6
- metadata.gz: 5f01bf6dfe54582031e712d661b1b7d4a4df5a0cba12d7b1e4abd0f9e6f07236bd4e33099a755ac5721b6fc37b5995ae69e39070ccd7f3489ad49366583dfe0b
7
- data.tar.gz: 76969528d2cd021cdbe3de6805700fe340e04c58800c1d2d2a69f77ab23fd38141cf29a64362c424e7833046a41d7e5d1b14f964b4bde577d1a4ad37d97e064c
6
+ metadata.gz: cc0c22a11587f0079347178ba69fff514758f0f959ead124642bccda663225285b46f2db1a37092cbbc915bf0dcc17a59e50d72e8844067edaa39826ede95b56
7
+ data.tar.gz: c7b0f9f4b2127d00dd09745fd1800bb52cd0b5103507a59d32d338bcbbe3ab30ada8cc71ace6cebe0b9f98b5ace284117ab983d632376e586360f93921cd9208
@@ -1,5 +1,5 @@
1
1
  module Socketio
2
2
  module Rails
3
- VERSION = "1.7.1"
3
+ VERSION = "1.7.2"
4
4
  end
5
5
  end
@@ -164,7 +164,7 @@ return /******/ (function(modules) { // webpackBootstrap
164
164
  */
165
165
 
166
166
  exports.Manager = __webpack_require__(17);
167
- exports.Socket = __webpack_require__(45);
167
+ exports.Socket = __webpack_require__(44);
168
168
 
169
169
  /***/ },
170
170
  /* 1 */
@@ -2859,16 +2859,16 @@ return /******/ (function(modules) { // webpackBootstrap
2859
2859
  /* 12 */
2860
2860
  /***/ function(module, exports) {
2861
2861
 
2862
- module.exports = function(module) {
2863
- if(!module.webpackPolyfill) {
2864
- module.deprecate = function() {};
2865
- module.paths = [];
2866
- // module.parent = undefined by default
2867
- module.children = [];
2868
- module.webpackPolyfill = 1;
2869
- }
2870
- return module;
2871
- }
2862
+ module.exports = function(module) {
2863
+ if(!module.webpackPolyfill) {
2864
+ module.deprecate = function() {};
2865
+ module.paths = [];
2866
+ // module.parent = undefined by default
2867
+ module.children = [];
2868
+ module.webpackPolyfill = 1;
2869
+ }
2870
+ return module;
2871
+ }
2872
2872
 
2873
2873
 
2874
2874
  /***/ },
@@ -3231,14 +3231,14 @@ return /******/ (function(modules) { // webpackBootstrap
3231
3231
  */
3232
3232
 
3233
3233
  var eio = __webpack_require__(18);
3234
- var Socket = __webpack_require__(45);
3235
- var Emitter = __webpack_require__(36);
3234
+ var Socket = __webpack_require__(44);
3235
+ var Emitter = __webpack_require__(35);
3236
3236
  var parser = __webpack_require__(7);
3237
- var on = __webpack_require__(47);
3238
- var bind = __webpack_require__(48);
3237
+ var on = __webpack_require__(46);
3238
+ var bind = __webpack_require__(47);
3239
3239
  var debug = __webpack_require__(3)('socket.io-client:manager');
3240
- var indexOf = __webpack_require__(43);
3241
- var Backoff = __webpack_require__(51);
3240
+ var indexOf = __webpack_require__(42);
3241
+ var Backoff = __webpack_require__(48);
3242
3242
 
3243
3243
  /**
3244
3244
  * IE6+ hasOwnProperty
@@ -3818,13 +3818,13 @@ return /******/ (function(modules) { // webpackBootstrap
3818
3818
  */
3819
3819
 
3820
3820
  var transports = __webpack_require__(21);
3821
- var Emitter = __webpack_require__(36);
3821
+ var Emitter = __webpack_require__(35);
3822
3822
  var debug = __webpack_require__(3)('engine.io-client:socket');
3823
- var index = __webpack_require__(43);
3823
+ var index = __webpack_require__(42);
3824
3824
  var parser = __webpack_require__(27);
3825
3825
  var parseuri = __webpack_require__(2);
3826
- var parsejson = __webpack_require__(44);
3827
- var parseqs = __webpack_require__(37);
3826
+ var parsejson = __webpack_require__(43);
3827
+ var parseqs = __webpack_require__(36);
3828
3828
 
3829
3829
  /**
3830
3830
  * Module exports.
@@ -4564,8 +4564,8 @@ return /******/ (function(modules) { // webpackBootstrap
4564
4564
 
4565
4565
  var XMLHttpRequest = __webpack_require__(22);
4566
4566
  var XHR = __webpack_require__(24);
4567
- var JSONP = __webpack_require__(40);
4568
- var websocket = __webpack_require__(41);
4567
+ var JSONP = __webpack_require__(39);
4568
+ var websocket = __webpack_require__(40);
4569
4569
 
4570
4570
  /**
4571
4571
  * Export transports.
@@ -4691,8 +4691,8 @@ return /******/ (function(modules) { // webpackBootstrap
4691
4691
 
4692
4692
  var XMLHttpRequest = __webpack_require__(22);
4693
4693
  var Polling = __webpack_require__(25);
4694
- var Emitter = __webpack_require__(36);
4695
- var inherit = __webpack_require__(38);
4694
+ var Emitter = __webpack_require__(35);
4695
+ var inherit = __webpack_require__(37);
4696
4696
  var debug = __webpack_require__(3)('engine.io-client:polling-xhr');
4697
4697
 
4698
4698
  /**
@@ -5121,10 +5121,10 @@ return /******/ (function(modules) { // webpackBootstrap
5121
5121
  */
5122
5122
 
5123
5123
  var Transport = __webpack_require__(26);
5124
- var parseqs = __webpack_require__(37);
5124
+ var parseqs = __webpack_require__(36);
5125
5125
  var parser = __webpack_require__(27);
5126
- var inherit = __webpack_require__(38);
5127
- var yeast = __webpack_require__(39);
5126
+ var inherit = __webpack_require__(37);
5127
+ var yeast = __webpack_require__(38);
5128
5128
  var debug = __webpack_require__(3)('engine.io-client:polling');
5129
5129
 
5130
5130
  /**
@@ -5372,7 +5372,7 @@ return /******/ (function(modules) { // webpackBootstrap
5372
5372
  */
5373
5373
 
5374
5374
  var parser = __webpack_require__(27);
5375
- var Emitter = __webpack_require__(36);
5375
+ var Emitter = __webpack_require__(35);
5376
5376
 
5377
5377
  /**
5378
5378
  * Module exports.
@@ -5536,13 +5536,13 @@ return /******/ (function(modules) { // webpackBootstrap
5536
5536
 
5537
5537
  var keys = __webpack_require__(28);
5538
5538
  var hasBinary = __webpack_require__(29);
5539
- var sliceBuffer = __webpack_require__(31);
5540
- var after = __webpack_require__(32);
5541
- var utf8 = __webpack_require__(33);
5539
+ var sliceBuffer = __webpack_require__(30);
5540
+ var after = __webpack_require__(31);
5541
+ var utf8 = __webpack_require__(32);
5542
5542
 
5543
5543
  var base64encoder;
5544
5544
  if (global && global.ArrayBuffer) {
5545
- base64encoder = __webpack_require__(34);
5545
+ base64encoder = __webpack_require__(33);
5546
5546
  }
5547
5547
 
5548
5548
  /**
@@ -5600,7 +5600,7 @@ return /******/ (function(modules) { // webpackBootstrap
5600
5600
  * Create a blob api even for blob builder when vendor prefixes exist
5601
5601
  */
5602
5602
 
5603
- var Blob = __webpack_require__(35);
5603
+ var Blob = __webpack_require__(34);
5604
5604
 
5605
5605
  /**
5606
5606
  * Encodes a packet.
@@ -6176,7 +6176,7 @@ return /******/ (function(modules) { // webpackBootstrap
6176
6176
  * Module requirements.
6177
6177
  */
6178
6178
 
6179
- var isArray = __webpack_require__(30);
6179
+ var isArray = __webpack_require__(15);
6180
6180
 
6181
6181
  /**
6182
6182
  * Module exports.
@@ -6198,7 +6198,7 @@ return /******/ (function(modules) { // webpackBootstrap
6198
6198
  function _hasBinary(obj) {
6199
6199
  if (!obj) return false;
6200
6200
 
6201
- if ( (global.Buffer && global.Buffer.isBuffer(obj)) ||
6201
+ if ( (global.Buffer && global.Buffer.isBuffer && global.Buffer.isBuffer(obj)) ||
6202
6202
  (global.ArrayBuffer && obj instanceof ArrayBuffer) ||
6203
6203
  (global.Blob && obj instanceof Blob) ||
6204
6204
  (global.File && obj instanceof File)
@@ -6213,7 +6213,8 @@ return /******/ (function(modules) { // webpackBootstrap
6213
6213
  }
6214
6214
  }
6215
6215
  } else if (obj && 'object' == typeof obj) {
6216
- if (obj.toJSON) {
6216
+ // see: https://github.com/Automattic/has-binary/pull/4
6217
+ if (obj.toJSON && 'function' == typeof obj.toJSON) {
6217
6218
  obj = obj.toJSON();
6218
6219
  }
6219
6220
 
@@ -6234,15 +6235,6 @@ return /******/ (function(modules) { // webpackBootstrap
6234
6235
 
6235
6236
  /***/ },
6236
6237
  /* 30 */
6237
- /***/ function(module, exports) {
6238
-
6239
- module.exports = Array.isArray || function (arr) {
6240
- return Object.prototype.toString.call(arr) == '[object Array]';
6241
- };
6242
-
6243
-
6244
- /***/ },
6245
- /* 31 */
6246
6238
  /***/ function(module, exports) {
6247
6239
 
6248
6240
  /**
@@ -6277,7 +6269,7 @@ return /******/ (function(modules) { // webpackBootstrap
6277
6269
 
6278
6270
 
6279
6271
  /***/ },
6280
- /* 32 */
6272
+ /* 31 */
6281
6273
  /***/ function(module, exports) {
6282
6274
 
6283
6275
  module.exports = after
@@ -6311,7 +6303,7 @@ return /******/ (function(modules) { // webpackBootstrap
6311
6303
 
6312
6304
 
6313
6305
  /***/ },
6314
- /* 33 */
6306
+ /* 32 */
6315
6307
  /***/ function(module, exports, __webpack_require__) {
6316
6308
 
6317
6309
  var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! https://mths.be/wtf8 v1.0.0 by @mathias */
@@ -6550,7 +6542,7 @@ return /******/ (function(modules) { // webpackBootstrap
6550
6542
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)(module), (function() { return this; }())))
6551
6543
 
6552
6544
  /***/ },
6553
- /* 34 */
6545
+ /* 33 */
6554
6546
  /***/ function(module, exports) {
6555
6547
 
6556
6548
  /*
@@ -6623,7 +6615,7 @@ return /******/ (function(modules) { // webpackBootstrap
6623
6615
 
6624
6616
 
6625
6617
  /***/ },
6626
- /* 35 */
6618
+ /* 34 */
6627
6619
  /***/ function(module, exports) {
6628
6620
 
6629
6621
  /* WEBPACK VAR INJECTION */(function(global) {/**
@@ -6726,7 +6718,7 @@ return /******/ (function(modules) { // webpackBootstrap
6726
6718
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
6727
6719
 
6728
6720
  /***/ },
6729
- /* 36 */
6721
+ /* 35 */
6730
6722
  /***/ function(module, exports, __webpack_require__) {
6731
6723
 
6732
6724
 
@@ -6895,7 +6887,7 @@ return /******/ (function(modules) { // webpackBootstrap
6895
6887
 
6896
6888
 
6897
6889
  /***/ },
6898
- /* 37 */
6890
+ /* 36 */
6899
6891
  /***/ function(module, exports) {
6900
6892
 
6901
6893
  /**
@@ -6938,7 +6930,7 @@ return /******/ (function(modules) { // webpackBootstrap
6938
6930
 
6939
6931
 
6940
6932
  /***/ },
6941
- /* 38 */
6933
+ /* 37 */
6942
6934
  /***/ function(module, exports) {
6943
6935
 
6944
6936
 
@@ -6950,7 +6942,7 @@ return /******/ (function(modules) { // webpackBootstrap
6950
6942
  };
6951
6943
 
6952
6944
  /***/ },
6953
- /* 39 */
6945
+ /* 38 */
6954
6946
  /***/ function(module, exports) {
6955
6947
 
6956
6948
  'use strict';
@@ -7024,7 +7016,7 @@ return /******/ (function(modules) { // webpackBootstrap
7024
7016
 
7025
7017
 
7026
7018
  /***/ },
7027
- /* 40 */
7019
+ /* 39 */
7028
7020
  /***/ function(module, exports, __webpack_require__) {
7029
7021
 
7030
7022
  /* WEBPACK VAR INJECTION */(function(global) {
@@ -7033,7 +7025,7 @@ return /******/ (function(modules) { // webpackBootstrap
7033
7025
  */
7034
7026
 
7035
7027
  var Polling = __webpack_require__(25);
7036
- var inherit = __webpack_require__(38);
7028
+ var inherit = __webpack_require__(37);
7037
7029
 
7038
7030
  /**
7039
7031
  * Module exports.
@@ -7262,7 +7254,7 @@ return /******/ (function(modules) { // webpackBootstrap
7262
7254
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
7263
7255
 
7264
7256
  /***/ },
7265
- /* 41 */
7257
+ /* 40 */
7266
7258
  /***/ function(module, exports, __webpack_require__) {
7267
7259
 
7268
7260
  /* WEBPACK VAR INJECTION */(function(global) {/**
@@ -7271,15 +7263,15 @@ return /******/ (function(modules) { // webpackBootstrap
7271
7263
 
7272
7264
  var Transport = __webpack_require__(26);
7273
7265
  var parser = __webpack_require__(27);
7274
- var parseqs = __webpack_require__(37);
7275
- var inherit = __webpack_require__(38);
7276
- var yeast = __webpack_require__(39);
7266
+ var parseqs = __webpack_require__(36);
7267
+ var inherit = __webpack_require__(37);
7268
+ var yeast = __webpack_require__(38);
7277
7269
  var debug = __webpack_require__(3)('engine.io-client:websocket');
7278
7270
  var BrowserWebSocket = global.WebSocket || global.MozWebSocket;
7279
7271
  var NodeWebSocket;
7280
7272
  if (typeof window === 'undefined') {
7281
7273
  try {
7282
- NodeWebSocket = __webpack_require__(42);
7274
+ NodeWebSocket = __webpack_require__(41);
7283
7275
  } catch (e) { }
7284
7276
  }
7285
7277
 
@@ -7554,13 +7546,13 @@ return /******/ (function(modules) { // webpackBootstrap
7554
7546
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
7555
7547
 
7556
7548
  /***/ },
7557
- /* 42 */
7549
+ /* 41 */
7558
7550
  /***/ function(module, exports) {
7559
7551
 
7560
7552
  /* (ignored) */
7561
7553
 
7562
7554
  /***/ },
7563
- /* 43 */
7555
+ /* 42 */
7564
7556
  /***/ function(module, exports) {
7565
7557
 
7566
7558
 
@@ -7575,7 +7567,7 @@ return /******/ (function(modules) { // webpackBootstrap
7575
7567
  };
7576
7568
 
7577
7569
  /***/ },
7578
- /* 44 */
7570
+ /* 43 */
7579
7571
  /***/ function(module, exports) {
7580
7572
 
7581
7573
  /* WEBPACK VAR INJECTION */(function(global) {/**
@@ -7613,7 +7605,7 @@ return /******/ (function(modules) { // webpackBootstrap
7613
7605
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
7614
7606
 
7615
7607
  /***/ },
7616
- /* 45 */
7608
+ /* 44 */
7617
7609
  /***/ function(module, exports, __webpack_require__) {
7618
7610
 
7619
7611
  'use strict';
@@ -7623,12 +7615,12 @@ return /******/ (function(modules) { // webpackBootstrap
7623
7615
  */
7624
7616
 
7625
7617
  var parser = __webpack_require__(7);
7626
- var Emitter = __webpack_require__(36);
7627
- var toArray = __webpack_require__(46);
7628
- var on = __webpack_require__(47);
7629
- var bind = __webpack_require__(48);
7618
+ var Emitter = __webpack_require__(35);
7619
+ var toArray = __webpack_require__(45);
7620
+ var on = __webpack_require__(46);
7621
+ var bind = __webpack_require__(47);
7630
7622
  var debug = __webpack_require__(3)('socket.io-client:socket');
7631
- var hasBin = __webpack_require__(49);
7623
+ var hasBin = __webpack_require__(29);
7632
7624
 
7633
7625
  /**
7634
7626
  * Module exports.
@@ -8034,7 +8026,7 @@ return /******/ (function(modules) { // webpackBootstrap
8034
8026
  };
8035
8027
 
8036
8028
  /***/ },
8037
- /* 46 */
8029
+ /* 45 */
8038
8030
  /***/ function(module, exports) {
8039
8031
 
8040
8032
  module.exports = toArray
@@ -8053,7 +8045,7 @@ return /******/ (function(modules) { // webpackBootstrap
8053
8045
 
8054
8046
 
8055
8047
  /***/ },
8056
- /* 47 */
8048
+ /* 46 */
8057
8049
  /***/ function(module, exports) {
8058
8050
 
8059
8051
  "use strict";
@@ -8083,7 +8075,7 @@ return /******/ (function(modules) { // webpackBootstrap
8083
8075
  }
8084
8076
 
8085
8077
  /***/ },
8086
- /* 48 */
8078
+ /* 47 */
8087
8079
  /***/ function(module, exports) {
8088
8080
 
8089
8081
  /**
@@ -8112,82 +8104,7 @@ return /******/ (function(modules) { // webpackBootstrap
8112
8104
 
8113
8105
 
8114
8106
  /***/ },
8115
- /* 49 */
8116
- /***/ function(module, exports, __webpack_require__) {
8117
-
8118
- /* WEBPACK VAR INJECTION */(function(global) {
8119
- /*
8120
- * Module requirements.
8121
- */
8122
-
8123
- var isArray = __webpack_require__(50);
8124
-
8125
- /**
8126
- * Module exports.
8127
- */
8128
-
8129
- module.exports = hasBinary;
8130
-
8131
- /**
8132
- * Checks for binary data.
8133
- *
8134
- * Right now only Buffer and ArrayBuffer are supported..
8135
- *
8136
- * @param {Object} anything
8137
- * @api public
8138
- */
8139
-
8140
- function hasBinary(data) {
8141
-
8142
- function _hasBinary(obj) {
8143
- if (!obj) return false;
8144
-
8145
- if ( (global.Buffer && global.Buffer.isBuffer && global.Buffer.isBuffer(obj)) ||
8146
- (global.ArrayBuffer && obj instanceof ArrayBuffer) ||
8147
- (global.Blob && obj instanceof Blob) ||
8148
- (global.File && obj instanceof File)
8149
- ) {
8150
- return true;
8151
- }
8152
-
8153
- if (isArray(obj)) {
8154
- for (var i = 0; i < obj.length; i++) {
8155
- if (_hasBinary(obj[i])) {
8156
- return true;
8157
- }
8158
- }
8159
- } else if (obj && 'object' == typeof obj) {
8160
- // see: https://github.com/Automattic/has-binary/pull/4
8161
- if (obj.toJSON && 'function' == typeof obj.toJSON) {
8162
- obj = obj.toJSON();
8163
- }
8164
-
8165
- for (var key in obj) {
8166
- if (Object.prototype.hasOwnProperty.call(obj, key) && _hasBinary(obj[key])) {
8167
- return true;
8168
- }
8169
- }
8170
- }
8171
-
8172
- return false;
8173
- }
8174
-
8175
- return _hasBinary(data);
8176
- }
8177
-
8178
- /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
8179
-
8180
- /***/ },
8181
- /* 50 */
8182
- /***/ function(module, exports) {
8183
-
8184
- module.exports = Array.isArray || function (arr) {
8185
- return Object.prototype.toString.call(arr) == '[object Array]';
8186
- };
8187
-
8188
-
8189
- /***/ },
8190
- /* 51 */
8107
+ /* 48 */
8191
8108
  /***/ function(module, exports) {
8192
8109
 
8193
8110
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socket.io-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties