From 6a31e6862c4b7ff44dc1bdde247c277ef3fb7ab2 Mon Sep 17 00:00:00 2001 From: deeeki Date: Mon, 10 Jan 2022 14:53:09 +0900 Subject: [PATCH 1/2] Include dirs --- ruby/google_drive/bin/files_to_spreadsheet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/google_drive/bin/files_to_spreadsheet b/ruby/google_drive/bin/files_to_spreadsheet index e7dbeb8..cf0c644 100755 --- a/ruby/google_drive/bin/files_to_spreadsheet +++ b/ruby/google_drive/bin/files_to_spreadsheet @@ -7,11 +7,11 @@ Dotenv.load require './lib/google_drive_spreadsheet' title, path = ARGV -abort "Usage: #{__FILE__} worksheet_title [files_path]" unless title +abort "Usage: #{__FILE__} worksheet_title files_path" unless title && path path ||= `pwd` cells = [%w[Name Ext Size MTime]] -cells += Pathname.glob("#{path}/*.*").sort.map{|file| [file.basename('.*'), file.extname, file.size, file.mtime] } +cells += Pathname.glob("#{path}/*").sort.map{|file| [file.basename('.*'), file.extname, file.size, file.mtime] } GoogleDriveSpreadsheet.write(title, cells) From 588e5870157cd4e3d49216b42db02410f7f45149 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jan 2022 05:54:12 +0000 Subject: [PATCH 2/2] Bump json from 1.7.7 to 2.6.1 in /ruby/showoff Bumps [json](https://github.com/flori/json) from 1.7.7 to 2.6.1. - [Release notes](https://github.com/flori/json/releases) - [Changelog](https://github.com/flori/json/blob/master/CHANGES.md) - [Commits](https://github.com/flori/json/compare/v1.7.7...v2.6.1) --- updated-dependencies: - dependency-name: json dependency-type: indirect ... Signed-off-by: dependabot[bot] --- ruby/showoff/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/showoff/Gemfile.lock b/ruby/showoff/Gemfile.lock index e5b5d44..bfeaf80 100644 --- a/ruby/showoff/Gemfile.lock +++ b/ruby/showoff/Gemfile.lock @@ -15,7 +15,7 @@ GEM specs: blankslate (2.1.2.4) gli (2.5.6) - json (1.7.7) + json (2.6.1) nokogiri (1.5.9) parslet (1.5.0) blankslate (~> 2.0)