scrivito_sdk 0.65.0.rc1 → 0.65.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: cbe711b47fd35d4a3d8f37bb6fe49e2cecda621e
4
- data.tar.gz: 13a57d68f0bdf48a82771d5c4064a717de43799b
3
+ metadata.gz: f78dfcd1cbecfb6fb5eab416987426f1404ed0ae
4
+ data.tar.gz: f6affbfc1fd0763f3237c3a066c43c35bd47f01d
5
5
  SHA512:
6
- metadata.gz: a856779a76dcfe298899f6e9c8f3a3e9ff8ec8efb4f53e18e990afb55de06c59b6605767c98d183db7708331bb7df3be915128eb7980831b8e0c67e904127897
7
- data.tar.gz: d967c33cd4b384c8a0285203954dd780a4740457d93c5300104958ca78eaedb6fc1ebf9444ee5680435dadd92a0f9c433c2a1584a41a8458a5298438200cf815
6
+ metadata.gz: 0d007eab2f592a32ce30b40ab7518ce56506d6fa3fe117b957e2ff4c0cc7f684c64ffe9eb3db87457f88b3275543b8647d6d337fea2b0d8785708589e2427f7f
7
+ data.tar.gz: 4282daf036595aff5cd41b6aae5e4a0219efda84262dd12f347b146b6db356f384fdbba05f11da5dc80888ae7ad0b35227fe846e8d3e825750955bc9900b8cff
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 12 16:31:46 2015
4
+ ## Certificate data from Mozilla as of: Tue May 19 13:18:13 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
@@ -25417,7 +25417,7 @@ $.i18n().load({
25417
25417
  'commands.sort_items.too_less_children': 'Die Navigation kann nicht sortiert werden, weil sie weniger als zwei Elemente enthält.',
25418
25418
 
25419
25419
  'commands.choose_and_create_widget.title': 'Widget einfügen',
25420
- 'commands.choose_and_create_widget.disabled': 'Es ist nicht erlaubt in dieses Feld Widgets einzufügen',
25420
+ 'commands.choose_and_create_widget.disabled': 'Sie können hier keine Widgets einfügen.',
25421
25421
  'commands.create_widget.title': '$1 einfügen',
25422
25422
 
25423
25423
  'commands.add_content.title': 'Inhalt einfügen',
@@ -25434,7 +25434,7 @@ $.i18n().load({
25434
25434
 
25435
25435
  'commands.copy_widget_from_clipboard.content_title': 'Kopie des markierten Inhalts einfügen',
25436
25436
  'commands.copy_widget_from_clipboard.widget_title': 'Kopie des markierten Widgets einfügen',
25437
- 'commands.copy_widget_from_clipboard.paste_forbidden': 'Aufgrund ihres Typs kann das Widget hier nicht eingefügt werden. Nur Widgets der folgenden Typen können hierher verschoben oder kopiert werden: $1',
25437
+ 'commands.copy_widget_from_clipboard.paste_forbidden': 'Aufgrund seines Typs kann das Widget hier nicht eingefügt werden. Nur Widgets der folgenden Typen können hierher verschoben oder kopiert werden: $1.',
25438
25438
 
25439
25439
  'commands.delete_widget.content_title': 'Inhalt löschen',
25440
25440
  'commands.delete_widget.widget_title': 'Widget löschen',
@@ -25660,7 +25660,7 @@ $.i18n().load({
25660
25660
  'obj_sorting_dialog.title': 'Sort items',
25661
25661
 
25662
25662
  'commands.choose_and_create_widget.title': 'Insert widget',
25663
- 'commands.choose_and_create_widget.disabled': 'It is not allowed to insert widgets in this field',
25663
+ 'commands.choose_and_create_widget.disabled': 'You cannot insert any widgets here.',
25664
25664
  'commands.create_widget.title': 'Insert $1',
25665
25665
 
25666
25666
  'commands.add_content.title': 'Insert content',
@@ -25675,7 +25675,7 @@ $.i18n().load({
25675
25675
 
25676
25676
  'commands.copy_widget_from_clipboard.content_title': 'Insert copy of marked content',
25677
25677
  'commands.copy_widget_from_clipboard.widget_title': 'Insert copy of marked widget',
25678
- 'commands.copy_widget_from_clipboard.paste_forbidden': 'Due to its type, the widget cannot be moved or copied here. Only widgets of the following types can be inserted here: $1',
25678
+ 'commands.copy_widget_from_clipboard.paste_forbidden': 'Due to its type, the widget cannot be moved or copied here. Only widgets of the following types can be inserted here: $1.',
25679
25679
 
25680
25680
  'commands.delete_widget.content_title': 'Delete content',
25681
25681
  'commands.delete_widget.widget_title': 'Delete widget',
@@ -500,12 +500,16 @@ module AttributeContent
500
500
  nil
501
501
  end
502
502
 
503
+ # @api public
503
504
  #
504
- # This method determines the description that is shown in the UI
505
- # and defaults to class name. It can be overriden by a custom value.
505
+ # Short description of a CMS object or widget type for the UI. The description is displayed
506
+ # when adding new pages or widgets, for example. As a general rule, it is used whenever no
507
+ # widget or object instance is available. If there is, the +BasicObj#description_for_editor+
508
+ # and, respectively, +BasicWidget#description_for_editor+ instance methods are used instead.
506
509
  #
507
- # @api public
510
+ # This method can be overridden to customize the description displayed to the editor.
508
511
  #
512
+ # @return [String] the name of the +Class+
509
513
  def description_for_editor
510
514
  name
511
515
  end
@@ -500,16 +500,16 @@ module Scrivito
500
500
  end
501
501
 
502
502
  #
503
- # Calculates appropriate title for an +Obj+.
503
+ # Calculates an appropriate title for an +Obj+.
504
504
  #
505
505
  # @api public
506
506
  #
507
507
  # @return [String] {Scrivito::Binary#filename} if +Obj+ is +binary+ and has a +filename+.
508
508
  # @return [String] {Scrivito::BasicObj#title} if +Obj+ has a non-empty +title+.
509
- # @return [String] a placeholder +<untitled MyClass>+ otherwise.
509
+ # @return [String] falls back to +Obj.description_for_editor+.
510
510
  #
511
511
  def display_title
512
- (binary_title || title).presence || "<untitled #{obj_class_name}>"
512
+ (binary_title || title).presence || self.class.description_for_editor
513
513
  end
514
514
 
515
515
  # @api public
@@ -327,11 +327,15 @@ class BasicWidget
327
327
  update_data(update_proc)
328
328
  end
329
329
 
330
- # This method determines the description that is shown in the widget tooltips.
331
- # It can be overriden by a custom value.
332
330
  # @api public
331
+ # This method determines the description to be shown in the widget tooltips. By default,
332
+ # it uses the value of the +Widget.description_for_editor+ class method.
333
+ #
334
+ # This method can be overridden to customize the description displayed to the editor.
335
+ #
336
+ # @return [String] description for the editor
333
337
  def description_for_editor
334
- obj_class_name
338
+ self.class.description_for_editor
335
339
  end
336
340
 
337
341
  def data_from_cms
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.rc1
4
+ version: 0.65.0.rc2
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-12 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable