Updating to 1.20.0
This commit is contained in:
parent
0305fee356
commit
035d38a416
|
@ -404,7 +404,7 @@ cd Bash-Snippets
|
|||
|
||||
* Git checkout to the latest stable release
|
||||
```bash
|
||||
git checkout v1.19.2
|
||||
git checkout v1.20.0
|
||||
```
|
||||
|
||||
* Run the guided install script with
|
||||
|
|
16
changelog.md
16
changelog.md
|
@ -2,6 +2,22 @@
|
|||
|
||||
# Bash-Snippets Changelog
|
||||
|
||||
## Version 1.20.0
|
||||
|
||||
## Changes
|
||||
* Brought back lyrics tool
|
||||
* Added shorten url functionality to short
|
||||
* Fixed the stocks api
|
||||
* Save QRCodes to an image file
|
||||
* Fixed bug in qrify for single-word strings
|
||||
* Adding mdfind functionality to ytview
|
||||
|
||||
</div>
|
||||
|
||||
<div align="center">
|
||||
|
||||
## Version 1.19.2
|
||||
|
||||
## Changes
|
||||
* ytview for macOS can now use mpv
|
||||
* lyrics tool was removed, api is not available anymore
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
## rest of these variables are search flags
|
||||
search="0"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
private="0" ## state of private flag
|
||||
all="0" ## state of all flag
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
state=""
|
||||
configuredClient=""
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
base=""
|
||||
exchangeTo=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
base=""
|
||||
exchangeTo=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK
|
||||
EUR GBP HKD HRK HUF IDR ILS INR
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
directionsFlag="0"
|
||||
directionsMapFlag="0"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<title>Redirecting...</title>
|
||||
<h1>Redirecting...</h1>
|
||||
<p>You should be redirected automatically to target URL: <a href="/doge/i_am/meme.jpg">/doge/i_am/meme.jpg</a>. If not click the link.<script src="/cdn-cgi/apps/head/2UQUv0iFuRM4rCHorbwAkcubpdg.js"></script>
|
2
geo/geo
2
geo/geo
|
@ -4,7 +4,7 @@
|
|||
# Author: Jake Meyer
|
||||
# Github: https://github.com/jakewmeyer
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
declare -a tools=(cheat cloudup crypt cryptocurrency currency geo lyrics meme movies newton qrify short siteciphers stocks taste todo transfer weather ytview)
|
||||
declare -a extraLinuxTools=(maps)
|
||||
declare -a extraDarwinTools
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
artist="false"
|
||||
song="false"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
fileName=""
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
configuredPython=""
|
||||
detail=false
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
configuredPython=""
|
||||
APIKEY="b2f8880475c888056b6207067fbaa197"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
flagCount="0"
|
||||
declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Linyos Torovoltos github.com/linyostorovovoltos
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
multiline="0" # flag that indicates multiline option
|
||||
fileoutput="0" # flag indicating the -f option
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
configuredPython=""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
DELAY=1
|
||||
configuredClient=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
|
||||
checkOpenSSL()
|
||||
{
|
||||
|
|
2
skeleton
2
skeleton
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
configuredPython=""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
configuredPython=""
|
||||
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/env bats
|
||||
|
||||
@test "Testing meme tool" {
|
||||
echo meme
|
||||
}
|
||||
|
||||
@test "Check for latest version of bash-snippets on update" {
|
||||
if [[ "$(uname)" == "Linux" ]];then
|
||||
run meme update
|
||||
[ "$status" -eq 0 ]
|
||||
[ "$output" = "Bash-Snippets is already the latest version" ]
|
||||
fi
|
||||
}
|
||||
|
||||
@test "The -h option should print usage" {
|
||||
run meme -h
|
||||
[ "$status" -eq 0 ]
|
||||
[ "${lines[0]}" = "Meme" ]
|
||||
}
|
||||
|
||||
|
||||
|
||||
@test "Get the tools version with -v" {
|
||||
run meme -v
|
||||
[ "$status" -eq 0 ]
|
||||
result=$( echo $(meme -v) | grep -Eo "Version")
|
||||
[ "$result" = "Version" ]
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
flag=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
configuredClient=""
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
configuredDownloadClient=""
|
||||
configuredUploadClient=""
|
||||
configuredClient=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
down="false"
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
|
||||
currentVersion="1.19.2" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
|
||||
currentVersion="1.20.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
|
||||
LANG="${LANG:-en}"
|
||||
locale=$(echo $LANG | cut -c1-2)
|
||||
configuredClient=""
|
||||
|
|
|
@ -6,7 +6,7 @@ if [[ -d $HOME/.cache/ytview ]]; then rm -rf $HOME/.cache/ytview/; fi
|
|||
|
||||
player=""
|
||||
configuredClient=""
|
||||
currentVersion="1.19.2"
|
||||
currentVersion="1.20.0"
|
||||
flag=""
|
||||
|
||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||
|
|
Loading…
Reference in New Issue