zip-zip 0.1 → 0.2

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/zip/zip.rb +12 -0
  3. metadata +10 -18
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 650c29945365e14e6d5a0f8474317077cb499a49
4
+ data.tar.gz: 7a0b20e2ed2e80126a61eca39252a193a2a639a0
5
+ SHA512:
6
+ metadata.gz: 8d47b463c703cd0e0ef59057e8fe4fab566f46e5c0ce2de1f3139e5ad952d185e56d24170f4fa3b2c409e1bd0af75d9452ec17c9fbdab7b8be7c282d16d8436c
7
+ data.tar.gz: b0bf5d802da58b55206c73863a285485ff5e6a9d9633cb092fcea2de6a466aa730c663e5dfb40e8c2380eaa04b91f0ee79f16bcdaec51da851f182874b47581f
data/lib/zip/zip.rb CHANGED
@@ -9,3 +9,15 @@ Zip::ZipInputStream = Zip::InputStream
9
9
  Zip::ZipOutputStream = Zip::OutputStream
10
10
  Zip::ZipStreamableDirectory = Zip::StreamableDirectory
11
11
  Zip::ZipStreamableStream = Zip::StreamableStream
12
+
13
+ module Zip
14
+ class OptionsAdapter
15
+ def []=(key, value)
16
+ Zip.send("#{key}=", value)
17
+ end
18
+ end
19
+
20
+ def self.options
21
+ @adapter = OptionsAdapter.new
22
+ end
23
+ end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zip-zip
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
5
- prerelease:
4
+ version: '0.2'
6
5
  platform: ruby
7
6
  authors:
8
7
  - Orien Madgwick
@@ -14,26 +13,21 @@ 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
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
26
  version: 1.0.0
30
- description: ! '
27
+ description: |2
31
28
 
32
29
  In Gem hell migrating to RubyZip v1.0.0?
33
-
34
- Include zip-zip in your Gemfile and everythings coming up roses!
35
-
36
- '
30
+ Include zip-zip in your Gemfile and everything's coming up roses!
37
31
  email: orien.madgwick@gmail.com
38
32
  executables: []
39
33
  extensions: []
@@ -44,27 +38,25 @@ files:
44
38
  homepage: https://github.com/orien/zip-zip
45
39
  licenses:
46
40
  - MIT
41
+ metadata: {}
47
42
  post_install_message:
48
43
  rdoc_options: []
49
44
  require_paths:
50
45
  - lib
51
46
  required_ruby_version: !ruby/object:Gem::Requirement
52
- none: false
53
47
  requirements:
54
- - - ! '>='
48
+ - - '>='
55
49
  - !ruby/object:Gem::Version
56
50
  version: '0'
57
51
  required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  requirements: []
64
57
  rubyforge_project:
65
- rubygems_version: 1.8.23
58
+ rubygems_version: 2.0.3
66
59
  signing_key:
67
- specification_version: 3
60
+ specification_version: 4
68
61
  summary: Ease the migration to RubyZip v1.0.0
69
62
  test_files: []
70
- has_rdoc: