chemomer 1.0.0.0 → 1.0.1.0

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: 181d84cfaa315baaf9427a69852539de93b0a66ac9d03f5112b86993e8f0f41b
4
- data.tar.gz: ba2e87b669ad6ca28e5d867e4ec3ae89218ae4bbf9c2777c6bd23e1cb41020bc
3
+ metadata.gz: 5d82770ee66ecaa22f7b9f7dec9c5f76fc9362e10991196334d72b537b9197d4
4
+ data.tar.gz: 7a36ce51729d55a8546ccf59ce9eb52f2fec8f31668075e1ba4c983737f459c7
5
5
  SHA512:
6
- metadata.gz: abc0e1755c79347c0aa018131ca52dc2125e499004d83ae3c6a6781cf8bee127f5d2909eaf145cfa10a74804861baa7dde2ee54d15a4cf460cf405f5c5188117
7
- data.tar.gz: 73d2e44d4c5869eeb516fad2403aa49767352c52e3af86d2b0e8b43b41bf5b83fb45656d88fc26f1ed874b6c14fb8984f2a45c17dd0da640b6931ef188cf90be
6
+ metadata.gz: 12044208b2087b1438200d6c782661e3415779ca51b53e9974310e9a55820112c62d74cca7e64318de688493ea444b5dfe7d03e78fb4d74b7f3c2c3744b09524
7
+ data.tar.gz: dff19c9fc4d77ca883a03e98609d073a3a5ba7768513adb020eeeb70405004dae942ca39041def5e9fd1dcbc09b2e64e7eb597a8cda3e3d817d6629281816f36
@@ -5,6 +5,13 @@ on:
5
5
  push:
6
6
  branches: [main]
7
7
 
8
+ env:
9
+ # Hermetic CI: the engine ref and the oracle corpus ref are pinned,
10
+ # never floating. Bump these lines deliberately with each engine
11
+ # ride (the tag carries what changed).
12
+ ENGINE_REF: v1.0.1
13
+ CORPUS_REF: v0.3.41
14
+
8
15
  jobs:
9
16
  rspec:
10
17
  strategy:
@@ -20,16 +27,25 @@ jobs:
20
27
  ruby-version: ${{ matrix.ruby }}
21
28
  bundler-cache: true
22
29
  # The gem drives the engine through its C ABI — no engine code is
23
- # vendored, so CI builds the cdylib from the engine's main (the
24
- # shared contract) and points the suite at it. Specs that need
25
- # the dylib gate on CHEMOMER_LIB; the rest run everywhere.
30
+ # vendored, so CI builds the cdylib from the engine at the pinned
31
+ # tag (the shared contract) and points the suite at it. Specs
32
+ # that need the dylib gate on CHEMOMER_LIB; the rest run
33
+ # everywhere.
26
34
  - uses: dtolnay/rust-toolchain@stable
27
- - name: Build the chemomer cdylib
35
+ - name: Build the chemomer cdylib at $ENGINE_REF
28
36
  run: |
29
- git clone --depth 1 https://github.com/chemomer/chemomer engine
37
+ git clone --depth 1 --branch "$ENGINE_REF" https://github.com/chemomer/chemomer engine
30
38
  cargo build --release --manifest-path engine/Cargo.toml
31
39
  - name: Point CHEMOMER_LIB at the built dylib
32
40
  run: |
33
41
  lib=$(ls engine/target/release/libchemomer.dylib engine/target/release/libchemomer.so 2>/dev/null | head -1)
34
42
  echo "CHEMOMER_LIB=$PWD/$lib" >> "$GITHUB_ENV"
43
+ - name: Clone the inchi-tests oracle corpus at $CORPUS_REF
44
+ uses: actions/checkout@v7
45
+ with:
46
+ repository: chemomer/inchi-tests
47
+ ref: ${{ env.CORPUS_REF }}
48
+ path: .inchi-tests
49
+ - name: Point INCHI_TESTS at the corpus
50
+ run: echo "INCHI_TESTS=$PWD/.inchi-tests" >> "$GITHUB_ENV"
35
51
  - run: bundle exec rspec
@@ -5,5 +5,5 @@ module Chemomer
5
5
  # chemomer-py): the chemomer engine release this gem wraps (0.1.0)
6
6
  # plus the gem's own runtime counter (1). An engine bump resets the
7
7
  # counter (0.2.0.1); a runtime-only fix increments it (0.1.0.2).
8
- VERSION = "1.0.0.0"
8
+ VERSION = "1.0.1.0"
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chemomer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.0
4
+ version: 1.0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.