scrivito_sdk 0.65.0 → 0.65.1

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: c564de4cd7cdea73841fd8c28038465bb12b42b4
4
- data.tar.gz: 13298eda818723b76e6e8167a328715be15306e2
3
+ metadata.gz: 8ffdcb47b5dcc674f856d999ea1167babc979aef
4
+ data.tar.gz: 1a3f4d1eb9ab536686bf5920eb0934806fb00d54
5
5
  SHA512:
6
- metadata.gz: cdbbf9d70d2e6c383b68377d117242590804af31e154e8a54c6d4c13b0ff39b3491bb95579808ed88692251b61d20f97920554dc3aebdf0a347a857e14a81901
7
- data.tar.gz: b4bce99414b002147acbff8217d65e09af9d8959902aa8fd2e62ca2daa1817dbfa6ff8d238605c81ecaa383810d337cf6998fcc39af79d42201170f46e97d6dc
6
+ metadata.gz: d5f93ea8348af2bb1e42f91c542686173c0fe34da8fd245149a153a485525b1050117ae3b73f225ded6d8a335b7dc9075759424d828670de26d70a68c4501968
7
+ data.tar.gz: eda1dd774f3040732a063a2a0804fb2cd3bd6a5464e7f8e55396cea7b92dce18b0b1092eb2e9f768bc627e768ffa018d4aa8c3fb9c697b86a970f742b5d11dd0
data/config/ca-bundle.crt CHANGED
@@ -1,7 +1,7 @@
1
1
  ##
2
2
  ## Bundle of CA Root Certificates
3
3
  ##
4
- ## Certificate data from Mozilla as of: Tue May 26 13:25:00 2015
4
+ ## Certificate data from Mozilla as of: Mon Jun 15 15:48:44 2015
5
5
  ##
6
6
  ## This is a bundle of X.509 certificates of public Certificate Authorities
7
7
  ## (CA). These were automatically extracted from Mozilla's root certificates
@@ -15796,7 +15796,7 @@ if (typeof module !== 'undefined' && module.exports) {
15796
15796
  }
15797
15797
 
15798
15798
  ;
15799
- // Underscore.js 1.8.2
15799
+ // Underscore.js 1.8.3
15800
15800
  // http://underscorejs.org
15801
15801
  // (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
15802
15802
  // Underscore may be freely distributed under the MIT license.
@@ -15853,7 +15853,7 @@ if (typeof module !== 'undefined' && module.exports) {
15853
15853
  }
15854
15854
 
15855
15855
  // Current version.
15856
- _.VERSION = '1.8.2';
15856
+ _.VERSION = '1.8.3';
15857
15857
 
15858
15858
  // Internal function that returns an efficient (for current engines) version
15859
15859
  // of the passed-in callback, to be repeatedly applied in other Underscore
@@ -15920,12 +15920,20 @@ if (typeof module !== 'undefined' && module.exports) {
15920
15920
  return result;
15921
15921
  };
15922
15922
 
15923
+ var property = function(key) {
15924
+ return function(obj) {
15925
+ return obj == null ? void 0 : obj[key];
15926
+ };
15927
+ };
15928
+
15923
15929
  // Helper for collection methods to determine whether a collection
15924
15930
  // should be iterated as an array or as an object
15925
15931
  // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength
15932
+ // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094
15926
15933
  var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;
15934
+ var getLength = property('length');
15927
15935
  var isArrayLike = function(collection) {
15928
- var length = collection && collection.length;
15936
+ var length = getLength(collection);
15929
15937
  return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;
15930
15938
  };
15931
15939
 
@@ -16050,11 +16058,12 @@ if (typeof module !== 'undefined' && module.exports) {
16050
16058
  return false;
16051
16059
  };
16052
16060
 
16053
- // Determine if the array or object contains a given value (using `===`).
16061
+ // Determine if the array or object contains a given item (using `===`).
16054
16062
  // Aliased as `includes` and `include`.
16055
- _.contains = _.includes = _.include = function(obj, target, fromIndex) {
16063
+ _.contains = _.includes = _.include = function(obj, item, fromIndex, guard) {
16056
16064
  if (!isArrayLike(obj)) obj = _.values(obj);
16057
- return _.indexOf(obj, target, typeof fromIndex == 'number' && fromIndex) >= 0;
16065
+ if (typeof fromIndex != 'number' || guard) fromIndex = 0;
16066
+ return _.indexOf(obj, item, fromIndex) >= 0;
16058
16067
  };
16059
16068
 
16060
16069
  // Invoke a method (with arguments) on every item in a collection.
@@ -16278,7 +16287,7 @@ if (typeof module !== 'undefined' && module.exports) {
16278
16287
  // Internal implementation of a recursive `flatten` function.
16279
16288
  var flatten = function(input, shallow, strict, startIndex) {
16280
16289
  var output = [], idx = 0;
16281
- for (var i = startIndex || 0, length = input && input.length; i < length; i++) {
16290
+ for (var i = startIndex || 0, length = getLength(input); i < length; i++) {
16282
16291
  var value = input[i];
16283
16292
  if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) {
16284
16293
  //flatten current level of array or arguments object
@@ -16309,7 +16318,6 @@ if (typeof module !== 'undefined' && module.exports) {
16309
16318
  // been sorted, you have the option of using a faster algorithm.
16310
16319
  // Aliased as `unique`.
16311
16320
  _.uniq = _.unique = function(array, isSorted, iteratee, context) {
16312
- if (array == null) return [];
16313
16321
  if (!_.isBoolean(isSorted)) {
16314
16322
  context = iteratee;
16315
16323
  iteratee = isSorted;
@@ -16318,7 +16326,7 @@ if (typeof module !== 'undefined' && module.exports) {
16318
16326
  if (iteratee != null) iteratee = cb(iteratee, context);
16319
16327
  var result = [];
16320
16328
  var seen = [];
16321
- for (var i = 0, length = array.length; i < length; i++) {
16329
+ for (var i = 0, length = getLength(array); i < length; i++) {
16322
16330
  var value = array[i],
16323
16331
  computed = iteratee ? iteratee(value, i, array) : value;
16324
16332
  if (isSorted) {
@@ -16345,10 +16353,9 @@ if (typeof module !== 'undefined' && module.exports) {
16345
16353
  // Produce an array that contains every item shared between all the
16346
16354
  // passed-in arrays.
16347
16355
  _.intersection = function(array) {
16348
- if (array == null) return [];
16349
16356
  var result = [];
16350
16357
  var argsLength = arguments.length;
16351
- for (var i = 0, length = array.length; i < length; i++) {
16358
+ for (var i = 0, length = getLength(array); i < length; i++) {
16352
16359
  var item = array[i];
16353
16360
  if (_.contains(result, item)) continue;
16354
16361
  for (var j = 1; j < argsLength; j++) {
@@ -16377,7 +16384,7 @@ if (typeof module !== 'undefined' && module.exports) {
16377
16384
  // Complement of _.zip. Unzip accepts an array of arrays and groups
16378
16385
  // each array's elements on shared indices
16379
16386
  _.unzip = function(array) {
16380
- var length = array && _.max(array, 'length').length || 0;
16387
+ var length = array && _.max(array, getLength).length || 0;
16381
16388
  var result = Array(length);
16382
16389
 
16383
16390
  for (var index = 0; index < length; index++) {
@@ -16391,7 +16398,7 @@ if (typeof module !== 'undefined' && module.exports) {
16391
16398
  // the corresponding values.
16392
16399
  _.object = function(list, values) {
16393
16400
  var result = {};
16394
- for (var i = 0, length = list && list.length; i < length; i++) {
16401
+ for (var i = 0, length = getLength(list); i < length; i++) {
16395
16402
  if (values) {
16396
16403
  result[list[i]] = values[i];
16397
16404
  } else {
@@ -16401,42 +16408,11 @@ if (typeof module !== 'undefined' && module.exports) {
16401
16408
  return result;
16402
16409
  };
16403
16410
 
16404
- // Return the position of the first occurrence of an item in an array,
16405
- // or -1 if the item is not included in the array.
16406
- // If the array is large and already in sort order, pass `true`
16407
- // for **isSorted** to use binary search.
16408
- _.indexOf = function(array, item, isSorted) {
16409
- var i = 0, length = array && array.length;
16410
- if (typeof isSorted == 'number') {
16411
- i = isSorted < 0 ? Math.max(0, length + isSorted) : isSorted;
16412
- } else if (isSorted && length) {
16413
- i = _.sortedIndex(array, item);
16414
- return array[i] === item ? i : -1;
16415
- }
16416
- if (item !== item) {
16417
- return _.findIndex(slice.call(array, i), _.isNaN);
16418
- }
16419
- for (; i < length; i++) if (array[i] === item) return i;
16420
- return -1;
16421
- };
16422
-
16423
- _.lastIndexOf = function(array, item, from) {
16424
- var idx = array ? array.length : 0;
16425
- if (typeof from == 'number') {
16426
- idx = from < 0 ? idx + from + 1 : Math.min(idx, from + 1);
16427
- }
16428
- if (item !== item) {
16429
- return _.findLastIndex(slice.call(array, 0, idx), _.isNaN);
16430
- }
16431
- while (--idx >= 0) if (array[idx] === item) return idx;
16432
- return -1;
16433
- };
16434
-
16435
16411
  // Generator function to create the findIndex and findLastIndex functions
16436
- function createIndexFinder(dir) {
16412
+ function createPredicateIndexFinder(dir) {
16437
16413
  return function(array, predicate, context) {
16438
16414
  predicate = cb(predicate, context);
16439
- var length = array != null && array.length;
16415
+ var length = getLength(array);
16440
16416
  var index = dir > 0 ? 0 : length - 1;
16441
16417
  for (; index >= 0 && index < length; index += dir) {
16442
16418
  if (predicate(array[index], index, array)) return index;
@@ -16446,16 +16422,15 @@ if (typeof module !== 'undefined' && module.exports) {
16446
16422
  }
16447
16423
 
16448
16424
  // Returns the first index on an array-like that passes a predicate test
16449
- _.findIndex = createIndexFinder(1);
16450
-
16451
- _.findLastIndex = createIndexFinder(-1);
16425
+ _.findIndex = createPredicateIndexFinder(1);
16426
+ _.findLastIndex = createPredicateIndexFinder(-1);
16452
16427
 
16453
16428
  // Use a comparator function to figure out the smallest index at which
16454
16429
  // an object should be inserted so as to maintain order. Uses binary search.
16455
16430
  _.sortedIndex = function(array, obj, iteratee, context) {
16456
16431
  iteratee = cb(iteratee, context, 1);
16457
16432
  var value = iteratee(obj);
16458
- var low = 0, high = array.length;
16433
+ var low = 0, high = getLength(array);
16459
16434
  while (low < high) {
16460
16435
  var mid = Math.floor((low + high) / 2);
16461
16436
  if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;
@@ -16463,11 +16438,43 @@ if (typeof module !== 'undefined' && module.exports) {
16463
16438
  return low;
16464
16439
  };
16465
16440
 
16441
+ // Generator function to create the indexOf and lastIndexOf functions
16442
+ function createIndexFinder(dir, predicateFind, sortedIndex) {
16443
+ return function(array, item, idx) {
16444
+ var i = 0, length = getLength(array);
16445
+ if (typeof idx == 'number') {
16446
+ if (dir > 0) {
16447
+ i = idx >= 0 ? idx : Math.max(idx + length, i);
16448
+ } else {
16449
+ length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;
16450
+ }
16451
+ } else if (sortedIndex && idx && length) {
16452
+ idx = sortedIndex(array, item);
16453
+ return array[idx] === item ? idx : -1;
16454
+ }
16455
+ if (item !== item) {
16456
+ idx = predicateFind(slice.call(array, i, length), _.isNaN);
16457
+ return idx >= 0 ? idx + i : -1;
16458
+ }
16459
+ for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {
16460
+ if (array[idx] === item) return idx;
16461
+ }
16462
+ return -1;
16463
+ };
16464
+ }
16465
+
16466
+ // Return the position of the first occurrence of an item in an array,
16467
+ // or -1 if the item is not included in the array.
16468
+ // If the array is large and already in sort order, pass `true`
16469
+ // for **isSorted** to use binary search.
16470
+ _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex);
16471
+ _.lastIndexOf = createIndexFinder(-1, _.findLastIndex);
16472
+
16466
16473
  // Generate an integer Array containing an arithmetic progression. A port of
16467
16474
  // the native Python `range()` function. See
16468
16475
  // [the Python documentation](http://docs.python.org/library/functions.html#range).
16469
16476
  _.range = function(start, stop, step) {
16470
- if (arguments.length <= 1) {
16477
+ if (stop == null) {
16471
16478
  stop = start || 0;
16472
16479
  start = 0;
16473
16480
  }
@@ -16846,6 +16853,15 @@ if (typeof module !== 'undefined' && module.exports) {
16846
16853
  // Fill in a given object with default properties.
16847
16854
  _.defaults = createAssigner(_.allKeys, true);
16848
16855
 
16856
+ // Creates an object that inherits from the given prototype object.
16857
+ // If additional properties are provided then they will be added to the
16858
+ // created object.
16859
+ _.create = function(prototype, props) {
16860
+ var result = baseCreate(prototype);
16861
+ if (props) _.extendOwn(result, props);
16862
+ return result;
16863
+ };
16864
+
16849
16865
  // Create a (shallow-cloned) duplicate of an object.
16850
16866
  _.clone = function(obj) {
16851
16867
  if (!_.isObject(obj)) return obj;
@@ -16923,7 +16939,7 @@ if (typeof module !== 'undefined' && module.exports) {
16923
16939
  }
16924
16940
  // Assume equality for cyclic structures. The algorithm for detecting cyclic
16925
16941
  // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
16926
-
16942
+
16927
16943
  // Initializing stack of traversed objects.
16928
16944
  // It's done here since we only need them for objects and arrays comparison.
16929
16945
  aStack = aStack || [];
@@ -17074,11 +17090,7 @@ if (typeof module !== 'undefined' && module.exports) {
17074
17090
 
17075
17091
  _.noop = function(){};
17076
17092
 
17077
- _.property = function(key) {
17078
- return function(obj) {
17079
- return obj == null ? void 0 : obj[key];
17080
- };
17081
- };
17093
+ _.property = property;
17082
17094
 
17083
17095
  // Generates a function for a given object that returns a given property.
17084
17096
  _.propertyOf = function(obj) {
@@ -17087,7 +17099,7 @@ if (typeof module !== 'undefined' && module.exports) {
17087
17099
  };
17088
17100
  };
17089
17101
 
17090
- // Returns a predicate for checking whether an object has a given set of
17102
+ // Returns a predicate for checking whether an object has a given set of
17091
17103
  // `key:value` pairs.
17092
17104
  _.matcher = _.matches = function(attrs) {
17093
17105
  attrs = _.extendOwn({}, attrs);
@@ -17314,7 +17326,7 @@ if (typeof module !== 'undefined' && module.exports) {
17314
17326
  // Provide unwrapping proxy for some methods used in engine operations
17315
17327
  // such as arithmetic and JSON stringification.
17316
17328
  _.prototype.valueOf = _.prototype.toJSON = _.prototype.value;
17317
-
17329
+
17318
17330
  _.prototype.toString = function() {
17319
17331
  return '' + this._wrapped;
17320
17332
  };
@@ -13,8 +13,12 @@ class ChildListTag < Struct.new(:tag_name, :obj, :field_name, :view)
13
13
  def options
14
14
  return {} unless user_present? || obj.path.nil?
15
15
 
16
+ allowed_classes = if classes = Obj.valid_page_classes_beneath(obj.path)
17
+ classes.map(&:to_s)
18
+ end
19
+
16
20
  options = {
17
- 'private-child-list-allowed-classes' => Obj.valid_page_classes_beneath(obj.path).to_json,
21
+ 'private-child-list-allowed-classes' => allowed_classes.to_json,
18
22
  'private-child-list-path' => obj.path,
19
23
  'private-obj-description-for-editor' => obj.description_for_editor,
20
24
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.65.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infopark AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-26 00:00:00.000000000 Z
11
+ date: 2015-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable