CFPropertyList 3.0.4 → 3.0.6
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/lib/cfpropertylist/rbCFPropertyList.rb +1 -1
- data/lib/cfpropertylist/rbLibXMLParser.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adbc2c8ffb99508b43ff19027f1bc699ee744830793d0fa214154bb93404d3f0
|
4
|
+
data.tar.gz: bd88cd09c42be021db256498c968c65e1716b9a05e9e57b9fa5803cc3cfdc3ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d7f6ec5346a2c5da2490594f453af1da6281a25ae5a86403fefb00da1cb967c41a5676bbccd64f1d707273be87471dab29921d2e6b05dc072adee467035fb13
|
7
|
+
data.tar.gz: dd20416767d9fb5f3d85f0479dfbd4e15d4c19288c5d2675f6b0f863b12919d2d704be99c951161dbec394d0b62e95efe554f66af9a1c9ce15b9fad399b6dc29
|
@@ -375,7 +375,7 @@ module CFPropertyList
|
|
375
375
|
raise CFFormatError.new("Format #{format} not supported, use List::FORMAT_BINARY or List::FORMAT_XML")
|
376
376
|
end
|
377
377
|
|
378
|
-
if(!File.
|
378
|
+
if(!File.exist?(file)) then
|
379
379
|
raise IOError.new("File #{file} not writable!") unless File.writable?(File.dirname(file))
|
380
380
|
elsif(!File.writable?(file)) then
|
381
381
|
raise IOError.new("File #{file} not writable!")
|
@@ -5,6 +5,7 @@ require 'libxml'
|
|
5
5
|
module CFPropertyList
|
6
6
|
# XML parser
|
7
7
|
class LibXMLParser < XMLParserInterface
|
8
|
+
LibXML::XML::Error.set_handler(&LibXML::XML::Error::QUIET_HANDLER)
|
8
9
|
PARSER_OPTIONS = LibXML::XML::Parser::Options::NOBLANKS|LibXML::XML::Parser::Options::NONET
|
9
10
|
# read a XML file
|
10
11
|
# opts::
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: CFPropertyList
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Kruse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rexml
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.2
|
123
|
+
rubygems_version: 3.4.2
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Read, write and manipulate both binary and XML property lists as defined
|