asciichem 0.31.7 → 0.31.8
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 +8 -0
- data/lib/asciichem/smiles/writer.rb +1 -1
- data/lib/asciichem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 040c17f14243ee3dfa4ecb2c5db7f961aa91a10768118977cd01d48a209650a7
|
|
4
|
+
data.tar.gz: 9320019d60542569b130dd57e332b5e9afe4ff6641254d680e73f2b965977ecf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a923467ce4e6e857f4175c5c335de6bb1116c5426c78828b328fccc6621a6c9313809ee93d82f2de1a35fc14114f1d77a1220f453e4c59af2fa3eac6e5c4aa2
|
|
7
|
+
data.tar.gz: 63b55738186c1f4b2e98bd38b71b2af97b01946ee9715d44f934c364df26b1f1b79e29d9e072c34cd264e384f475fa0b4e8ce64719a2d7844a3e9db5f8da489f
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to AsciiChem are documented here.
|
|
4
4
|
This project follows [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [0.31.8] - 2026-10-22
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- The SMILES writer joins the strict structure decline (a line
|
|
10
|
+
missed in 0.31.7's staging): `to_smiles` no longer silently
|
|
11
|
+
fragments undashed text — `C1=CC=CC=C1` declines with guidance
|
|
12
|
+
like the molfile writer.
|
|
13
|
+
|
|
6
14
|
## [0.31.7] - 2026-10-22
|
|
7
15
|
|
|
8
16
|
### Fixed
|
|
@@ -34,7 +34,7 @@ module AsciiChem
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def write
|
|
37
|
-
atoms, edges = Structure::Graph.build(@molecule)
|
|
37
|
+
atoms, edges = Structure::Graph.build!(@molecule)
|
|
38
38
|
# A single-atom component is valid SMILES (water "O", ions);
|
|
39
39
|
# multiple atoms with no bonds is a formula, not a structure.
|
|
40
40
|
raise ParseError, 'molecule has no bonds — a formula is not a structure' if edges.empty? && atoms.length > 1
|
data/lib/asciichem/version.rb
CHANGED