fhirpath 0.2.0.pre5 → 0.2.0.pre6
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 +1 -1
- data/lib/fhirpath/version.rb +1 -1
- 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: 91c94659f15a0d3b56fadc1af248e1580ec706852f6b45bcdc3cd12201b90cc2
|
|
4
|
+
data.tar.gz: 4e81e0c399f03c91963d58c0c8620d46a9326ddb13978ef569fdf406ee74a06b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90675210351495016dfdbeb09b8abdc00e116ee86129379667471e129395b006da7e6fd69fa7cc1013d41ce41dd0d4cf01b1ab8eaca84b9793a828586df2090e
|
|
7
|
+
data.tar.gz: 482d0ca9d95920b32a451fbae77afe34e486c536c4617329ed3b4fe561e8e42975d0d2c60054379885f95fe683d859f21bfdd8b657b28f823e08a0f55014f34f
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ All notable changes to this project are documented here. The project is pre-1.0;
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [0.2.0.
|
|
7
|
+
## [0.2.0.pre6] - 2026-09-08
|
|
8
8
|
- Add the `aggregate()` function with `$this`, `$total`, and `$index` variables for general-purpose collection aggregation (issue #43). The function signature is `aggregate(expression, initial)` where the expression is evaluated per item with the accumulator as `$total`. Empty collections return the initial value (or empty if omitted). Closes issue #43.
|
|
9
9
|
- Add keyword-named functions (`contains`, `in`) usable after member access (`Patient.name.contains('John')`) — the lexer previously classified these as binary operators only, preventing function-call syntax after `.` (issue #66). Also registers both as standard functions with arity 1.
|
|
10
10
|
- Accept raw JSON strings in `FHIRPath.evaluate()` and `CompiledExpression#evaluate`: strings starting with `{` or `[` after optional whitespace are parsed via `JSON.parse` once per call; malformed JSON raises `JSONInputError` (code `:invalid_json`); `Hash`/`Array` inputs pass through unchanged; other strings remain singleton string values (issue #56).
|
data/lib/fhirpath/version.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module FHIRPath
|
|
4
|
-
VERSION = '0.2.0.
|
|
4
|
+
VERSION = '0.2.0.pre6'
|
|
5
5
|
# A stable release requires the complete release gate to be deliberately
|
|
6
6
|
# promoted. Keep pre-release status explicit while the shared-suite and
|
|
7
7
|
# model-adapter work remains incomplete.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fhirpath
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.0.
|
|
4
|
+
version: 0.2.0.pre6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicco Reyes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigdecimal
|