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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64a6ae724a6f5f1045e1e13f396858f6ea049a95e79ed49f2446f2cef1806500
4
- data.tar.gz: 5789e3eb8259b29292e9c68f479943b0bf94681ef9e084f3f2a86c6e0a220d44
3
+ metadata.gz: adbc2c8ffb99508b43ff19027f1bc699ee744830793d0fa214154bb93404d3f0
4
+ data.tar.gz: bd88cd09c42be021db256498c968c65e1716b9a05e9e57b9fa5803cc3cfdc3ae
5
5
  SHA512:
6
- metadata.gz: 1f519fbdbaccc15e928700b02cc7f01bf7ddaefe734a13086f43872eb98f43f6eb9b78796f6f924a3de6f94e7079e187b7ea097a56da27b4ee9c4889eaa5e0e4
7
- data.tar.gz: e2e55d1c17d4f9c07c66759a3a2571d29aabcac5a7b226602cf2db60a2b4c653dd231d489c329fc76e64847b58af4f878800553a5eb07f6655ad41736892b9f4
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.exists?(file)) then
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
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: 2021-09-21 00:00:00.000000000 Z
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.21
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