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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64f4629dc9bbc023f63f306a064c9657564557ed8c4b52bbda18ca15b253aaeb
4
- data.tar.gz: f9f3534aada7d42cd45c22469557e554cd6ea1d2e35af17229fd306140dff24c
3
+ metadata.gz: 040c17f14243ee3dfa4ecb2c5db7f961aa91a10768118977cd01d48a209650a7
4
+ data.tar.gz: 9320019d60542569b130dd57e332b5e9afe4ff6641254d680e73f2b965977ecf
5
5
  SHA512:
6
- metadata.gz: 5a172b80e7f6d433f20da0c9d741f999f84699ce9a71b0c96319d30ce8e73928dfcd7ac5e02eebd61466a3500430f64733007c7714ffd7a87ea0b3c4d0e34464
7
- data.tar.gz: 367240a813ebb1fd22f35dd4421245f5d66f57c4af3000ed51c874b664d4fb4bb9ddf665a3e956bcfef74fc61767ed0711e1cc8c0d2df9db4239be9dcc3a0aa0
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AsciiChem
4
- VERSION = "0.31.7"
4
+ VERSION = "0.31.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciichem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.7
4
+ version: 0.31.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.