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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/undrive_google/transformations/unzip.rb +4 -3
- data/lib/undrive_google/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9fb5d9dbad9a6e4a820430436b8e5f733e2ab11fa1c75c47f31345e13acef8e
|
|
4
|
+
data.tar.gz: de4747adb16f2359ff0fc1ecd745a9805d3d65aa01c060e747b4a28affbb7dfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
31
|
-
FileUtils.mkdir_p(File.dirname(
|
|
32
|
-
zip_file.extract(f,
|
|
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
|
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.
|
|
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.
|
|
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
|