bunpack 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bunpack +2 -1
  3. data/bunpack.gemspec +1 -1
  4. metadata +14 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3173f7e97e961408f47ffc27b17a022fc78059f
4
- data.tar.gz: b13ec30fa67aba680e1d8a9a6e33fa329911b509
3
+ metadata.gz: 9d399ddd970db59a3933805804711bd37b940a21
4
+ data.tar.gz: 72949deaf69e5605bd6deac69259379428815fd3
5
5
  SHA512:
6
- metadata.gz: 443528107a6d69dc52cdcacef10c2e654c3a5ec1dd7447cd7cab0e7f7b9085dcf48bee7437786a28cb0b554becaa8dc872dc93ae7f86c7a4c583f7770b05d04c
7
- data.tar.gz: 14fece84927ef1ca8a83e07a1907c70fd7c04e02e499b9fb69403155f94d4c5f5ae55fce1aabf8bb0b2ba65ebd6952d2738846d5b321bb90629a5be880cf9dd6
6
+ metadata.gz: 4348ae202255282be7b3310fad468f73d1b8688aa5b1595e492887178939fc01019d383f8417fda7a6ca08e16b4fcd0e2d83e95b2771e28dedd9ed6775426412
7
+ data.tar.gz: 95468d891382ee1fd3c63e40b5231f29b699dbec00a88c4792707e93742751c149d04dede94d3ce0e5c7da9bedc4290ec08cde4807a725b4ea2e0519ee43de97
@@ -23,7 +23,8 @@ begin
23
23
  end
24
24
  end
25
25
 
26
- system %{aunpack "#{archive}"}
26
+ options = '--format=zip' if archive.extname == '.epub'
27
+ system %{aunpack #{options} "#{archive}"}
27
28
  ensure
28
29
  FileUtils.rm_rf TMP_DIR
29
30
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'bunpack'
5
- spec.version = '1.0.2'
5
+ spec.version = '1.0.3'
6
6
  spec.licenses = ['MIT']
7
7
  spec.authors = ['Pepijn Looije', 'Erik Terpstra']
8
8
  spec.email = ['pepijn@blendle.com', 'Erik Terpstra']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pepijn Looije
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-29 00:00:00.000000000 Z
12
+ date: 2015-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 10.0.0
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 10.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: aruba
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.5.0
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - '>='
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.5.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: pry
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  description: Removes __MACOSX folder from zip archives
@@ -62,8 +62,8 @@ executables:
62
62
  extensions: []
63
63
  extra_rdoc_files: []
64
64
  files:
65
- - ".gitignore"
66
- - ".travis.yml"
65
+ - .gitignore
66
+ - .travis.yml
67
67
  - Gemfile
68
68
  - LICENSE
69
69
  - README.md
@@ -84,17 +84,17 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - '>='
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.4.5
97
+ rubygems_version: 2.0.14
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Removes __MACOSX folder from zip archives
@@ -103,3 +103,4 @@ test_files:
103
103
  - features/fixtures/test.epub
104
104
  - features/step_definitions/application_steps.rb
105
105
  - features/support/env.rb
106
+ has_rdoc: