zippy 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/zippy.rb +4 -4
  3. metadata +12 -16
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 86abfbdff16b09d05e5d5b468a9eb75b89ce789a
4
+ data.tar.gz: 5516b1982f6d8e716b03a140d727e681814dcf1e
5
+ SHA512:
6
+ metadata.gz: caf77633cc1d65b62ef0592cb5325ff398cb64d3ac856ad920699aa75e74c1cec6d0158d7c80f092b62f3d0fce9937e953ad84622674b6decd77844d9949e8b2
7
+ data.tar.gz: 91bf32d04a3d6c937a52a881a2f499195757f896e37da3699ca6f7a30642fd7812dbde6d77c5ca7efdc3224e7421fcb4e896025e61c75baecb58ca592dcc89c5
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- require 'zip/zip'
2
+ require 'zip'
3
3
 
4
4
  class Zippy
5
5
 
@@ -37,7 +37,7 @@ class Zippy
37
37
 
38
38
  #Returns the full path to all entries in the archive
39
39
  def paths
40
- map
40
+ map{|p| p }
41
41
  end
42
42
 
43
43
 
@@ -120,7 +120,7 @@ class Zippy
120
120
 
121
121
 
122
122
  def zipfile
123
- @zipfile ||= Zip::ZipFile.new(filename, true)
123
+ @zipfile ||= Zip::File.new(filename, true)
124
124
  end
125
125
 
126
126
 
@@ -165,7 +165,7 @@ class Zippy
165
165
  list
166
166
  end
167
167
 
168
-
168
+
169
169
  #Read the contents of a single entry in +filename+
170
170
  def self.read(filename, entry)
171
171
  content = nil
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zippy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tore Darell
@@ -14,51 +13,48 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rubyzip
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 0.9.1
19
+ version: 1.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 0.9.1
26
+ version: 1.0.0
30
27
  description: Zippy reads and writes zip files
31
28
  email: toredarell@gmail.com
32
29
  executables: []
33
30
  extensions: []
34
31
  extra_rdoc_files: []
35
32
  files:
36
- - lib/zippy.rb
37
- - README
38
33
  - LICENSE
34
+ - README
35
+ - lib/zippy.rb
39
36
  homepage: http://github.com/toretore/zippy
40
37
  licenses:
41
38
  - MIT
39
+ metadata: {}
42
40
  post_install_message:
43
41
  rdoc_options: []
44
42
  require_paths:
45
43
  - lib
46
44
  required_ruby_version: !ruby/object:Gem::Requirement
47
- none: false
48
45
  requirements:
49
- - - ! '>='
46
+ - - ">="
50
47
  - !ruby/object:Gem::Version
51
48
  version: '0'
52
49
  required_rubygems_version: !ruby/object:Gem::Requirement
53
- none: false
54
50
  requirements:
55
- - - ! '>='
51
+ - - ">="
56
52
  - !ruby/object:Gem::Version
57
53
  version: '0'
58
54
  requirements: []
59
55
  rubyforge_project:
60
- rubygems_version: 1.8.23
56
+ rubygems_version: 2.2.2
61
57
  signing_key:
62
- specification_version: 3
58
+ specification_version: 4
63
59
  summary: rubyzip for dummies
64
60
  test_files: []