scrivito_sdk 1.5.1.rc1 → 1.5.1.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: 596aff57b06e8c0c3830d0c0d5add581e3c2ebb2
4
- data.tar.gz: 791c7c8af44a203bda379e26fd1e80b0d23062c4
3
+ metadata.gz: a68e4e0f25f3137358e3deae17161d3832108bd8
4
+ data.tar.gz: 33c427b45dc7bc3d2540d734838a6ef7bce9201f
5
5
  SHA512:
6
- metadata.gz: c1a1f9470c2721f6ba3f713074fd3f98049ecd4152fc3cb480e0364a4bbe4ab7434bf10df97484819fe8cb2fccd34a26d09303cab43fb2e93ccb0df96d90c147
7
- data.tar.gz: ef4f9f4762be39b48db790a179c46ca8bf387e1f87570ad04987890741aa6b83528fd8731cc0ab2ce01c1293eb5a06daef1c888d9bdc8e682424089add2a9ecb
6
+ metadata.gz: 1c2b0f0cc425f17a6ba0a3b8797fd6208d5271ef2c710d0ecd3e0bb6d6e59328857e777125b9ac0c788516f658949bfe44972595e5c428ef3ccc45ff6c55be3e
7
+ data.tar.gz: eb63f818d8ae961871bfbf8159452c9dd0c08edafcc023689cb7b656d972e074c880d1b59d1c0cf1a790e9af59222bb3ca7303882a1a4b595fa4adb59d35834f
@@ -4,8 +4,9 @@ module Scrivito
4
4
  obj_class_name = params.fetch(:obj_class_name)
5
5
  obj_class = fetch_obj_class(obj_class_name)
6
6
  if obj_class
7
+ attributes = params.fetch(:attributes, {}).merge(_obj_class: obj_class.name)
7
8
  defaults = obj_class.build_attributes_with_defaults(
8
- params.fetch(:attributes, {}), scrivito_user: scrivito_user)
9
+ attributes, scrivito_user: scrivito_user)
9
10
  @defaults = computed_nested_attributes(defaults, obj_class)
10
11
  else
11
12
  raise ResourceNotFound, %{The obj class "#{obj_class_name}" is not available.}
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: Fri Aug 19 13:13:46 2016
4
+ ## Certificate data from Mozilla as of: Mon Aug 29 12:56:41 2016
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
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.5.1.rc1
4
+ version: 1.5.1.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: 2016-08-19 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable