scrivito_editors 1.7.0.rc1 → 1.7.0.rc2

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: 6dd001bed52abd6a8f110856adf3e7bbd414f38f
4
- data.tar.gz: 1d8c5162675e9b7531da5eadafa35cc4b24d46ea
3
+ metadata.gz: 29102a71ebb5425a62ec913b28051346b5a88e36
4
+ data.tar.gz: 08e4907f464f5df50963a1b92b1a368d57fff296
5
5
  SHA512:
6
- metadata.gz: 0503dbc1f3ee22a901f6e0beca62acc7ddb58f839cb4e38094909bff8cdfedeaa17932b472c3bc4b5f552396ca9051f7e696b8a69972f8cc72b5454fd3689621
7
- data.tar.gz: b221fb0442104a5e0f3c9eea5b37773f18a33dc91a39fd448e2ff333e7688315668b74c4bd2e7ae3f1fb62d551017b0aab99b8171e5a1226f198bd4ae82bbbe7
6
+ metadata.gz: e9e57219500fa44659052aef9b9db9e59f602bd4ff3ee44f6726c6cb06f27f2c33ded8b7ccf11c0f6f6c483dc7c4a185c80da784621e168cbf2ba8f7b9ece291
7
+ data.tar.gz: 4dd6a721031c32e78b9e1b60243eade716e288dfb81d24d9139a007b16ed4734ddf51e21a7993066ac5e8dde3ae08cf3f986110242454131f87bfc4c0da89003
@@ -2,7 +2,7 @@
2
2
  var activate, collectIds, contentBrowserButtonTemplate, getCmsField, onContentBrowserOpen, remove, render, renderItem, save;
3
3
 
4
4
  renderItem = function(objId) {
5
- return $("<li data-id=\"" + objId + "\">\n <span class=\"list-content\"></span>\n <div class=\"actions\">\n <a href=\"#\" class=\"editing-button editing-red delete\">\n <i class=\"editing-icon editing-icon-trash\" />\n </a>\n </div>\n</li>");
5
+ return $("<li data-scrivito-editors-obj-id=\"" + objId + "\">\n <span class=\"list-content\"></span>\n <div class=\"actions\">\n <a href=\"#\" class=\"editing-button editing-red delete\">\n <i class=\"editing-icon editing-icon-trash\" />\n </a>\n </div>\n</li>");
6
6
  };
7
7
 
8
8
  contentBrowserButtonTemplate = function() {
@@ -49,13 +49,13 @@
49
49
 
50
50
  collectIds = function(cmsField) {
51
51
  var item, items, value;
52
- items = $(cmsField).find('[data-id]');
52
+ items = $(cmsField).find('[data-scrivito-editors-obj-id]');
53
53
  return value = (function() {
54
54
  var i, len, results;
55
55
  results = [];
56
56
  for (i = 0, len = items.length; i < len; i++) {
57
57
  item = items[i];
58
- results.push($(item).data('id'));
58
+ results.push($(item).attr('data-scrivito-editors-obj-id'));
59
59
  }
60
60
  return results;
61
61
  })();
@@ -11,7 +11,7 @@ module ScrivitoEditors
11
11
 
12
12
  class << self
13
13
  def imgly_assets
14
- imgly_assets_paths.inject({}) do |asset_map, file|
14
+ imgly_assets_paths.sort.inject({}) do |asset_map, file|
15
15
  asset_map[file] = yield(file)
16
16
  asset_map
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_editors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.rc1
4
+ version: 1.7.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-ui-rails
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: 1.7.0.rc1
53
+ version: 1.7.0.rc2
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - '='
59
59
  - !ruby/object:Gem::Version
60
- version: 1.7.0.rc1
60
+ version: 1.7.0.rc2
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: scrivito_sdk
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - '='
66
66
  - !ruby/object:Gem::Version
67
- version: 1.7.0.rc1
67
+ version: 1.7.0.rc2
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - '='
73
73
  - !ruby/object:Gem::Version
74
- version: 1.7.0.rc1
74
+ version: 1.7.0.rc2
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: coffee-rails
77
77
  requirement: !ruby/object:Gem::Requirement