minizip 0.0.7 → 0.0.8

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.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ Gemfile.lock
4
4
  pkg/*
5
5
  *.swp
6
6
  .DS_Store
7
+ .rvmrc
@@ -1,3 +1,3 @@
1
1
  module Minizip
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/lib/minizip/zip.rb CHANGED
@@ -1,6 +1,8 @@
1
+ require 'rbconfig'
2
+
1
3
  module Minizip
2
- USING_WINDOWS = !!((RUBY_PLATFORM =~ /(win|w)(32|64)$/) || (RUBY_PLATFORM =~ /mswin|mingw/))
3
- USING_OSX = RUBY_PLATFORM =~ /darwin/
4
+ USING_WINDOWS = (::RbConfig::CONFIG['host_os'] =~/mswin|mingw/)
5
+ USING_OSX = (::RbConfig::CONFIG['host_os'] =~ /darwin/)
4
6
 
5
7
  class Zip
6
8
  def self.zip_files(zip_name, *files)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minizip
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Radamanthus Batnag and Eumir Gaspar
@@ -15,10 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-15 00:00:00 Z
18
+ date: 2011-11-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: aruba
21
+ type: :development
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
@@ -29,10 +29,10 @@ dependencies:
29
29
  segments:
30
30
  - 0
31
31
  version: "0"
32
- type: :development
33
32
  version_requirements: *id001
33
+ name: aruba
34
34
  - !ruby/object:Gem::Dependency
35
- name: thor
35
+ type: :runtime
36
36
  prerelease: false
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
@@ -43,8 +43,8 @@ dependencies:
43
43
  segments:
44
44
  - 0
45
45
  version: "0"
46
- type: :runtime
47
46
  version_requirements: *id002
47
+ name: thor
48
48
  description: A Ruby wrapper for the zip/unzip command line tools(for UNIX) and 7zip(for Windows)
49
49
  email:
50
50
  - rad+eumir@aelogica.com
@@ -56,7 +56,6 @@ extra_rdoc_files: []
56
56
 
57
57
  files:
58
58
  - .gitignore
59
- - .rvmrc
60
59
  - Gemfile
61
60
  - README.md
62
61
  - Rakefile
@@ -133,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
132
  requirements: []
134
133
 
135
134
  rubyforge_project: minizip
136
- rubygems_version: 1.8.8
135
+ rubygems_version: 1.8.10
137
136
  signing_key:
138
137
  specification_version: 3
139
138
  summary: A Ruby wrapper for the zip/unzip command line tools(for UNIX) and 7zip(for Windows)
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use 1.8.7-p174@minizip