gepub 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gepub/book.rb +2 -1
- data/lib/gepub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b78a10be8680f2fe6e66a12950adc4b3c326bc4f4232630db8da6a66281a4cbb
|
4
|
+
data.tar.gz: 7bd76c8e13b4540ac8d7fae3f7fd79a85c9eafbdd4c24386d1033deaf8bf365b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7981683e1eef0e903341b0af576bc47cfe415aaec26205aa90c98da86a763317cf2fa5602adda23065964ecd8c9f0287176bd3321763ca174dfbea663f53de25
|
7
|
+
data.tar.gz: 0bf3e8c606da8ec39e21eeb2f992a238084ef45b3ab3f722389a21d47bd37e47af4c89d6f818dbe73805a77813fe4c21df17acee8624c0946d2bc3dc6e9b1333
|
data/lib/gepub/book.rb
CHANGED
@@ -185,7 +185,8 @@ module GEPUB
|
|
185
185
|
def write_to_epub_container(epub)
|
186
186
|
mod_time = Zip::DOSTime.now
|
187
187
|
unless (last_mod = lastmodified).nil?
|
188
|
-
|
188
|
+
tm = last_mod.content
|
189
|
+
mod_time = Zip::DOSTime.local(tm.year, tm.month, tm.day, tm.hour, tm.min, tm.sec)
|
189
190
|
end
|
190
191
|
|
191
192
|
mimetype_entry = Zip::Entry.new(nil, 'mimetype', nil, nil, nil, nil, nil, nil, mod_time)
|
data/lib/gepub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gepub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KOJIMA Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|