scrivito_sdk 0.90.0 → 1.0.0.rc1
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/config/ca-bundle.crt +1 -1
- data/lib/scrivito/cms_rest_api.rb +5 -4
- data/lib/scrivito/controller_actions.rb +1 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c877ff99dcddc12bcd3e67159e27662cb7cde92
|
|
4
|
+
data.tar.gz: 72e6113f7f6a85b981740bfee45c6bd639bab45e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de494a337010d147bbd36057d9be326b0607760cf3f06ef66234ec2a780eec837ec6f885592b85e054e9940bbdda56f84ef788f4bf0b57c035e04f98fe574c62
|
|
7
|
+
data.tar.gz: 646603d7a7a7b60fbf06291089e9082f4ea34d7456b5a5ed22bf1908f24f0e8b265f52e188e31f7337a8f915475b43ca93847c4196305c5fd6d727ae28a78461
|
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: Tue Nov 24 12:44:37 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
|
|
@@ -68,11 +68,12 @@ module Scrivito
|
|
|
68
68
|
|
|
69
69
|
def self.upload_future_binary(binary, obj_id)
|
|
70
70
|
if binary.id_to_be_copied
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
id = normalize_path_component(binary.id_to_be_copied)
|
|
72
|
+
put("blobs/#{id}/copy", {
|
|
73
|
+
destination_obj_id: obj_id,
|
|
73
74
|
filename: binary.filename,
|
|
74
|
-
|
|
75
|
-
}
|
|
75
|
+
content_type: binary.content_type,
|
|
76
|
+
})
|
|
76
77
|
else
|
|
77
78
|
upload_permission = get('blobs/upload_permission')
|
|
78
79
|
upload = perform_file_upload(
|
|
@@ -83,7 +83,7 @@ module ControllerActions
|
|
|
83
83
|
#
|
|
84
84
|
# @param widget [Scrivito::BasicWidget] the flawed widget
|
|
85
85
|
# @param error [StandardError] the error that occurred
|
|
86
|
-
# @raise [StandardError] if this method is not overridden, the +error+ passed to it
|
|
86
|
+
# @raise [StandardError] if this method is not overridden, the +error+ passed to it
|
|
87
87
|
# is reraised.
|
|
88
88
|
#
|
|
89
89
|
# @example Notify external service about widget error and render an HTML placeholder:
|
|
@@ -133,7 +133,6 @@ module ControllerActions
|
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
def load_object
|
|
136
|
-
CmsEnv.new(request.env).load
|
|
137
136
|
loaded_obj = request.env[CmsEnv::OBJ_ENV_KEY]
|
|
138
137
|
raise loaded_obj if loaded_obj.is_a?(StandardError)
|
|
139
138
|
@obj = loaded_obj
|
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.
|
|
4
|
+
version: 1.0.0.rc1
|
|
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-11-
|
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -401,9 +401,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
401
401
|
version: 2.1.0
|
|
402
402
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
403
403
|
requirements:
|
|
404
|
-
- - "
|
|
404
|
+
- - ">"
|
|
405
405
|
- !ruby/object:Gem::Version
|
|
406
|
-
version:
|
|
406
|
+
version: 1.3.1
|
|
407
407
|
requirements: []
|
|
408
408
|
rubyforge_project:
|
|
409
409
|
rubygems_version: 2.4.5
|