kbs 0.2.0 → 0.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/lib/kbs/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07983aed0abb377d018730407ad0afb8280c228558d991d20d693adaccb6ba7
4
- data.tar.gz: 2ac8ae8057eca02225fc7756e6f4c47201488a6c58a6f3d05707f32bdf12924b
3
+ metadata.gz: a911e3e7948e5e31bf7cd4f8a4ddb0c8e28964dc29d727391588119626c79160
4
+ data.tar.gz: 678fd624d18377b944f8a747ed14105f0ee4786b49919d9492952ec91d3b9914
5
5
  SHA512:
6
- metadata.gz: e0cf306fc89d5d31a0887d753c975e6f6a875aa38216d846c0ba15110dd9d05a7f6d549bfd68a96383d094ca26fd469ba23775582fe28ef60e7c4c06d674260e
7
- data.tar.gz: c6b9bd27687f2d220f0167b111057b76e2a3d70d9cef3ae9b112034951d926bd4180f2e3d1c035ce3228064499974ec5e66db80e8e88293e6192fcf9a143f5a5
6
+ metadata.gz: 2bf7222f147a9279c25b66a182b0e9ca9f198207a1b8e1ac96b477d2e6ebc4c45f8552501f0e6d62d516c3800f4e8824674fd1990c2865e54efa9d1cc40543c1
7
+ data.tar.gz: c26c98beba1576d766b8017b92eb31943c9a5640d0cc7a2ac16145dcbc596a858109892419844922bb4d36d4e09221c84ed220e2756e299636813d2a2c1d3690
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2026-02-26
4
+
5
+ ### Added
6
+ - **Rule Source Introspection**: New `rule_source` and `print_rule_source` methods on `KnowledgeBase` to retrieve and display the DSL source code for any rule by name
7
+ - **Rule Decompiler**: `KBS::Decompiler` can reconstruct source for dynamically-created rules from Proc and Lambda objects
8
+ - **Working Memory Reset**: `KnowledgeBase#reset` now clears working memory while preserving the compiled rule network, enabling reuse with different initial facts
9
+ - **Rule Source Introspection Demo**: New `examples/rule_source_introspection_demo.rb` showcasing both file-based and dynamic rule source retrieval
10
+
11
+ ### Changed
12
+ - **README rewritten to use DSL API**: Removed references to `KBS::ReteEngine` and `KBS::Rule`; all examples now use the DSL-based `KnowledgeBase` API
13
+ - **Dependencies bumped**: minitest updated to ~> 5.26
14
+
15
+ ### Removed
16
+ - Deleted obsolete `expert-systems` example
17
+ - Deleted `DOCUMENTATION_STATUS.md`
18
+
19
+ ### Fixed
20
+ - Updated `perform` method signatures in API documentation
21
+
3
22
  ## [0.1.0] - 2025-10-09
4
23
 
5
24
  ### Added
data/lib/kbs/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KBS
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer