wordlist 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +5 -4
- data/ChangeLog.md +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +5 -0
- data/lib/wordlist/abstract_wordlist.rb +1 -1
- data/lib/wordlist/builder.rb +5 -5
- data/lib/wordlist/cli.rb +3 -3
- data/lib/wordlist/compression/reader.rb +1 -1
- data/lib/wordlist/compression/writer.rb +1 -1
- data/lib/wordlist/file.rb +4 -4
- data/lib/wordlist/format.rb +1 -1
- data/lib/wordlist/lexer/stop_words.rb +1 -1
- data/lib/wordlist/lexer.rb +2 -2
- data/lib/wordlist/list_methods.rb +2 -2
- data/lib/wordlist/modifiers/capitalize.rb +1 -1
- data/lib/wordlist/modifiers/downcase.rb +1 -1
- data/lib/wordlist/modifiers/gsub.rb +1 -1
- data/lib/wordlist/modifiers/mutate.rb +1 -1
- data/lib/wordlist/modifiers/mutate_case.rb +1 -1
- data/lib/wordlist/modifiers/sub.rb +1 -1
- data/lib/wordlist/modifiers/tr.rb +1 -1
- data/lib/wordlist/modifiers/upcase.rb +1 -1
- data/lib/wordlist/modifiers.rb +8 -8
- data/lib/wordlist/operators/binary_operator.rb +1 -1
- data/lib/wordlist/operators/concat.rb +1 -1
- data/lib/wordlist/operators/intersect.rb +2 -2
- data/lib/wordlist/operators/power.rb +2 -2
- data/lib/wordlist/operators/product.rb +1 -1
- data/lib/wordlist/operators/subtract.rb +2 -2
- data/lib/wordlist/operators/unary_operator.rb +1 -1
- data/lib/wordlist/operators/union.rb +2 -2
- data/lib/wordlist/operators/unique.rb +2 -2
- data/lib/wordlist/operators.rb +7 -7
- data/lib/wordlist/version.rb +1 -1
- data/lib/wordlist.rb +4 -4
- data/wordlist.gemspec +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8257ee6c587ba685ac202f3c4839739312397c00b85af8b3a954fac4d889bf25
|
4
|
+
data.tar.gz: d75c4cd68b7d3eb5e05399b8f38d155cadd6dd6caeb06787c84e1872e9cf8467
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23f77e8df9ad6a77fa21df3d47840b0938d5b562473ec40abd1823e21c06f3d456a0af28685cbc1522684948da798afc8287c13d5fe674c119ed53e9f715fd4e
|
7
|
+
data.tar.gz: 9e41f171d870b0b2868697407669bcb20a48e110b4ed6a7739cae09faba75ce42b634723793b403724bdd3acf557d74c9d7787a4f34de12646886e204a242a93
|
data/.github/workflows/ruby.yml
CHANGED
@@ -12,14 +12,15 @@ jobs:
|
|
12
12
|
- ubuntu-latest
|
13
13
|
- macos-latest
|
14
14
|
ruby:
|
15
|
-
- 3.0
|
16
|
-
- 3.1
|
17
|
-
- 3.2
|
15
|
+
- '3.0'
|
16
|
+
- '3.1'
|
17
|
+
- '3.2'
|
18
|
+
- '3.3'
|
18
19
|
- jruby
|
19
20
|
- truffleruby
|
20
21
|
name: OS ${{ matrix.os }} / Ruby ${{ matrix.ruby }}
|
21
22
|
steps:
|
22
|
-
- uses: actions/checkout@
|
23
|
+
- uses: actions/checkout@v4
|
23
24
|
- name: Set up Ruby
|
24
25
|
uses: ruby/setup-ruby@v1
|
25
26
|
with:
|
data/ChangeLog.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -224,6 +224,11 @@ builder.parse_file(path)
|
|
224
224
|
## Requirements
|
225
225
|
|
226
226
|
* [ruby] >= 3.0.0
|
227
|
+
* `zcat`/`gzip` (for reading/writing `.gz` wordlists)
|
228
|
+
* `bzcat`/`bzip2` (for reading/writing `.bz2` wordlists)
|
229
|
+
* `xzcat`/`xz` (for reading/writing `.xz` wordlists)
|
230
|
+
* `unzip`/`zip` (for reading/writing `.zip` wordlists)
|
231
|
+
* `7za` (for reading/writing `.7z` wordlists)
|
227
232
|
|
228
233
|
[ruby]: https://www.ruby-lang.org/
|
229
234
|
|
data/lib/wordlist/builder.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
require_relative 'format'
|
3
|
+
require_relative 'lexer'
|
4
|
+
require_relative 'unique_filter'
|
5
|
+
require_relative 'file'
|
6
|
+
require_relative 'compression/writer'
|
7
7
|
|
8
8
|
module Wordlist
|
9
9
|
#
|
data/lib/wordlist/cli.rb
CHANGED
data/lib/wordlist/file.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
require_relative 'abstract_wordlist'
|
3
|
+
require_relative 'exceptions'
|
4
|
+
require_relative 'format'
|
5
|
+
require_relative 'compression/reader'
|
6
6
|
|
7
7
|
module Wordlist
|
8
8
|
#
|
data/lib/wordlist/format.rb
CHANGED
data/lib/wordlist/lexer.rb
CHANGED
data/lib/wordlist/modifiers.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
require_relative 'modifiers/tr'
|
3
|
+
require_relative 'modifiers/sub'
|
4
|
+
require_relative 'modifiers/gsub'
|
5
|
+
require_relative 'modifiers/capitalize'
|
6
|
+
require_relative 'modifiers/upcase'
|
7
|
+
require_relative 'modifiers/downcase'
|
8
|
+
require_relative 'modifiers/mutate'
|
9
|
+
require_relative 'modifiers/mutate_case'
|
data/lib/wordlist/operators.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
require_relative 'operators/concat'
|
3
|
+
require_relative 'operators/subtract'
|
4
|
+
require_relative 'operators/product'
|
5
|
+
require_relative 'operators/power'
|
6
|
+
require_relative 'operators/intersect'
|
7
|
+
require_relative 'operators/union'
|
8
|
+
require_relative 'operators/unique'
|
data/lib/wordlist/version.rb
CHANGED
data/lib/wordlist.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
require_relative 'wordlist/words'
|
3
|
+
require_relative 'wordlist/file'
|
4
|
+
require_relative 'wordlist/builder'
|
5
|
+
require_relative 'wordlist/version'
|
6
6
|
|
7
7
|
module Wordlist
|
8
8
|
#
|
data/wordlist.gemspec
CHANGED
@@ -7,10 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
|
8
8
|
gem.name = gemspec.fetch('name')
|
9
9
|
gem.version = gemspec.fetch('version') do
|
10
|
-
|
11
|
-
$LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
|
12
|
-
|
13
|
-
require 'wordlist/version'
|
10
|
+
require_relative 'lib/wordlist/version'
|
14
11
|
Wordlist::VERSION
|
15
12
|
end
|
16
13
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordlist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|