Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj committed Oct 28, 2023
1 parent 65ab22f commit 16a1e32
Show file tree
Hide file tree
Showing 27 changed files with 272 additions and 57 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
haiti-hash (1.5.0)
haiti-hash (2.0.0)
docopt (~> 0.6)
paint (~> 2.2)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A CLI tool (and library) to identify hash types (hash type identifier).

## Features

- 519+ hash types detected
- 632+ hash types detected
- Modern algorithms supported (SHA3, Keccak, Blake2, etc.)
- Hashcat and John the Ripper references
- CLI tool & library
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
version: '3'
services:
haiti:
image: noraj/haiti:1.5.0
image: noraj/haiti:2.0.0
user: noraj
container_name: haiti
read_only: false
build:
context: .
dockerfile: Dockerfile
args:
HAITI_VERSION: 1.5.0
HAITI_VERSION: 2.0.0
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [unreleased]

## [2.0.0]

- **Breaking changes**:
- **Drop** Ruby 2.5 support, [EOL since 05/04/2021](https://www.ruby-lang.org/en/downloads/branches/) and not supported by Rubocop since [1.29.0](https://github.com/rubocop/rubocop/releases/tag/v1.29.0)
- **Drop** Ruby 2.6 support, [EOL since 12/04/2021](https://www.ruby-lang.org/en/downloads/branches/) and not supported by Rubocop since [1.51.0](https://github.com/rubocop/rubocop/releases/tag/v1.51.0)
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A CLI tool (and library) to identify hash types (hash type identifier).

## Features

- 519+ hash types detected
- 632+ hash types detected
- Modern algorithms supported (SHA3, Keccak, Blake2, etc.)
- Hashcat and John the Ripper references
- CLI tool & library
Expand Down
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> _**HA**sh **I**den**T**if**I**er_
- 519+ hash types detected
- 632+ hash types detected
- Modern algorithms supported (SHA3, Keccak, Blake2, etc.)
- Hashcat and John the Ripper references
- CLI tool & library
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $ git clone https://github.com/noraj/haiti.git
$ cd haiti
$ docker-compose build
# alternatively without docker compose
$ docker build -f Dockerfile -t haiti:1.5.0 --build-arg HAITI_VERSION=1.5.0 .
$ docker build -f Dockerfile -t haiti:2.0.0 --build-arg HAITI_VERSION=2.0.0 .
```

Usage examples:
Expand All @@ -98,7 +98,7 @@ host: `docker.io`
$ docker pull noraj/haiti
# specific tag
$ docker pull noraj/haiti:1.5.0
$ docker pull noraj/haiti:2.0.0
```

Usage examples:
Expand All @@ -120,7 +120,7 @@ host: `ghcr.io`
$ docker pull ghcr.io/noraj/haiti
# specific tag
$ docker pull ghcr.io/noraj/haiti:1.5.0
$ docker pull ghcr.io/noraj/haiti:2.0.0
```

Usage examples:
Expand All @@ -142,7 +142,7 @@ host: `registry-intl.eu-central-1.aliyuncs.com`
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/haiti
# specific tag
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/haiti:1.5.0
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/haiti:2.0.0
```

Usage examples:
Expand All @@ -162,7 +162,7 @@ host: `quay.io`
$ docker pull quay.io/noraj/haiti
# specific tag
$ docker pull quay.io/noraj/haiti:1.5.0
$ docker pull quay.io/noraj/haiti:2.0.0
```

Usage examples:
Expand Down
21 changes: 15 additions & 6 deletions docs/pages/publishing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Publishing

Edit the new version number in:

- `lib/haiti/version.rb`
- `man/haiti.ronn`
- `docker-compose.yml`
- `docs/pages/install.md`
- `docs/pages/publishing.md`
- search for others

Be sure all **tests** pass!

```
Expand Down Expand Up @@ -40,7 +49,7 @@ $ bundle exec rake create_manpage
Create an **annotated git tag**:

```
$ git tag -a v1.5.0
$ git tag -a v2.0.0
```

Push the changes including the tags:
Expand All @@ -60,7 +69,7 @@ $ bundle exec rake build
Push the new gem release on **RubyGems** See https://guides.rubygems.org/publishing/.

```
$ gem push haiti-hash-1.5.0.gem
$ gem push haiti-hash-2.0.0.gem
```

## Docker container registries
Expand All @@ -70,7 +79,7 @@ $ gem push haiti-hash-1.5.0.gem
### **Docker Hub**

```
$ export HAITI_VERSION=1.5.0
$ export HAITI_VERSION=2.0.0
$ docker build -f Dockerfile -t noraj/haiti:$HAITI_VERSION --build-arg HAITI_VERSION=$HAITI_VERSION .
$ docker build -f Dockerfile -t noraj/haiti:latest --build-arg HAITI_VERSION=$HAITI_VERSION .
Expand All @@ -86,7 +95,7 @@ $ docker push docker.io/noraj/haiti:latest
GHCR = Github Container Registry

```
$ export HAITI_VERSION=1.5.0
$ export HAITI_VERSION=2.0.0
$ docker build -f Dockerfile -t ghcr.io/noraj/haiti:$HAITI_VERSION --build-arg HAITI_VERSION=$HAITI_VERSION .
$ docker build -f Dockerfile -t ghcr.io/noraj/haiti:latest --build-arg HAITI_VERSION=$HAITI_VERSION .
Expand All @@ -103,7 +112,7 @@ $ docker push ghcr.io/noraj/haiti:latest
ACR = Alibaba Cloud Container Registry

```
$ export HAITI_VERSION=1.5.0
$ export HAITI_VERSION=2.0.0
$ docker build -f Dockerfile -t registry-intl.eu-central-1.aliyuncs.com/noraj/haiti:$HAITI_VERSION --build-arg HAITI_VERSION=$HAITI_VERSION .
$ docker build -f Dockerfile -t registry-intl.eu-central-1.aliyuncs.com/noraj/haiti:latest --build-arg HAITI_VERSION=$HAITI_VERSION .
Expand All @@ -117,7 +126,7 @@ $ docker push registry-intl.eu-central-1.aliyuncs.com/noraj/haiti:latest
### **Quay.io**

```
$ export HAITI_VERSION=1.5.0
$ export HAITI_VERSION=2.0.0
$ docker build -f Dockerfile -t quay.io/noraj/haiti:$HAITI_VERSION --build-arg HAITI_VERSION=$HAITI_VERSION .
$ docker build -f Dockerfile -t quay.io/noraj/haiti:latest --build-arg HAITI_VERSION=$HAITI_VERSION .
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```
$ haiti -h
HAITI (HAsh IdenTifIer) v1.5.0
HAITI (HAsh IdenTifIer) v2.0.0
Usage:
haiti [options] list
Expand Down
2 changes: 1 addition & 1 deletion docs/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for now.

Tool | Maintained | Color | Ref. | Library | Lang | :hash: | :1234:
---------------------|------------|-------|------|---------|------|---------------|---
[haiti][0] | ✅ (2019-now) | ✅ | ✅ | ✅ | 💎 | ✅ | 519+
[haiti][0] | ✅ (2019-now) | ✅ | ✅ | ✅ | 💎 | ✅ | 632+
[hashID][1] | ❌ (2013-2015) | ❌ | ✅ | ❌ | 🐍 | ⭕️ | 275
[hash-identifier][2] | ❌ (2011-2011) | ❌ | ❌ | ❌ | 🐍 | ❌ | ~126
[Dagon][3] | ❌ (2017-2018) | ⭕️ | ❌ | ❌ | 🐍 | ⭕️ | ~48
Expand Down
Loading

0 comments on commit 16a1e32

Please sign in to comment.