keyed_archive 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/keyed_archive/version.rb +1 -1
- data/lib/keyed_archive.rb +1 -1
- 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: afbb740e720c19cb363c0a416fbea1c5367d86b442388466231bf6742fccb4fc
|
4
|
+
data.tar.gz: e21d4ead88cce31bff34502576924be7ad2f6d2293a94131f84e100eee640162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8b5aa04a3674d09f12b92409a9bdcdef3518a005308c62c39b189d53da2939d988080ee6087020d6186fbc7e7c8bc772d782f654f5afa8166eff43b2afa47e
|
7
|
+
data.tar.gz: dc313863d61980e2c94ca6baebad2aecf1994451ecbc3cec7de163a1009e67363ea9963d38fb285e6b3bb1a97aec9a27160fd7902e34b785be69c57569af6992
|
data/lib/keyed_archive.rb
CHANGED
@@ -14,7 +14,7 @@ class KeyedArchive
|
|
14
14
|
blob = opts[:data]
|
15
15
|
filename = opts[:file]
|
16
16
|
|
17
|
-
plist = CFPropertyList::List.new(:file => filename) unless filename.nil? or !File.
|
17
|
+
plist = CFPropertyList::List.new(:file => filename) unless filename.nil? or !File.exist?(filename)
|
18
18
|
plist = CFPropertyList::List.new(:data => blob) unless blob.nil? or blob.length < 1
|
19
19
|
|
20
20
|
if !plist.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keyed_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Young
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
|
-
rubygems_version: 3.
|
114
|
+
rubygems_version: 3.4.10
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: A Ruby gem for working with files produced by NSKeyedArchiver.
|