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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f46dcee60ba11a4fad5a7d8fe9ee4ff4e984b955f64ddf0858fac2807cfad2c
4
- data.tar.gz: 35fdaefe67e9a32e93d17021183056e57ab35a2cf8111d706bcd40c9f44bfde2
3
+ metadata.gz: b78a10be8680f2fe6e66a12950adc4b3c326bc4f4232630db8da6a66281a4cbb
4
+ data.tar.gz: 7bd76c8e13b4540ac8d7fae3f7fd79a85c9eafbdd4c24386d1033deaf8bf365b
5
5
  SHA512:
6
- metadata.gz: d944ec4dc75280a6acbe8690314277db183ac8ac620c54ed6a7a9f23aeeb3f9d1f537f8ff73e4ce8e2fa3f92476317043fa5a4d9f8b06d457838701fda5edda4
7
- data.tar.gz: c76a604adae6eeba657e7a509edbc710ee5d0046955a16809ad09ab9b4c77b5b5845e895e461212b466c39b9743b583ea3dc20ba3cd152f24240cd39c35cf42f
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
- mod_time = Zip::DOSTime.from_time(last_mod.content)
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
@@ -1,4 +1,4 @@
1
1
  module GEPUB
2
2
  # GEPUB gem version
3
- VERSION = "1.0.9"
3
+ VERSION = "1.0.10"
4
4
  end
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.9
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-10 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri