archive-zip 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 392506a75d8d411a81f373e7615de05e8e253007
4
- data.tar.gz: 6d099f03a5b075ab68265eb3918ad8d657d6ee5e
3
+ metadata.gz: bd99221a399fb578d4b75ae55e330e156d1f3d56
4
+ data.tar.gz: e76e2ad7ff8f5ff1c545d90287065e41850e35a3
5
5
  SHA512:
6
- metadata.gz: fa9900725853cb1ee4a92a9484696e39091128403f0d6bd887bd54313769ce623fd25f1a82d7a151066c0613e1280da041b8ca0800fb6e203ca660a05c8e7f85
7
- data.tar.gz: 2b7e98ea155628cbd446f36c2e2894242a472176ef8f4ed8e8bcbdbf8562a2dcd5814d2a72a018e2563264e8514dfa23d9b374b37683b757c191ec63a70dab21
6
+ metadata.gz: 12fce07dfaa1ad74b68b41ec373c2a17101dff73aeed2500874ab2e112933086311881fe5ea15f46a6db3b73f6a3d7c7cfe8c7772bccbee4e7ae070ca4314db1
7
+ data.tar.gz: e5941deb576206a4b6d0253b61d5d3b7cdf10c06ad716a4ff0fc4bd1fbc9926d3ff1b2265a04680382ed9f2f1209e89af7cbd6d6053d14cb8f4f3380c702bf8c
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2014 Jeremy Bopp
3
+ Copyright (c) 2015 Jeremy Bopp
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
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) 2014 Jeremy Bopp
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
@@ -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
- alias :dump_local :dump_central
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
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Archive; class Zip
4
4
  # The current version of this gem.
5
- VERSION = '0.7.0'
5
+ VERSION = '0.8.0'
6
6
  end; end
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.7.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: 2014-08-19 00:00:00.000000000 Z
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.2.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.