archive-zip 0.7.0 → 0.8.0
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/LICENSE +1 -1
- data/NEWS.md +6 -0
- data/README.md +2 -1
- data/lib/archive/zip/entry.rb +1 -1
- data/lib/archive/zip/extra_field/unix.rb +7 -10
- data/lib/archive/zip/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd99221a399fb578d4b75ae55e330e156d1f3d56
|
4
|
+
data.tar.gz: e76e2ad7ff8f5ff1c545d90287065e41850e35a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12fce07dfaa1ad74b68b41ec373c2a17101dff73aeed2500874ab2e112933086311881fe5ea15f46a6db3b73f6a3d7c7cfe8c7772bccbee4e7ae070ca4314db1
|
7
|
+
data.tar.gz: e5941deb576206a4b6d0253b61d5d3b7cdf10c06ad716a4ff0fc4bd1fbc9926d3ff1b2265a04680382ed9f2f1209e89af7cbd6d6053d14cb8f4f3380c702bf8c
|
data/LICENSE
CHANGED
data/NEWS.md
CHANGED
@@ -6,6 +6,12 @@ detailed information is available in the rest of the documentation.
|
|
6
6
|
**NOTE:** Date stamps in the following entries are in YYYY/MM/DD format.
|
7
7
|
|
8
8
|
|
9
|
+
## v0.8.0 (2015/01/05)
|
10
|
+
|
11
|
+
### Fixes
|
12
|
+
|
13
|
+
* Avoid Ruby warnings. (Akira Matsuda)
|
14
|
+
|
9
15
|
## v0.7.0 (2014/08/18)
|
10
16
|
|
11
17
|
### Fixes
|
data/README.md
CHANGED
@@ -181,6 +181,7 @@ documentation.
|
|
181
181
|
Thanks to all contributors. Without your help this project would not exist.
|
182
182
|
|
183
183
|
* Jeremy Bopp :: jeremy@bopp.net
|
184
|
+
* Akira Matsuda :: ronnie@dio.jp
|
184
185
|
|
185
186
|
## CONTRIBUTING
|
186
187
|
|
@@ -227,7 +228,7 @@ be more easily accepted if they are consistent with the rest of the code.
|
|
227
228
|
```
|
228
229
|
(The MIT License)
|
229
230
|
|
230
|
-
Copyright (c)
|
231
|
+
Copyright (c) 2015 Jeremy Bopp
|
231
232
|
|
232
233
|
Permission is hereby granted, free of charge, to any person obtaining
|
233
234
|
a copy of this software and associated documentation files (the
|
data/lib/archive/zip/entry.rb
CHANGED
@@ -932,7 +932,7 @@ module Archive; class Zip; module Entry
|
|
932
932
|
# Sets the link target for this entry. As a side effect, the raw_data
|
933
933
|
# attribute is set to +nil+.
|
934
934
|
def link_target=(link_target)
|
935
|
-
raw_data = nil
|
935
|
+
self.raw_data = nil
|
936
936
|
@link_target = link_target
|
937
937
|
end
|
938
938
|
|
@@ -110,15 +110,6 @@ module Archive; class Zip; module ExtraField
|
|
110
110
|
self
|
111
111
|
end
|
112
112
|
|
113
|
-
# This method signature is part of the interface contract expected by
|
114
|
-
# Archive::Zip::Entry for extra field objects.
|
115
|
-
#
|
116
|
-
# Returns a String suitable to writing to a central file record in a ZIP
|
117
|
-
# archive file which contains the data for this object.
|
118
|
-
def dump_central
|
119
|
-
''
|
120
|
-
end
|
121
|
-
|
122
113
|
# This method signature is part of the interface contract expected by
|
123
114
|
# Archive::Zip::Entry for extra field objects.
|
124
115
|
#
|
@@ -134,7 +125,13 @@ module Archive; class Zip; module ExtraField
|
|
134
125
|
@gid
|
135
126
|
].pack('vvVVvv') + @data
|
136
127
|
end
|
137
|
-
|
128
|
+
|
129
|
+
# This method signature is part of the interface contract expected by
|
130
|
+
# Archive::Zip::Entry for extra field objects.
|
131
|
+
#
|
132
|
+
# Returns a String suitable to writing to a central file record in a ZIP
|
133
|
+
# archive file which contains the data for this object.
|
134
|
+
alias :dump_central :dump_local
|
138
135
|
|
139
136
|
protected
|
140
137
|
|
data/lib/archive/zip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archive-zip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Bopp
|
8
|
+
- Akira Matsuda
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: io-like
|
@@ -115,6 +116,7 @@ description: |
|
|
115
116
|
tools.
|
116
117
|
email:
|
117
118
|
- jeremy@bopp.net
|
119
|
+
- ronnie@dio.jp
|
118
120
|
executables: []
|
119
121
|
extensions: []
|
120
122
|
extra_rdoc_files: []
|
@@ -266,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
268
|
version: '0'
|
267
269
|
requirements: []
|
268
270
|
rubyforge_project: archive-zip
|
269
|
-
rubygems_version: 2.
|
271
|
+
rubygems_version: 2.4.5.1
|
270
272
|
signing_key:
|
271
273
|
specification_version: 4
|
272
274
|
summary: Simple, extensible, pure Ruby ZIP archive support.
|