epubinfo 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f9b779f1409bbaefd40b2b546d9c10cae86dc810
4
+ data.tar.gz: b92e5d59a5f8a6184f1c6b8e9c3b8c181611e81c
5
+ SHA512:
6
+ metadata.gz: 3814c47522f28ff20965729ba31bc4dc52e7a64a66c1f8643cd9f09d556df71a927f056204210721403a70c5696d8fefc9031fb648cbf84c88d5fbaf674cba87
7
+ data.tar.gz: 9d1c2c0c851c28870e3abbb7c68f0fe411a566c784c7630f648e3eb23f221600f4b37395885437e954d578f1e86b2a898ee9bb249ed2fb2b798d750383ad765e
data/README.md CHANGED
@@ -12,6 +12,12 @@ Which returns a `EPUBInfo::Models::Book` instance, please refer to the [API docu
12
12
 
13
13
  ## Changelog
14
14
 
15
+ **0.4.4** *October 20, 2014*
16
+
17
+ * Updated `rubyzip` dependency to 1.0. (by [johankok](https://github.com/johankok))
18
+
19
+ If cannot upgrade to `rubyzip` 1.0, use version *0.4.3* in your project.
20
+
15
21
  **0.4.3** *September 12, 2013*
16
22
 
17
23
  * Made cover detection more robust by escaping the CSS selectors (by [versapub](https://github.com/versapub))
@@ -1,4 +1,4 @@
1
- require 'zip/zip'
1
+ require 'zip'
2
2
  require 'nokogiri'
3
3
  require 'cgi'
4
4
 
@@ -18,8 +18,8 @@ module EPUBInfo
18
18
 
19
19
  def zip_file
20
20
  begin
21
- @zip_file ||= Zip::ZipFile.open(@path)
22
- rescue Zip::ZipError => e
21
+ @zip_file ||= Zip::File.open(@path)
22
+ rescue Zip::Error => e
23
23
  raise NotAnEPUBFileError.new(e)
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,222 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epubinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
5
- prerelease:
4
+ version: 0.4.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Christof Dorner
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-12 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
13
12
  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.9
19
+ version: '1.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.9
26
+ version: '1.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: nokogiri
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.4.2
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.4.2
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 2.10.0
47
+ version: 2.14.1
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 2.10.0
54
+ version: 2.14.1
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: yard
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 0.8.1
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 0.8.1
78
- - !ruby/object:Gem::Dependency
79
- name: bundler
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
58
  requirements:
83
59
  - - ~>
84
60
  - !ruby/object:Gem::Version
85
- version: 1.2.4
61
+ version: 0.8.7
86
62
  type: :development
87
63
  prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
66
  - - ~>
92
67
  - !ruby/object:Gem::Version
93
- version: 1.2.4
68
+ version: 0.8.7
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: jeweler
96
71
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
72
  requirements:
99
73
  - - ~>
100
74
  - !ruby/object:Gem::Version
101
- version: 1.8.3
75
+ version: 2.0.1
102
76
  type: :development
103
77
  prerelease: false
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
80
  - - ~>
108
81
  - !ruby/object:Gem::Version
109
- version: 1.8.3
110
- - !ruby/object:Gem::Dependency
111
- name: simplecov
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: guard
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- - !ruby/object:Gem::Dependency
143
- name: guard-rspec
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: rb-fsevent
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: growl
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: fuubar
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :development
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
82
+ version: 2.0.1
206
83
  - !ruby/object:Gem::Dependency
207
84
  name: redcarpet
208
85
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
86
  requirements:
211
- - - ! '>='
87
+ - - '>='
212
88
  - !ruby/object:Gem::Version
213
89
  version: '0'
214
90
  type: :development
215
91
  prerelease: false
216
92
  version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
93
  requirements:
219
- - - ! '>='
94
+ - - '>='
220
95
  - !ruby/object:Gem::Version
221
96
  version: '0'
222
97
  description: Supports EPUB2 and EPUB3 formats.
@@ -240,29 +115,25 @@ files:
240
115
  homepage: http://github.com/chdorner/epubinfo
241
116
  licenses:
242
117
  - MIT
118
+ metadata: {}
243
119
  post_install_message:
244
120
  rdoc_options: []
245
121
  require_paths:
246
122
  - lib
247
123
  required_ruby_version: !ruby/object:Gem::Requirement
248
- none: false
249
124
  requirements:
250
- - - ! '>='
125
+ - - '>='
251
126
  - !ruby/object:Gem::Version
252
127
  version: '0'
253
- segments:
254
- - 0
255
- hash: -1199515003805454672
256
128
  required_rubygems_version: !ruby/object:Gem::Requirement
257
- none: false
258
129
  requirements:
259
- - - ! '>='
130
+ - - '>='
260
131
  - !ruby/object:Gem::Version
261
132
  version: '0'
262
133
  requirements: []
263
134
  rubyforge_project:
264
- rubygems_version: 1.8.23
135
+ rubygems_version: 2.0.3
265
136
  signing_key:
266
- specification_version: 3
137
+ specification_version: 4
267
138
  summary: Extracts metadata information from EPUB files
268
139
  test_files: []