From 26595947b191587d9673f91c4db84b08ebde577d Mon Sep 17 00:00:00 2001 From: Chris Pietschmann Date: Tue, 12 Mar 2024 12:21:57 -0400 Subject: [PATCH 1/2] cosmosdb-dmt 2.1.4 (new cask) The Azure Cosmos DB Desktop Data Migration Tool is an open-source project containing a command-line application that provides import and export functionality for Azure Cosmos DB. --- Casks/c/cosmosdb-dmt.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Casks/c/cosmosdb-dmt.rb diff --git a/Casks/c/cosmosdb-dmt.rb b/Casks/c/cosmosdb-dmt.rb new file mode 100644 index 0000000000000..11a54f2eeae1c --- /dev/null +++ b/Casks/c/cosmosdb-dmt.rb @@ -0,0 +1,19 @@ +cask "cosmosdb-dmt" do + version "2.1.4" + sha256 "d016a55afd26438a0e2ed4bdfaf489775653d4fec3e08b5a12bf71a262c5a4dd" + + url "https://github.com/AzureCosmosDB/data-migration-desktop-tool/releases/download/#{version}/dmt-#{version}-mac-x64.zip" + name "Cosmos DB Data Migration Tool" + desc "The Azure Cosmos DB Desktop Data Migration Tool is an open-source project containing a command-line application that provides import and export functionality for Azure Cosmos DB." + homepage "https://github.com/AzureCosmosDB/data-migration-desktop-tool" + + binary "#{staged_path}/mac-package/dmt", target: "dmt" + + def post_install + chmod "+x", "/usr/local/bin/dmt/dmt" + end + + def test + assert_equal "#{version}", shell_output("/usr/local/bin/dmt/dmt --version").strip + end +end \ No newline at end of file From d142e117a8be07b94c3e5734d0bd42de96801cb8 Mon Sep 17 00:00:00 2001 From: Chris Pietschmann Date: Tue, 12 Mar 2024 12:55:38 -0400 Subject: [PATCH 2/2] cosmosdb-dmt 2.1.4 (new cask) Updated indentation and shortened description --- Casks/c/cosmosdb-dmt.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Casks/c/cosmosdb-dmt.rb b/Casks/c/cosmosdb-dmt.rb index 11a54f2eeae1c..e9bb7bf20c662 100644 --- a/Casks/c/cosmosdb-dmt.rb +++ b/Casks/c/cosmosdb-dmt.rb @@ -1,19 +1,19 @@ cask "cosmosdb-dmt" do - version "2.1.4" - sha256 "d016a55afd26438a0e2ed4bdfaf489775653d4fec3e08b5a12bf71a262c5a4dd" + version "2.1.4" + sha256 "d016a55afd26438a0e2ed4bdfaf489775653d4fec3e08b5a12bf71a262c5a4dd" - url "https://github.com/AzureCosmosDB/data-migration-desktop-tool/releases/download/#{version}/dmt-#{version}-mac-x64.zip" - name "Cosmos DB Data Migration Tool" - desc "The Azure Cosmos DB Desktop Data Migration Tool is an open-source project containing a command-line application that provides import and export functionality for Azure Cosmos DB." - homepage "https://github.com/AzureCosmosDB/data-migration-desktop-tool" + url "https://github.com/AzureCosmosDB/data-migration-desktop-tool/releases/download/#{version}/dmt-#{version}-mac-x64.zip" + name "Cosmos DB Data Migration Tool" + desc "Azure Cosmos DB Desktop Data Migration Tool is a command-line app that provides import / export functionality for Azure Cosmos DB data." + homepage "https://github.com/AzureCosmosDB/data-migration-desktop-tool" - binary "#{staged_path}/mac-package/dmt", target: "dmt" + binary "#{staged_path}/mac-package/dmt", target: "dmt" - def post_install - chmod "+x", "/usr/local/bin/dmt/dmt" - end + def post_install + chmod "+x", "/usr/local/bin/dmt/dmt" + end - def test - assert_equal "#{version}", shell_output("/usr/local/bin/dmt/dmt --version").strip - end + def test + assert_equal "#{version}", shell_output("/usr/local/bin/dmt/dmt --version").strip + end end \ No newline at end of file