wildling 2.0.5 → 2.0.7
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/README.md +10 -3
- data/exe/wildling +5 -0
- data/lib/wildling/wildling.rb +1 -1
- metadata +4 -4
- data/bin/wildling +0 -29
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71f6eef9d17da8cda55d893c789b0134b7e3c932cbff81d5a057c76a21dfc976
|
|
4
|
+
data.tar.gz: a8080bc8a66f756f3ad39bdb48db2f0b5d8c50f069aaf13f6341f9a723f40ca1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d74d5d3d3b97ddc77d3c9bf8b7d74fd85ed61121ecea0a029d1fda331656aceeb0af4957a93981c86cfe26a1149113a91f85ac047f568ab9683362b4c21a0e26
|
|
7
|
+
data.tar.gz: e70e217ca0554ed1e218f6ee588697096f2c1a3b197546f7da5b37e948dbd13588777881402b29d65e40f6e9f8725274a24a5398a90db5b89ce6470d3ae526e2
|
data/README.md
CHANGED
|
@@ -41,13 +41,18 @@ cd ruby
|
|
|
41
41
|
**Git (Bundler):**
|
|
42
42
|
|
|
43
43
|
```ruby
|
|
44
|
-
gem "wildling", git: "https://github.com/dotmonk/wildling.git", tag: "v2.0.
|
|
44
|
+
gem "wildling", git: "https://github.com/dotmonk/wildling.git", tag: "v2.0.7", glob: "ruby/wildling.gemspec"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
**Registry:**
|
|
47
|
+
**Registry:**
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
gem install wildling
|
|
51
|
+
wildling "Year 19##"
|
|
52
|
+
```
|
|
48
53
|
|
|
49
54
|
```ruby
|
|
50
|
-
|
|
55
|
+
require "wildling"
|
|
51
56
|
|
|
52
57
|
wildling = Wildling.create(["Year 19##"])
|
|
53
58
|
value = wildling.next
|
|
@@ -57,6 +62,8 @@ while value != false
|
|
|
57
62
|
end
|
|
58
63
|
```
|
|
59
64
|
|
|
65
|
+
The published gem’s executable is a Ruby stub under `exe/` (so `gem install` + `wildling` works). The monorepo `./bin/wildling` is a separate shell launcher with a Docker fallback when `ruby` is missing. Gems through **2.0.6** shipped a shell script as the Rubygems executable (broken under `gem install`); use `ruby "$(gem contents wildling | grep bin/wildling.rb)"` as a workaround, or install a newer gem once published.
|
|
66
|
+
|
|
60
67
|
## CLI
|
|
61
68
|
|
|
62
69
|
```bash
|
data/exe/wildling
ADDED
data/lib/wildling/wildling.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wildling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dotmonk
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Enumerate pattern combinations for wordlists, domains, and test data.
|
|
14
14
|
email:
|
|
@@ -19,8 +19,8 @@ extensions: []
|
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- README.md
|
|
22
|
-
- bin/wildling
|
|
23
22
|
- bin/wildling.rb
|
|
23
|
+
- exe/wildling
|
|
24
24
|
- help.txt
|
|
25
25
|
- lib/wildling.rb
|
|
26
26
|
- lib/wildling/cli.rb
|
data/bin/wildling
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
3
|
-
ROOT="$(cd "$DIR/.." && pwd)"
|
|
4
|
-
ENTRY="$DIR/wildling.rb"
|
|
5
|
-
|
|
6
|
-
ensure_help() {
|
|
7
|
-
if [ ! -f "$ROOT/lib/wildling/help.txt" ] && [ -f "$ROOT/../docs/help.txt" ]; then
|
|
8
|
-
cp "$ROOT/../docs/help.txt" "$ROOT/lib/wildling/help.txt"
|
|
9
|
-
fi
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
if command -v ruby >/dev/null 2>&1; then
|
|
13
|
-
ensure_help
|
|
14
|
-
exec ruby "$ENTRY" "$@"
|
|
15
|
-
fi
|
|
16
|
-
|
|
17
|
-
ensure_help
|
|
18
|
-
if [ ! -f "$ROOT/lib/wildling/help.txt" ]; then
|
|
19
|
-
echo "help.txt missing. Run ruby/build.sh first." >&2
|
|
20
|
-
exit 1
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
exec docker run --rm \
|
|
24
|
-
-v "$ROOT:/app:ro" \
|
|
25
|
-
-v "$(pwd):/work" \
|
|
26
|
-
-w /work \
|
|
27
|
-
--network=host \
|
|
28
|
-
ruby:3.3-alpine \
|
|
29
|
-
ruby /app/bin/wildling.rb "$@"
|