active_cmis 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -155,7 +155,7 @@ module ActiveCMIS
155
155
 
156
156
  response = conn.post_response(repository.checkedout.url, body)
157
157
  if 200 <= response.code.to_i && response.code.to_i < 300
158
- entry = Nokogiri::XML.parse(response.body).xpath("/at:entry", NS::COMBINED)
158
+ entry = Nokogiri::XML.parse(response.body, nil, nil, Nokogiri::XML::ParseOptions::STRICT).xpath("/at:entry", NS::COMBINED)
159
159
  result = self_or_new(entry)
160
160
  if result.working_copy? # Work around a bug in OpenCMIS where result returned is the version checked out not the PWC
161
161
  result
@@ -450,7 +450,7 @@ module ActiveCMIS
450
450
  uri = self_link(parameters)
451
451
  response = conn.put(uri, body)
452
452
 
453
- data = Nokogiri::XML.parse(response).xpath("at:entry", NS::COMBINED)
453
+ data = Nokogiri::XML.parse(response, nil, nil, Nokogiri::XML::ParseOptions::STRICT).xpath("at:entry", NS::COMBINED)
454
454
  if data.xpath("cra:object/c:properties/c:propertyId[@propertyDefinitionId = 'cmis:objectId']/c:value", NS::COMBINED).text == id
455
455
  reload
456
456
  @data = data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_cmis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &69375500 !ruby/object:Gem::Requirement
17
+ requirement: &69652550 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 1.4.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *69375500
25
+ version_requirements: *69652550
26
26
  description: A CMIS library implementing both reading and updating capabilities through
27
27
  the AtomPub/REST binding to CMIS.
28
28
  email: joeri@xaop.com