yara-ffi 4.2.0 → 4.2.1
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/CHANGELOG.md +4 -0
- data/DEVELOPMENT.md +2 -1
- data/Gemfile.lock +2 -2
- data/bin/console +2 -6
- data/lib/yara/version.rb +1 -1
- data/lib/yara.rb +0 -1
- data/script/console +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1022c978d0f5b254a52b74120a13544c6f5a58b33cfbcc07caf2fe63201a345
|
|
4
|
+
data.tar.gz: 78532f1107e17fc42f3cffabd66ece9bbaf4d6aa3717768f77078ac9f65b657d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbb804c64c903d700e7c67282df7ac864cc144e799309c40071d749cc500303eced0617d1814f7c6c2e290318e04656821554b59214fe1e121224c5a90bdc10b
|
|
7
|
+
data.tar.gz: 1442320f8934e2872a2d988f8e5cd2533a28e1247465181fb4bd9aacf62b9fc8c61c421af11be12630b40700ceb4d8e4d6d15903206d04185eea885360e202d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [4.2.1] - 2026-10-22
|
|
4
|
+
|
|
5
|
+
- **FIXED**: Removed the development-only `pry` require from the runtime load path while retaining `pry` in development and test entry points, with regression coverage for loading the built gem without development or test dependencies ([#28](https://github.com/jonmagic/yara-ffi/pull/28), contributed by [@alessandro-fazzi](https://github.com/alessandro-fazzi))
|
|
6
|
+
|
|
3
7
|
## [4.2.0] - 2025-11-13
|
|
4
8
|
|
|
5
9
|
- **NEW**: Added rule iteration API for inspecting compiled rules without scanning
|
data/DEVELOPMENT.md
CHANGED
|
@@ -22,6 +22,7 @@ The project includes several convenience scripts in the `script/` directory:
|
|
|
22
22
|
|
|
23
23
|
- `script/bootstrap` - Sets up the development environment (builds Docker image)
|
|
24
24
|
- `script/test` - Runs the test suite in the Docker container
|
|
25
|
+
- `script/console` - Runs a pry interactive console in the Docker container
|
|
25
26
|
|
|
26
27
|
## Running Tests
|
|
27
28
|
|
|
@@ -59,7 +60,7 @@ For an interactive development session, you can start a console in the container
|
|
|
59
60
|
docker run -it --mount type=bind,src="$(pwd)",dst=/app yara-ffi bin/console
|
|
60
61
|
```
|
|
61
62
|
|
|
62
|
-
This gives you
|
|
63
|
+
This gives you a Pry session with the gem loaded for experimentation.
|
|
63
64
|
|
|
64
65
|
## Development Environment Details
|
|
65
66
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
yara-ffi (4.2.
|
|
4
|
+
yara-ffi (4.2.1)
|
|
5
5
|
ffi
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -48,7 +48,7 @@ GEM
|
|
|
48
48
|
ruby-progressbar (1.13.0)
|
|
49
49
|
unicode-display_width (3.2.0)
|
|
50
50
|
unicode-emoji (~> 4.1)
|
|
51
|
-
unicode-emoji (4.
|
|
51
|
+
unicode-emoji (4.3.0)
|
|
52
52
|
|
|
53
53
|
PLATFORMS
|
|
54
54
|
aarch64-linux
|
data/bin/console
CHANGED
|
@@ -7,9 +7,5 @@ require "yara"
|
|
|
7
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
8
|
# with your gem easier. You can also use a different console, if you like.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# Pry.start
|
|
13
|
-
|
|
14
|
-
require "irb"
|
|
15
|
-
IRB.start(__FILE__)
|
|
10
|
+
require "pry"
|
|
11
|
+
Pry.start
|
data/lib/yara/version.rb
CHANGED
data/lib/yara.rb
CHANGED
data/script/console
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yara-ffi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Hoyt
|
|
@@ -56,6 +56,7 @@ files:
|
|
|
56
56
|
- lib/yara/scanner.rb
|
|
57
57
|
- lib/yara/version.rb
|
|
58
58
|
- script/bootstrap
|
|
59
|
+
- script/console
|
|
59
60
|
- script/test
|
|
60
61
|
- yara-ffi.gemspec
|
|
61
62
|
homepage: https://github.com/jonmagic/yara-ffi
|
|
@@ -79,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
80
|
- !ruby/object:Gem::Version
|
|
80
81
|
version: '0'
|
|
81
82
|
requirements: []
|
|
82
|
-
rubygems_version:
|
|
83
|
+
rubygems_version: 4.0.20
|
|
83
84
|
specification_version: 4
|
|
84
85
|
summary: A Ruby API to YARA-X.
|
|
85
86
|
test_files: []
|