undrive_google 1.1.0 → 1.1.1

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: 21db54609693c71de63f96619b5fa2d00b19d3bd1cd5ebe6c361b462c01159f6
4
- data.tar.gz: a61c20ce99a83bdf0c73d982e8c91b6d9e8382e1047597e14872ee62a939c7bc
3
+ metadata.gz: e9fb5d9dbad9a6e4a820430436b8e5f733e2ab11fa1c75c47f31345e13acef8e
4
+ data.tar.gz: de4747adb16f2359ff0fc1ecd745a9805d3d65aa01c060e747b4a28affbb7dfb
5
5
  SHA512:
6
- metadata.gz: 6b127a2fbe3f90aac9aa13f97ef67a247f852cfc4bb141e103aa693833b3e5b71045f77661f0e4c663379dc5be0563e21bfdca9d37cfc808071c48f218238ec5
7
- data.tar.gz: 211717e95caded549e29b6d89316abc1b32ee5ead71ebfd18b534a3c0b1c8b06bb3305e17f787e6284f7a957f42dde0a4ea7610540c35f22ef733b822d06af4f
6
+ metadata.gz: a8d2057ed2476b2259dfbf4c9fb81f2722d1fc157c5ceaf49ec7273510e1fe331d7afa9f82fe2820fae728326fedfa5f066191360938eb9206f45d34a3843ea6
7
+ data.tar.gz: c82cfd0486539c4ed20ac2c53b181368ebf1e49ef87edd205ccfa87e252b6f835e921186e3ab35dc099cf6f5e90a5dd5ad16399ca5396f3de33a139a254438aa
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## 1.1.1 - 2022-11-29
14
+ ### Fixed
15
+ - Support renaming of HTML zip archives that have assets (e.g. /images/*)
16
+
13
17
  ## 1.1.0 - 2022-11-29
14
18
  ### Added
15
19
  - Integration test for unzip transformation with complex zip file (Peter's Resume!)
data/README.md CHANGED
@@ -52,7 +52,7 @@ source "https://rubygems.org"
52
52
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
53
53
  git_source(:gitlab) { |repo_name| "https://gitlab.com/#{repo_name}" }
54
54
 
55
- gem "undrive_google", "~> 1.0.3"
55
+ gem "undrive_google", "~> 1.1"
56
56
 
57
57
  # See: https://github.com/gimite/google-drive-ruby/pull/427
58
58
  gem "google_drive", github: "pboling/google-drive-ruby", branch: "pboling-epub-mimetype"
@@ -27,9 +27,10 @@ module UndriveGoogle
27
27
  def extract_zip(file, destination)
28
28
  Zip::File.open(file) do |zip_file|
29
29
  zip_file.each do |f|
30
- @html_path = File.join(destination, f.name)
31
- FileUtils.mkdir_p(File.dirname(@html_path))
32
- zip_file.extract(f, @html_path) unless File.exist?(@html_path)
30
+ path = File.join(destination, f.name)
31
+ FileUtils.mkdir_p(File.dirname(path))
32
+ zip_file.extract(f, path) unless File.exist?(path)
33
+ @html_path = path if File.extname(path) == ".html"
33
34
  end
34
35
  end
35
36
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module UndriveGoogle
4
4
  module Version
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undrive_google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -139,7 +139,7 @@ metadata:
139
139
  source_code_uri: https://git.sr.ht/~galtzo/undrive_google
140
140
  changelog_uri: https://git.sr.ht/~galtzo/undrive_google
141
141
  bug_tracker_uri: https://todo.sr.ht/~galtzo/undrive_google
142
- documentation_uri: https://www.rubydoc.info/gems/undrive_google/1.1.0
142
+ documentation_uri: https://www.rubydoc.info/gems/undrive_google/1.1.1
143
143
  wiki_uri: https://man.sr.ht/~galtzo/undrive_google/
144
144
  funding_uri: https://liberapay.com/pboling
145
145
  mailing_list_uri: https://lists.sr.ht/~galtzo/undrive_google-devel
metadata.gz.sig CHANGED
Binary file