epub-maker 0.1.1 → 0.1.2

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: 76df5c2ac47ec0681bc654bcbdb3b0c6b54513f832307f91d699cb59490ac347
4
- data.tar.gz: f2658a4820a557d4b20b6be81962a329a8da7f82200e97c5346a24736a3cc553
3
+ metadata.gz: 4119c4878b2777ccee127c12fbd897dc771308b306172ca887ff962e07d9bfd1
4
+ data.tar.gz: 8393a6d8d9aa4fa369f4ebf8f3247e1e9a5dbdbf96022f90a9b137f88173d4c1
5
5
  SHA512:
6
- metadata.gz: 0ab590e11695fa0f44b8bd9cb3eb22bf596102e79354f87b500c5da1e7339c84fd6fb9c0a32e2b9d6d9eff33d75fb425cc3c299448c36590f0365a3741b07dd9
7
- data.tar.gz: 3437cbebd81bb1f6674c8693987ad995da19ce5415d289dab7b076ac6705437dd2669e204de9bb07b4f6ca74b74e443549d3f5041f6deacac07695a52b51ee96
6
+ metadata.gz: 5c728e1af722eb6e102b56e2df6b91b0003c7513a5036ff8a68ab26a7adbd6a9a4391205f58a0328718531fb714ae3dac6c570626afceea66d9951874b8b3234
7
+ data.tar.gz: 5589187d2a35be80c16a4127ff1f442deb2defd756f7f2feae85aa44da26144fe2c5a03d7ee13f7205eda4b7df5ea6177ab98419a0f56c0239263fd96f640c7a
@@ -1,3 +1,8 @@
1
+ 0.1.2
2
+ ------
3
+
4
+ * Close temp file when archiving EPUB file
5
+
1
6
  0.1.1
2
7
  -----
3
8
 
@@ -178,6 +178,10 @@ Todo
178
178
  Recent Changes
179
179
  --------------
180
180
 
181
+ ### 0.1.2
182
+
183
+ * Close temp file when archiving EPUB file
184
+
181
185
  ### 0.1.1
182
186
 
183
187
  * Update Nokogiri version to < 1.11
@@ -76,7 +76,9 @@ module EPUB
76
76
  raise "source directory #{source_dir} not exist" unless source_dir.exist?
77
77
 
78
78
  epub_file = Pathname(epub_file)
79
- temp_dest = Pathname(Tempfile.create(epub_file.basename.to_path, epub_file.dirname.to_path))
79
+ temp_dest_file = Tempfile.create(epub_file.basename.to_path, epub_file.dirname.to_path)
80
+ temp_dest_file.close
81
+ temp_dest = Pathname(temp_dest_file)
80
82
  Pathname.mktmpdir "epub-maker" do |dir|
81
83
  temp_container = dir/source_dir.basename
82
84
 
@@ -1,5 +1,5 @@
1
1
  module EPUB
2
2
  module Maker
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epub-maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KITAITI Makoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-08 00:00:00.000000000 Z
11
+ date: 2019-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: epub-parser
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubygems_version: 3.0.3
291
+ rubygems_version: 3.1.2
292
292
  signing_key:
293
293
  specification_version: 4
294
294
  summary: EPUB Maker