eepub 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 164b9d57520651c44fdbd52eefd507dd52205033
4
- data.tar.gz: 21444afdfcab193771d6649991aade84d44b776f
3
+ metadata.gz: e63fc3fc413513bf8e0a5a76138bc3c45cb4b503
4
+ data.tar.gz: 64faf6bff88d27de606224c8c8cf48f6ab3e4b7d
5
5
  SHA512:
6
- metadata.gz: 775adcdf725b3a8fc2b3eafd3c3f666e32289bc82eb4447bb8cac691db0b07e04fec09d82eea61d68041145e1496fe4d0e7ef267f4f4180465f6e5e9b5e82448
7
- data.tar.gz: 500f4c72a740daeec870dc3f30b980df4be0a4879942b7f2ee6986258d49be6107e7eb5caed736fe131b2830a80b785242da40b87b0b4238909a7854df1b0e45
6
+ metadata.gz: 30427222b855fb5eff2cab31b11b3da1a013865825ca2899c62e4e61c08466d69c54c2007ecbd8e4e43523f0e4863bda391f7df2f932382f556f26d01faa26f1
7
+ data.tar.gz: 53bf9c813c76079bb35a29e87ada277be5335ff0a28598907ca7b1fe0266bf3fc3423121ea2178c65405b35a6c36d98e43f9c463cf9508b9f8388629e42fa48a
data/lib/eepub/epub.rb CHANGED
@@ -19,7 +19,7 @@ module Eepub
19
19
  attr_writer :title
20
20
 
21
21
  def save_to(dest_path)
22
- FileUtils.cp @path, dest_path
22
+ FileUtils.cp @path, dest_path unless @path == dest_path
23
23
 
24
24
  Zip::File.open dest_path do |zip|
25
25
  entry = package_entry(zip)
data/lib/eepub/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eepub
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eepub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima