ember-source 2.11.1 → 2.11.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: ca9110383f1b4dec9887a5788bf91a0aeac3f77b
4
- data.tar.gz: 0e58b64003aa19c5e7e3fae4838b52a45b80f1ee
3
+ metadata.gz: 899d3c8b71efee639a84952e9065d3dc1dbabd8d
4
+ data.tar.gz: ce7015365fdf3ad81d63ca5ef239844518efbcfc
5
5
  SHA512:
6
- metadata.gz: 653e5bc31d6ce87614cb2f8a15daec5212b64a22b8f2dcd0704f62df7ceaf08e20e7b10545c150ad4faa7f970dd966c288091667da328a14e3619612f478a3ef
7
- data.tar.gz: 4c4340814012d2a318d8380319d74da4a3a785c9cdf80650b45852f4fb7dc275d1f0dd991c0f31db79ff9f21cf5fadfe9de427e5f8ff76b52433e9fa1ca2f399
6
+ metadata.gz: 1b100040ac0615820062517b56cbbd8e4836e1221d027daedf706b25e020f2246725d8635603aee3243cef58254753567d1a3a22d6cb2eb75d75f2bf9c2d9b1f
7
+ data.tar.gz: 7a6133143b3c3f3b549c570c9094b88a9c59aca37b5838ab2a750bd0f063a1943c86cb9eb3d143ae6bf4c45e7bec8361d63e7bd807d1c9fd068a81205b5da617
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.11.1
1
+ 2.11.2
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -19414,7 +19414,7 @@ enifed("ember/features", ["exports"], function (exports) {
19414
19414
  enifed("ember/version", ["exports"], function (exports) {
19415
19415
  "use strict";
19416
19416
 
19417
- exports.default = "2.11.1";
19417
+ exports.default = "2.11.2";
19418
19418
  });
19419
19419
  enifed('rsvp', ['exports'], function (exports) {
19420
19420
  'use strict';
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -12024,7 +12024,7 @@ enifed("ember/features", ["exports"], function (exports) {
12024
12024
  enifed("ember/version", ["exports"], function (exports) {
12025
12025
  "use strict";
12026
12026
 
12027
- exports.default = "2.11.1";
12027
+ exports.default = "2.11.2";
12028
12028
  });
12029
12029
  enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) {
12030
12030
  "use strict";
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -42993,7 +42993,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
42993
42993
  enifed("ember/version", ["exports"], function (exports) {
42994
42994
  "use strict";
42995
42995
 
42996
- exports.default = "2.11.1";
42996
+ exports.default = "2.11.2";
42997
42997
  });
42998
42998
  enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
42999
42999
  'use strict';
@@ -55182,7 +55182,7 @@ function eachRoute(baseRoute, matcher, callback, binding) {
55182
55182
  }
55183
55183
  }
55184
55184
 
55185
- function map(callback, addRouteCallback) {
55185
+ var map = function(callback, addRouteCallback) {
55186
55186
  var matcher = new Matcher();
55187
55187
 
55188
55188
  callback(generateMatch("", matcher, this.delegate));
@@ -55191,7 +55191,7 @@ function map(callback, addRouteCallback) {
55191
55191
  if (addRouteCallback) { addRouteCallback(this, route); }
55192
55192
  else { this.add(route); }
55193
55193
  }, this);
55194
- }
55194
+ };
55195
55195
 
55196
55196
  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded
55197
55197
  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved
@@ -55614,9 +55614,6 @@ RouteRecognizer.prototype = {
55614
55614
  if (typeof options === "object" && options !== null && options.hasOwnProperty("as")) {
55615
55615
  name = options.as;
55616
55616
  }
55617
- if (this.names.hasOwnProperty(name)) {
55618
- throw new Error("You may not add a duplicate route named `" + name + "`.");
55619
- }
55620
55617
 
55621
55618
  if (name = options && options.as) {
55622
55619
  this.names[name] = {
@@ -55792,7 +55789,7 @@ RouteRecognizer.prototype = {
55792
55789
 
55793
55790
  RouteRecognizer.prototype.map = map;
55794
55791
 
55795
- RouteRecognizer.VERSION = '0.2.8';
55792
+ RouteRecognizer.VERSION = '0.2.10';
55796
55793
 
55797
55794
  // Set to false to opt-out of encoding and decoding path segments.
55798
55795
  // See https://github.com/tildeio/route-recognizer/pull/55
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -42993,7 +42993,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
42993
42993
  enifed("ember/version", ["exports"], function (exports) {
42994
42994
  "use strict";
42995
42995
 
42996
- exports.default = "2.11.1";
42996
+ exports.default = "2.11.2";
42997
42997
  });
42998
42998
  enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
42999
42999
  'use strict';
@@ -55182,7 +55182,7 @@ function eachRoute(baseRoute, matcher, callback, binding) {
55182
55182
  }
55183
55183
  }
55184
55184
 
55185
- function map(callback, addRouteCallback) {
55185
+ var map = function(callback, addRouteCallback) {
55186
55186
  var matcher = new Matcher();
55187
55187
 
55188
55188
  callback(generateMatch("", matcher, this.delegate));
@@ -55191,7 +55191,7 @@ function map(callback, addRouteCallback) {
55191
55191
  if (addRouteCallback) { addRouteCallback(this, route); }
55192
55192
  else { this.add(route); }
55193
55193
  }, this);
55194
- }
55194
+ };
55195
55195
 
55196
55196
  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded
55197
55197
  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved
@@ -55614,9 +55614,6 @@ RouteRecognizer.prototype = {
55614
55614
  if (typeof options === "object" && options !== null && options.hasOwnProperty("as")) {
55615
55615
  name = options.as;
55616
55616
  }
55617
- if (this.names.hasOwnProperty(name)) {
55618
- throw new Error("You may not add a duplicate route named `" + name + "`.");
55619
- }
55620
55617
 
55621
55618
  if (name = options && options.as) {
55622
55619
  this.names[name] = {
@@ -55792,7 +55789,7 @@ RouteRecognizer.prototype = {
55792
55789
 
55793
55790
  RouteRecognizer.prototype.map = map;
55794
55791
 
55795
- RouteRecognizer.VERSION = '0.2.8';
55792
+ RouteRecognizer.VERSION = '0.2.10';
55796
55793
 
55797
55794
  // Set to false to opt-out of encoding and decoding path segments.
55798
55795
  // See https://github.com/tildeio/route-recognizer/pull/55
@@ -2161,7 +2161,7 @@ d.setDiff=u.setDiff,d.mapBy=u.mapBy,d.filter=u.filter,d.filterBy=u.filterBy,d.un
2161
2161
  var g=o.default.Handlebars=o.default.Handlebars||{},v=o.default.HTMLBars=o.default.HTMLBars||{},y=g.Utils=g.Utils||{}
2162
2162
  if(Object.defineProperty(g,"SafeString",{get:l._getSafeString}),v.template=g.template=l.template,y.escapeExpression=l.escapeExpression,u.String.htmlSafe=l.htmlSafe,u.String.isHTMLSafe=l.isHTMLSafe,v.makeBoundHelper=l.makeBoundHelper,Object.defineProperty(o.default,"TEMPLATES",{get:l.getTemplates,set:l.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=c.default,o.default.VERSION=c.default,o.libraries.registerCoreLibrary("Ember",c.default),o.default.create=o.deprecateFunc("Ember.create is deprecated in favor of Object.create",{id:"ember-metal.ember-create",until:"3.0.0"},Object.create),o.default.keys=o.deprecateFunc("Ember.keys is deprecated in favor of Object.keys",{id:"ember-metal.ember.keys",until:"3.0.0"},Object.keys),o.default.$=p.jQuery,o.default.ViewTargetActionSupport=p.ViewTargetActionSupport,o.default.ViewUtils={isSimpleClick:p.isSimpleClick,getViewElement:p.getViewElement,getViewBounds:p.getViewBounds,getViewClientRects:p.getViewClientRects,getViewBoundingClientRect:p.getViewBoundingClientRect,getRootViews:p.getRootViews,getChildViews:p.getChildViews},o.default.TextSupport=p.TextSupport,o.default.ComponentLookup=p.ComponentLookup,o.default.EventDispatcher=p.EventDispatcher,o.default.Location=h.Location,o.default.AutoLocation=h.AutoLocation,o.default.HashLocation=h.HashLocation,o.default.HistoryLocation=h.HistoryLocation,o.default.NoneLocation=h.NoneLocation,o.default.controllerFor=h.controllerFor,o.default.generateControllerFactory=h.generateControllerFactory,o.default.generateController=h.generateController,o.default.RouterDSL=h.RouterDSL,o.default.Router=h.Router,o.default.Route=h.Route,o.default.Application=f.Application,o.default.ApplicationInstance=f.ApplicationInstance,o.default.Engine=f.Engine,o.default.EngineInstance=f.EngineInstance,o.default.DefaultResolver=o.default.Resolver=f.Resolver,u.runLoadHooks("Ember.Application",f.Application),o.default.DataAdapter=m.DataAdapter,o.default.ContainerDebugAdapter=m.ContainerDebugAdapter,t.has("ember-template-compiler")&&t.default("ember-template-compiler"),t.has("ember-testing")){var b=t.default("ember-testing")
2163
2163
  o.default.Test=b.Test,o.default.Test.Adapter=b.Adapter,o.default.Test.QUnitAdapter=b.QUnitAdapter,o.default.setupForTesting=b.setupForTesting}u.runLoadHooks("Ember"),e.default=o.default,"object"==typeof module&&module.exports?module.exports=o.default:n.context.exports.Ember=n.context.exports.Em=o.default}),s("ember/version",["exports"],function(e){"use strict"
2164
- e.default="2.11.1"}),s("internal-test-helpers/apply-mixins",["exports","ember-utils"],function(e,t){"use strict"
2164
+ e.default="2.11.2"}),s("internal-test-helpers/apply-mixins",["exports","ember-utils"],function(e,t){"use strict"
2165
2165
  function n(e){return Array.isArray(e.cases)&&"function"==typeof e.generate}function r(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o]
2166
2166
  return i.forEach(function(r){var i=void 0
2167
2167
  n(r)?function(){var e=r
@@ -3323,18 +3323,17 @@ t=t.substr(r)
3323
3323
  var o={path:t,handler:n}
3324
3324
  e.push(o)}function o(e,t,n,r){var s=t.routes
3325
3325
  for(var a in s)if(s.hasOwnProperty(a)){var u=e.slice()
3326
- i(u,a,s[a]),t.children[a]?o(u,t.children[a],n,r):n.call(r,u)}}function s(e,t){var i=new n
3327
- e(r("",i,this.delegate)),o([],i,function(e){t?t(this,e):this.add(e)},this)}function a(e){return e.split("/").map(u).join("/")}function u(e){return decodeURIComponent(e).replace(S,encodeURIComponent)}function l(e){return encodeURIComponent(e).replace(x,decodeURIComponent)}function c(e){return"[object Array]"===Object.prototype.toString.call(e)}function p(e,t){if("object"!=typeof e||null===e)throw new Error("You must pass an object as the second argument to `generate`.")
3326
+ i(u,a,s[a]),t.children[a]?o(u,t.children[a],n,r):n.call(r,u)}}function s(e){return e.split("/").map(a).join("/")}function a(e){return decodeURIComponent(e).replace(S,encodeURIComponent)}function u(e){return encodeURIComponent(e).replace(x,decodeURIComponent)}function l(e){return"[object Array]"===Object.prototype.toString.call(e)}function c(e,t){if("object"!=typeof e||null===e)throw new Error("You must pass an object as the second argument to `generate`.")
3328
3327
  if(!e.hasOwnProperty(t))throw new Error("You must provide param `"+t+"` to `generate`.")
3329
3328
  if(0===(""+e[t]).length)throw new Error("You must provide a param `"+t+"`.")
3330
- return e[t]}function h(e){this.string=u(e)}function f(e){this.name=u(e)}function m(e){this.name=e}function d(){}function g(e,t,n,r){"/"===e.charAt(0)&&(e=e.substr(1))
3331
- for(var i=e.split("/"),o=new Array(i.length),s=0;s<i.length;s++){var a,u=i[s];(a=u.match(/^:([^\/]+)$/))?(o[s]=new f(a[1]),t.push(a[1]),r.push(!0),n.dynamics++):(a=u.match(/^\*([^\/]+)$/))?(o[s]=new m(a[1]),t.push(a[1]),r.push(!1),n.stars++):""===u?o[s]=new d:(o[s]=new h(u),n.statics++)}return o}function v(e,t){return e.validChars===t.validChars&&e.invalidChars===t.invalidChars}function y(e){this.charSpec=e,this.nextStates=[],this.regex=void 0,this.handlers=void 0,this.specificity=void 0}function b(e){return e.sort(function(e,t){if(e.types.stars!==t.types.stars)return e.types.stars-t.types.stars
3329
+ return e[t]}function p(e){this.string=a(e)}function h(e){this.name=a(e)}function f(e){this.name=e}function m(){}function d(e,t,n,r){"/"===e.charAt(0)&&(e=e.substr(1))
3330
+ for(var i=e.split("/"),o=new Array(i.length),s=0;s<i.length;s++){var a,u=i[s];(a=u.match(/^:([^\/]+)$/))?(o[s]=new h(a[1]),t.push(a[1]),r.push(!0),n.dynamics++):(a=u.match(/^\*([^\/]+)$/))?(o[s]=new f(a[1]),t.push(a[1]),r.push(!1),n.stars++):""===u?o[s]=new m:(o[s]=new p(u),n.statics++)}return o}function g(e,t){return e.validChars===t.validChars&&e.invalidChars===t.invalidChars}function v(e){this.charSpec=e,this.nextStates=[],this.regex=void 0,this.handlers=void 0,this.specificity=void 0}function y(e){return e.sort(function(e,t){if(e.types.stars!==t.types.stars)return e.types.stars-t.types.stars
3332
3331
  if(e.types.stars){if(e.types.statics!==t.types.statics)return t.types.statics-e.types.statics
3333
- if(e.types.dynamics!==t.types.dynamics)return t.types.dynamics-e.types.dynamics}return e.types.dynamics!==t.types.dynamics?e.types.dynamics-t.types.dynamics:e.types.statics!==t.types.statics?t.types.statics-e.types.statics:0})}function _(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r]
3334
- n=n.concat(o.match(t))}return n}function w(e){this.queryParams=e||{}}function E(e,t,n){var r=e.handlers,i=e.regex,o=t.match(i),s=1,a=new w(n)
3332
+ if(e.types.dynamics!==t.types.dynamics)return t.types.dynamics-e.types.dynamics}return e.types.dynamics!==t.types.dynamics?e.types.dynamics-t.types.dynamics:e.types.statics!==t.types.statics?t.types.statics-e.types.statics:0})}function b(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r]
3333
+ n=n.concat(o.match(t))}return n}function _(e){this.queryParams=e||{}}function w(e,t,n){var r=e.handlers,i=e.regex,o=t.match(i),s=1,a=new _(n)
3335
3334
  a.length=r.length
3336
3335
  for(var u=0;u<r.length;u++){for(var l,c,p,h=r[u],f=h.names,m=h.shouldDecodes,d={},g=0;g<f.length;g++)l=f[g],c=m[g],p=o[s++],T.ENCODE_AND_DECODE_PATH_SEGMENTS&&c?d[l]=decodeURIComponent(p):d[l]=p
3337
- a[u]={handler:h.handler,params:d,isDynamic:!!f.length}}return a}function O(e){e=e.replace(/\+/gm,"%20")
3336
+ a[u]={handler:h.handler,params:d,isDynamic:!!f.length}}return a}function E(e){e=e.replace(/\+/gm,"%20")
3338
3337
  var t
3339
3338
  try{t=decodeURIComponent(e)}catch(e){t=""}return t}t.prototype={to:function(e,t){var n=this.delegate
3340
3339
  if(n&&n.willAddRoute&&(e=n.willAddRoute(this.matcher.target,e)),this.matcher.add(this.path,e),t){if(0===t.length)throw new Error("You must have an argument in the function passed to `to`")
@@ -3342,43 +3341,44 @@ this.matcher.addChild(this.path,e,t,this.delegate)}return this}},n.prototype={ad
3342
3341
  this.children[e]=s
3343
3342
  var a=r(e,s,o)
3344
3343
  o&&o.contextEntered&&o.contextEntered(t,a),i(a)}}
3345
- var S=/%|\//g,x=/%(?:24|26|2B|2C|3B|3D|3A|40)/g,C=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],A=new RegExp("(\\"+C.join("|\\")+")","g")
3346
- h.prototype={eachChar:function(e){for(var t,n=this.string,r=0;r<n.length;r++)t=n.charAt(r),e=e.put({invalidChars:void 0,repeat:!1,validChars:t})
3347
- return e},regex:function(){return this.string.replace(A,"\\$1")},generate:function(){return this.string}},f.prototype={eachChar:function(e){return e.put({invalidChars:"/",repeat:!0,validChars:void 0})},regex:function(){return"([^/]+)"},generate:function(e){var t=p(e,this.name)
3348
- return T.ENCODE_AND_DECODE_PATH_SEGMENTS?l(t):t}},m.prototype={eachChar:function(e){return e.put({invalidChars:"",repeat:!0,validChars:void 0})},regex:function(){return"(.+)"},generate:function(e){return p(e,this.name)}},d.prototype={eachChar:function(e){return e},regex:function(){return""},generate:function(){return""}},y.prototype={get:function(e){for(var t=this.nextStates,n=0;n<t.length;n++){var r=t[n]
3349
- if(v(r.charSpec,e))return r}},put:function(e){var t
3350
- return(t=this.get(e))?t:(t=new y(e),this.nextStates.push(t),e.repeat&&t.nextStates.push(t),t)},match:function(e){for(var t,n,r,i=this.nextStates,o=[],s=0;s<i.length;s++)t=i[s],n=t.charSpec,"undefined"!=typeof(r=n.validChars)?r.indexOf(e)!==-1&&o.push(t):"undefined"!=typeof(r=n.invalidChars)&&r.indexOf(e)===-1&&o.push(t)
3344
+ var O=function(e,t){var i=new n
3345
+ e(r("",i,this.delegate)),o([],i,function(e){t?t(this,e):this.add(e)},this)},S=/%|\//g,x=/%(?:24|26|2B|2C|3B|3D|3A|40)/g,C=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],A=new RegExp("(\\"+C.join("|\\")+")","g")
3346
+ p.prototype={eachChar:function(e){for(var t,n=this.string,r=0;r<n.length;r++)t=n.charAt(r),e=e.put({invalidChars:void 0,repeat:!1,validChars:t})
3347
+ return e},regex:function(){return this.string.replace(A,"\\$1")},generate:function(){return this.string}},h.prototype={eachChar:function(e){return e.put({invalidChars:"/",repeat:!0,validChars:void 0})},regex:function(){return"([^/]+)"},generate:function(e){var t=c(e,this.name)
3348
+ return T.ENCODE_AND_DECODE_PATH_SEGMENTS?u(t):t}},f.prototype={eachChar:function(e){return e.put({invalidChars:"",repeat:!0,validChars:void 0})},regex:function(){return"(.+)"},generate:function(e){return c(e,this.name)}},m.prototype={eachChar:function(e){return e},regex:function(){return""},generate:function(){return""}},v.prototype={get:function(e){for(var t=this.nextStates,n=0;n<t.length;n++){var r=t[n]
3349
+ if(g(r.charSpec,e))return r}},put:function(e){var t
3350
+ return(t=this.get(e))?t:(t=new v(e),this.nextStates.push(t),e.repeat&&t.nextStates.push(t),t)},match:function(e){for(var t,n,r,i=this.nextStates,o=[],s=0;s<i.length;s++)t=i[s],n=t.charSpec,"undefined"!=typeof(r=n.validChars)?r.indexOf(e)!==-1&&o.push(t):"undefined"!=typeof(r=n.invalidChars)&&r.indexOf(e)===-1&&o.push(t)
3351
3351
  return o}}
3352
3352
  var k=Object.create||function(e){function t(){}return t.prototype=e,new t}
3353
- w.prototype=k({splice:Array.prototype.splice,slice:Array.prototype.slice,push:Array.prototype.push,length:0,queryParams:null})
3354
- var T=function(){this.rootState=new y,this.names={}}
3355
- T.prototype={add:function(e,t){for(var n,r=this.rootState,i="^",o={statics:0,dynamics:0,stars:0},s=new Array(e.length),a=[],u=!0,l=0;l<e.length;l++){var c=e[l],p=[],h=[],f=g(c.path,p,o,h)
3353
+ _.prototype=k({splice:Array.prototype.splice,slice:Array.prototype.slice,push:Array.prototype.push,length:0,queryParams:null})
3354
+ var T=function(){this.rootState=new v,this.names={}}
3355
+ T.prototype={add:function(e,t){for(var n,r=this.rootState,i="^",o={statics:0,dynamics:0,stars:0},s=new Array(e.length),a=[],u=!0,l=0;l<e.length;l++){var c=e[l],p=[],h=[],f=d(c.path,p,o,h)
3356
3356
  a=a.concat(f)
3357
- for(var m=0;m<f.length;m++){var v=f[m]
3358
- v instanceof d||(u=!1,r=r.put({invalidChars:void 0,repeat:!1,validChars:"/"}),i+="/",r=v.eachChar(r),i+=v.regex())}var y={handler:c.handler,names:p,shouldDecodes:h}
3359
- s[l]=y}if(u&&(r=r.put({invalidChars:void 0,repeat:!1,validChars:"/"}),i+="/"),r.handlers=s,r.regex=new RegExp(i+"$"),r.types=o,"object"==typeof t&&null!==t&&t.hasOwnProperty("as")&&(n=t.as),this.names.hasOwnProperty(n))throw new Error("You may not add a duplicate route named `"+n+"`.");(n=t&&t.as)&&(this.names[n]={segments:a,handlers:s})},handlersFor:function(e){var t=this.names[e]
3357
+ for(var g=0;g<f.length;g++){var v=f[g]
3358
+ v instanceof m||(u=!1,r=r.put({invalidChars:void 0,repeat:!1,validChars:"/"}),i+="/",r=v.eachChar(r),i+=v.regex())}var y={handler:c.handler,names:p,shouldDecodes:h}
3359
+ s[l]=y}u&&(r=r.put({invalidChars:void 0,repeat:!1,validChars:"/"}),i+="/"),r.handlers=s,r.regex=new RegExp(i+"$"),r.types=o,"object"==typeof t&&null!==t&&t.hasOwnProperty("as")&&(n=t.as),(n=t&&t.as)&&(this.names[n]={segments:a,handlers:s})},handlersFor:function(e){var t=this.names[e]
3360
3360
  if(!t)throw new Error("There is no route named "+e)
3361
3361
  for(var n=new Array(t.handlers.length),r=0;r<t.handlers.length;r++)n[r]=t.handlers[r]
3362
3362
  return n},hasRoute:function(e){return!!this.names[e]},generate:function(e,t){var n=this.names[e],r=""
3363
3363
  if(!n)throw new Error("There is no route named "+e)
3364
3364
  for(var i=n.segments,o=0;o<i.length;o++){var s=i[o]
3365
- s instanceof d||(r+="/",r+=s.generate(t))}return"/"!==r.charAt(0)&&(r="/"+r),t&&t.queryParams&&(r+=this.generateQueryString(t.queryParams,n.handlers)),r},generateQueryString:function(e){var t=[],n=[]
3365
+ s instanceof m||(r+="/",r+=s.generate(t))}return"/"!==r.charAt(0)&&(r="/"+r),t&&t.queryParams&&(r+=this.generateQueryString(t.queryParams,n.handlers)),r},generateQueryString:function(e){var t=[],n=[]
3366
3366
  for(var r in e)e.hasOwnProperty(r)&&n.push(r)
3367
3367
  n.sort()
3368
3368
  for(var i=0;i<n.length;i++){r=n[i]
3369
3369
  var o=e[r]
3370
3370
  if(null!=o){var s=encodeURIComponent(r)
3371
- if(c(o))for(var a=0;a<o.length;a++){var u=r+"[]="+encodeURIComponent(o[a])
3372
- t.push(u)}else s+="="+encodeURIComponent(o),t.push(s)}}return 0===t.length?"":"?"+t.join("&")},parseQueryString:function(e){for(var t=e.split("&"),n={},r=0;r<t.length;r++){var i,o=t[r].split("="),s=O(o[0]),a=s.length,u=!1
3373
- 1===o.length?i="true":(a>2&&"[]"===s.slice(a-2)&&(u=!0,s=s.slice(0,a-2),n[s]||(n[s]=[])),i=o[1]?O(o[1]):""),u?n[s].push(i):n[s]=i}return n},recognize:function(e){var t,n,r,i,o=[this.rootState],s={},u=!1
3371
+ if(l(o))for(var a=0;a<o.length;a++){var u=r+"[]="+encodeURIComponent(o[a])
3372
+ t.push(u)}else s+="="+encodeURIComponent(o),t.push(s)}}return 0===t.length?"":"?"+t.join("&")},parseQueryString:function(e){for(var t=e.split("&"),n={},r=0;r<t.length;r++){var i,o=t[r].split("="),s=E(o[0]),a=s.length,u=!1
3373
+ 1===o.length?i="true":(a>2&&"[]"===s.slice(a-2)&&(u=!0,s=s.slice(0,a-2),n[s]||(n[s]=[])),i=o[1]?E(o[1]):""),u?n[s].push(i):n[s]=i}return n},recognize:function(e){var t,n,r,i,o=[this.rootState],a={},u=!1
3374
3374
  if(i=e.indexOf("#"),i!==-1&&(e=e.substr(0,i)),r=e.indexOf("?"),r!==-1){var l=e.substr(r+1,e.length)
3375
- e=e.substr(0,r),s=this.parseQueryString(l)}"/"!==e.charAt(0)&&(e="/"+e)
3375
+ e=e.substr(0,r),a=this.parseQueryString(l)}"/"!==e.charAt(0)&&(e="/"+e)
3376
3376
  var c=e
3377
- for(T.ENCODE_AND_DECODE_PATH_SEGMENTS?e=a(e):(e=decodeURI(e),c=decodeURI(c)),t=e.length,t>1&&"/"===e.charAt(t-1)&&(e=e.substr(0,t-1),c=c.substr(0,c.length-1),u=!0),n=0;n<e.length&&(o=_(o,e.charAt(n)),o.length);n++);var p=[]
3377
+ for(T.ENCODE_AND_DECODE_PATH_SEGMENTS?e=s(e):(e=decodeURI(e),c=decodeURI(c)),t=e.length,t>1&&"/"===e.charAt(t-1)&&(e=e.substr(0,t-1),c=c.substr(0,c.length-1),u=!0),n=0;n<e.length&&(o=b(o,e.charAt(n)),o.length);n++);var p=[]
3378
3378
  for(n=0;n<o.length;n++)o[n].handlers&&p.push(o[n])
3379
- o=b(p)
3379
+ o=y(p)
3380
3380
  var h=p[0]
3381
- if(h&&h.handlers)return u&&"(.+)$"===h.regex.source.slice(-5)&&(c+="/"),E(h,c,s)}},T.prototype.map=s,T.VERSION="0.2.8",T.ENCODE_AND_DECODE_PATH_SEGMENTS=!0,T.Normalizer={normalizeSegment:u,normalizePath:a,encodePathSegment:l},e.default=T,Object.defineProperty(e,"__esModule",{value:!0})}),s("router",["exports","route-recognizer","rsvp"],function(e,t,n){"use strict"
3381
+ if(h&&h.handlers)return u&&"(.+)$"===h.regex.source.slice(-5)&&(c+="/"),w(h,c,a)}},T.prototype.map=O,T.VERSION="0.2.10",T.ENCODE_AND_DECODE_PATH_SEGMENTS=!0,T.Normalizer={normalizeSegment:a,normalizePath:s,encodePathSegment:u},e.default=T,Object.defineProperty(e,"__esModule",{value:!0})}),s("router",["exports","route-recognizer","rsvp"],function(e,t,n){"use strict"
3382
3382
  function r(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&"function"==typeof e.then}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function o(e){var t,n,r=e&&e.length
3383
3383
  return r&&r>0&&e[r-1]&&e[r-1].hasOwnProperty("queryParams")?(n=e[r-1].queryParams,t=B.call(e,0,r-1),[t,n]):[e,null]}function s(e){for(var t in e)if("number"==typeof e[t])e[t]=""+e[t]
3384
3384
  else if(z(e[t]))for(var n=0,r=e[t].length;n<r;n++)e[t][n]=""+e[t][n]}function a(e,t,n){e.log&&(3===arguments.length?e.log("Transition #"+t+": "+n):(n=t,e.log(n)))}function u(e,t){var n=arguments
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.1
9
+ * @version 2.11.2
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -39774,7 +39774,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
39774
39774
  enifed("ember/version", ["exports"], function (exports) {
39775
39775
  "use strict";
39776
39776
 
39777
- exports.default = "2.11.1";
39777
+ exports.default = "2.11.2";
39778
39778
  });
39779
39779
  enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
39780
39780
  'use strict';
@@ -51951,7 +51951,7 @@ function eachRoute(baseRoute, matcher, callback, binding) {
51951
51951
  }
51952
51952
  }
51953
51953
 
51954
- function map(callback, addRouteCallback) {
51954
+ var map = function(callback, addRouteCallback) {
51955
51955
  var matcher = new Matcher();
51956
51956
 
51957
51957
  callback(generateMatch("", matcher, this.delegate));
@@ -51960,7 +51960,7 @@ function map(callback, addRouteCallback) {
51960
51960
  if (addRouteCallback) { addRouteCallback(this, route); }
51961
51961
  else { this.add(route); }
51962
51962
  }, this);
51963
- }
51963
+ };
51964
51964
 
51965
51965
  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded
51966
51966
  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved
@@ -52383,9 +52383,6 @@ RouteRecognizer.prototype = {
52383
52383
  if (typeof options === "object" && options !== null && options.hasOwnProperty("as")) {
52384
52384
  name = options.as;
52385
52385
  }
52386
- if (this.names.hasOwnProperty(name)) {
52387
- throw new Error("You may not add a duplicate route named `" + name + "`.");
52388
- }
52389
52386
 
52390
52387
  if (name = options && options.as) {
52391
52388
  this.names[name] = {
@@ -52561,7 +52558,7 @@ RouteRecognizer.prototype = {
52561
52558
 
52562
52559
  RouteRecognizer.prototype.map = map;
52563
52560
 
52564
- RouteRecognizer.VERSION = '0.2.8';
52561
+ RouteRecognizer.VERSION = '0.2.10';
52565
52562
 
52566
52563
  // Set to false to opt-out of encoding and decoding path segments.
52567
52564
  // See https://github.com/tildeio/route-recognizer/pull/55
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1
4
+ version: 2.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-16 00:00:00.000000000 Z
11
+ date: 2017-02-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ember.js source code wrapper for use with Ruby libs.
14
14
  email: