googledrive-easy 0.0.3 → 0.0.4
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
- data/lib/googledrive-easy.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9ca051449095281c00cdd84d3b13ca6f654d9e96737ae2efad24eb438a60ae0
|
|
4
|
+
data.tar.gz: 5210793c5263ef128f9824f3193226402cebbee179b822c12f6682904e5de1f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 989211006d67eaaf058804aa38f5caa4e371d452c7b5031ccc8c0a3afcc9f72cc776a1007e136862e6c1032c5780d1599ce373b0d926bf551b3033b14403a3ce
|
|
7
|
+
data.tar.gz: 4ff67bff9c464f7efbdef28022ebc4e9a218524014149ea16b965a789e248842846f986ae15498c438e35b4970fe9c32a44f0f17896b0af9605214966960a7d1
|
data/lib/googledrive-easy.rb
CHANGED
|
@@ -382,7 +382,7 @@ end
|
|
|
382
382
|
file_path = file_path.gsub(/\/$/, '') + "/"
|
|
383
383
|
|
|
384
384
|
# 1) assume file_name_or_id is a filename
|
|
385
|
-
files = find_files(
|
|
385
|
+
files = find_files(file_name_or_id, parentfolderid: parentfolderid)
|
|
386
386
|
if files && (files.count == 1)
|
|
387
387
|
file_info = files.first
|
|
388
388
|
elsif files && (files.count > 1)
|