epuber 0.5.0.beta.4 → 0.5.0.beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e7b9e7634dd4438f50aa32641d45f28218b41ce55438fd1e79246d9d5f52c65
4
- data.tar.gz: cd89054498b40031d062ba86d9c282b4a658839aa1423155065333b8a7943dbc
3
+ metadata.gz: 37778a7f4faaa148518e3e6c27ef3040ebebb9e45633bca1862a87e7d5e2239b
4
+ data.tar.gz: 219e403caf0fcc9a3fa954d6d51c88dc47c730245d423107b34a34c67d8b676d
5
5
  SHA512:
6
- metadata.gz: bfd43a46408eb08be9153d3d8219fdcf781ae3da42fa3e0c9a00099f99e76e5d07aae5302ef01a9f064e84f070e2d34d525130eb6a521061ffce56329dbde40e
7
- data.tar.gz: 40d8830f5d80fb2292977dff8d7c9e5d836687d946d1caf457dde596983a2542c12c575428655a7e1fcb61a7abc75e643ea2a9e89fdb7ee2c86f944baf913532
6
+ metadata.gz: df92556bba4458006e9e7717ea60570ddf789c20a42901425c978fbac4cc55821dc65d8f9ddc8b8837cbe1cc02966cd1859e493aebfb70e5e064259240b3a7e4
7
+ data.tar.gz: d842afcef1235ffc591aece3e74f8144ea7f645b1cd203f59649990a76744f1fc30022ccd4f041a37c6650a71ca977b15284683cd985a251e28f096fdc5b49a8
@@ -212,7 +212,7 @@ module Epuber
212
212
  #
213
213
  def file_with_destination_path(path, path_type = :manifest)
214
214
  final_path = File.join(*self.class.path_comps_for(destination_path, path_type), path.unicode_normalize)
215
- @final_destination_path_to_file[final_path]
215
+ @final_destination_path_to_file[path] || @final_destination_path_to_file[final_path]
216
216
  end
217
217
 
218
218
  # Method to find all files that should be deleted, because they are not in files in receiver
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Epuber
3
- VERSION = '0.5.0.beta.4'
3
+ VERSION = '0.5.0.beta.5'
4
4
 
5
5
  HOME_URL = 'https://github.com/epuber-io/epuber'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epuber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta.4
4
+ version: 0.5.0.beta.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Kříž
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-07 00:00:00.000000000 Z
11
+ date: 2018-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport