scrivito_sdk 1.17.0.rc2 → 1.17.0.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cms/scrivito/basic_obj.rb +18 -3
- data/config/ca-bundle.crt +1 -1
- data/lib/assets/javascripts/scrivito_with_js_sdk.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24bd5086592408534913facabf378aca4cee04e9d749b33bc9b22e2fd253849f
|
|
4
|
+
data.tar.gz: c840807dab6c5ec6c0f9f4cfa97b900a27ef739f415c06a18fb91c70609f2833
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae653310b1e55e892d45e37c1a1748a01231b5d34b8e1180cae0000ef6e2dddde3694415cdc609e065cf530f929587c5cb1e1d431d20f296a201b8a6f4286da9
|
|
7
|
+
data.tar.gz: 7ad67012b3de012bada117385977b1438d6791bb2a5750da7e27dbadff818af5d0e84da79921929277b6e5f228f57b50f4c499af86a3a4ed40616252c6363533
|
|
@@ -719,10 +719,13 @@ module Scrivito
|
|
|
719
719
|
}
|
|
720
720
|
end
|
|
721
721
|
|
|
722
|
+
# @note If the custom attribute +created_at+ is defined, this value will be returned
|
|
723
|
+
# instead of the system attribute +_created_at+. To access the system attribute
|
|
724
|
+
# regardless of a custom attribute, call {#[] <code>obj[:_created_at]</code>}.
|
|
722
725
|
# @return [nil, ActiveSupport::TimeWithZone]
|
|
723
726
|
# @api public
|
|
724
727
|
def created_at
|
|
725
|
-
|
|
728
|
+
read_custom_or_system_attribute('created_at')
|
|
726
729
|
end
|
|
727
730
|
|
|
728
731
|
# @return [ActiveSupport::TimeWithZone]
|
|
@@ -731,16 +734,22 @@ module Scrivito
|
|
|
731
734
|
read_attribute('_last_changed')
|
|
732
735
|
end
|
|
733
736
|
|
|
737
|
+
# @note If the custom attribute +first_published_at+ is defined, this value will be returned
|
|
738
|
+
# instead of the system attribute +_first_published_at+. To access the system attribute
|
|
739
|
+
# regardless of a custom attribute, call {#[] <code>obj[:_first_published_at]</code>}.
|
|
734
740
|
# @return [nil, ActiveSupport::TimeWithZone]
|
|
735
741
|
# @api public
|
|
736
742
|
def first_published_at
|
|
737
|
-
|
|
743
|
+
read_custom_or_system_attribute('first_published_at')
|
|
738
744
|
end
|
|
739
745
|
|
|
746
|
+
# @note If the custom attribute +published_at+ is defined, this value will be returned
|
|
747
|
+
# instead of the system attribute +_published_at+. To access the system attribute
|
|
748
|
+
# regardless of a custom attribute, call {#[] <code>obj[:_published_at]</code>}.
|
|
740
749
|
# @return [nil, ActiveSupport::TimeWithZone]
|
|
741
750
|
# @api public
|
|
742
751
|
def published_at
|
|
743
|
-
|
|
752
|
+
read_custom_or_system_attribute('published_at')
|
|
744
753
|
end
|
|
745
754
|
|
|
746
755
|
def new?(revision=workspace.base_revision)
|
|
@@ -1072,6 +1081,12 @@ module Scrivito
|
|
|
1072
1081
|
|
|
1073
1082
|
private
|
|
1074
1083
|
|
|
1084
|
+
def read_custom_or_system_attribute(attribute_name)
|
|
1085
|
+
return read_attribute(attribute_name) if has_custom_attribute?(attribute_name)
|
|
1086
|
+
|
|
1087
|
+
read_attribute("_#{attribute_name}")
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1075
1090
|
def children_including_deleted
|
|
1076
1091
|
workspace.objs.find_by_parent_path_including_deleted(path)
|
|
1077
1092
|
end
|
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:
|
|
4
|
+
## Certificate data from Mozilla as of: Thu Jul 9 12:40:37 2020 GMT
|
|
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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Copyright (c) 2020 Infopark Group GmbH (https://scrivito.com) */!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=744)}({0:function(t,e,n){"use strict";n.d(e,"p",(function(){return p})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return m})),n.d(e,"a",(function(){return s.ArgumentError})),n.d(e,"g",(function(){return s.InternalError})),n.d(e,"h",(function(){return s.ResourceNotFoundError})),n.d(e,"i",(function(){return s.ScrivitoError})),n.d(e,"Q",(function(){return d})),n.d(e,"G",(function(){return f})),n.d(e,"I",(function(){return i})),n.d(e,"O",(function(){return u})),n.d(e,"M",(function(){return y})),n.d(e,"F",(function(){return b})),n.d(e,"x",(function(){return w})),n.d(e,"D",(function(){return _})),n.d(e,"E",(function(){return O})),n.d(e,"o",(function(){return N})),n.d(e,"q",(function(){return L})),n.d(e,"N",(function(){return I})),n.d(e,"R",(function(){return P})),n.d(e,"y",(function(){return A})),n.d(e,"f",(function(){return R})),n.d(e,"c",(function(){return D})),n.d(e,"z",(function(){return M})),n.d(e,"m",(function(){return B})),n.d(e,"L",(function(){return F})),n.d(e,"K",(function(){return q})),n.d(e,"P",(function(){return U})),n.d(e,"H",(function(){return $})),n.d(e,"t",(function(){return Q})),n.d(e,"u",(function(){return W})),n.d(e,"B",(function(){return K})),n.d(e,"w",(function(){return G})),n.d(e,"A",(function(){return Y})),n.d(e,"C",(function(){return V})),n.d(e,"S",(function(){return J})),n.d(e,"T",(function(){return tt})),n.d(e,"v",(function(){return et})),n.d(e,"J",(function(){return rt})),n.d(e,"j",(function(){return it})),n.d(e,"b",(function(){return at})),n.d(e,"s",(function(){return st})),n.d(e,"n",(function(){return lt})),n.d(e,"r",(function(){return ct})),n.d(e,"k",(function(){return dt})),n.d(e,"l",(function(){return vt}));var r=n(2);function i(t){try{return Object(r.isFunction)(t)?function(t){if(function(t){return!!t._scrivitoPrivateSchema}(t)){return"[class "+t._scrivitoPrivateSchema.name+"]"}if(function(t){var e=t.prototype;return e&&e.isReactComponent}(t)){return'[class React.Component "'+(t.displayName||t.name)+'"]'}return a(t.toString())}(t):Object(r.isObject)(t)?function(t){var e=t._scrivitoPrivateContent;if(e&&Object(r.isFunction)(e.toPrettyPrint))return e.toPrettyPrint();if(Object(r.isElement)(t))return"[object HTMLElement "+o(t.outerHTML)+"]";return o(t)}(t):o(t)}catch(t){return""}}function o(t){var e=JSON.stringify(t);return e?a(e):e}function a(t){return t.length>100?t.slice(0,100)+"...":t}var s=n(52),u=n(58);u.struct.strict=!0,u.interface.strict=!0,u.fail=function(t){throw new TypeError(t)};var l,c=[];function f(t){l?c.push(t):setTimeout(t,0)}function d(t){f((function(){throw t}))}function p(t,e,n){var r=n.docPermalink;return function(){for(var n,i=[],o=0;o
|
|
1
|
+
/*! Copyright (c) 2020 Infopark Group GmbH (https://scrivito.com) */!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=744)}({0:function(t,e,n){"use strict";n.d(e,"p",(function(){return p})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return m})),n.d(e,"a",(function(){return s.ArgumentError})),n.d(e,"g",(function(){return s.InternalError})),n.d(e,"h",(function(){return s.ResourceNotFoundError})),n.d(e,"i",(function(){return s.ScrivitoError})),n.d(e,"Q",(function(){return d})),n.d(e,"G",(function(){return f})),n.d(e,"I",(function(){return i})),n.d(e,"O",(function(){return u})),n.d(e,"M",(function(){return y})),n.d(e,"F",(function(){return b})),n.d(e,"x",(function(){return w})),n.d(e,"D",(function(){return _})),n.d(e,"E",(function(){return O})),n.d(e,"o",(function(){return N})),n.d(e,"q",(function(){return L})),n.d(e,"N",(function(){return I})),n.d(e,"R",(function(){return P})),n.d(e,"y",(function(){return A})),n.d(e,"f",(function(){return R})),n.d(e,"c",(function(){return D})),n.d(e,"z",(function(){return M})),n.d(e,"m",(function(){return B})),n.d(e,"L",(function(){return F})),n.d(e,"K",(function(){return q})),n.d(e,"P",(function(){return U})),n.d(e,"H",(function(){return $})),n.d(e,"t",(function(){return Q})),n.d(e,"u",(function(){return W})),n.d(e,"B",(function(){return K})),n.d(e,"w",(function(){return G})),n.d(e,"A",(function(){return Y})),n.d(e,"C",(function(){return V})),n.d(e,"S",(function(){return J})),n.d(e,"T",(function(){return tt})),n.d(e,"v",(function(){return et})),n.d(e,"J",(function(){return rt})),n.d(e,"j",(function(){return it})),n.d(e,"b",(function(){return at})),n.d(e,"s",(function(){return st})),n.d(e,"n",(function(){return lt})),n.d(e,"r",(function(){return ct})),n.d(e,"k",(function(){return dt})),n.d(e,"l",(function(){return vt}));var r=n(2);function i(t){try{return Object(r.isFunction)(t)?function(t){if(function(t){return!!t._scrivitoPrivateSchema}(t)){return"[class "+t._scrivitoPrivateSchema.name+"]"}if(function(t){var e=t.prototype;return e&&e.isReactComponent}(t)){return'[class React.Component "'+(t.displayName||t.name)+'"]'}return a(t.toString())}(t):Object(r.isObject)(t)?function(t){var e=t._scrivitoPrivateContent;if(e&&Object(r.isFunction)(e.toPrettyPrint))return e.toPrettyPrint();if(Object(r.isElement)(t))return"[object HTMLElement "+o(t.outerHTML)+"]";return o(t)}(t):o(t)}catch(t){return""}}function o(t){var e=JSON.stringify(t);return e?a(e):e}function a(t){return t.length>100?t.slice(0,100)+"...":t}var s=n(52),u=n(58);u.struct.strict=!0,u.interface.strict=!0,u.fail=function(t){throw new TypeError(t)};var l,c=[];function f(t){l?c.push(t):setTimeout(t,0)}function d(t){f((function(){throw t}))}function p(t,e,n){var r=n.docPermalink;return function(){for(var n,i=[],o=0;o
|
|
2
2
|
/*!
|
|
3
3
|
* URI.js - Mutating URLs
|
|
4
4
|
*
|
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: 1.17.0.
|
|
4
|
+
version: 1.17.0.rc3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infopark Group GmbH
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|