coatepec 0.4.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/exe/coatepec-worker +14 -0
- data/lib/coatepec/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: c0db2635670e0fdfe695b2ba6b7fa8ffb6d1aa0400adf39eaee7bfc567e1c810
|
|
4
|
+
data.tar.gz: a236a2a6a096632f35d1442fad90656f3606389593b05baec61ad0c9dcbdf7ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cff582a4b6aa94543265820d79f28769e1a5f5cca3b121f68ce8493d6a08c6f472628e6a81ff15f69f75d9b1f547233010957264fadd86cb554c86d54796b74
|
|
7
|
+
data.tar.gz: 79e09341a8ae0780da47ec7ab12953fea0cb8eb912f18582e6c21c27f99161b1d1cd1f6881c4f8029c4611deab6df3b8193bd56a902bcc651a50e408b06f421e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.1
|
|
4
|
+
|
|
5
|
+
- Fix `exe/coatepec-worker` booting against a target app whose locally
|
|
6
|
+
installed default-gem versions (e.g. `json`) differ from what its
|
|
7
|
+
`Gemfile.lock` pins: `require "bundler/setup"` now runs before
|
|
8
|
+
`require "coatepec"` itself, so Bundler can pin default gems before
|
|
9
|
+
Ruby auto-activates a newer locally installed version and locks it in
|
|
10
|
+
for the rest of the process. Previously this broke every coatepec call
|
|
11
|
+
against such an app with `already activated X, but your Gemfile
|
|
12
|
+
requires Y`.
|
|
13
|
+
|
|
3
14
|
## 0.4.0
|
|
4
15
|
|
|
5
16
|
- Add `enums` to `rails_model`'s output, sourced from ActiveRecord's own
|
data/exe/coatepec-worker
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
+
# Must run before any other require, including "coatepec" itself. Ruby
|
|
5
|
+
# auto-activates the newest installed version of a default gem (json,
|
|
6
|
+
# among others) the moment anything requires it, and a gem version can't
|
|
7
|
+
# be changed once activated -- so if that happens before Bundler pins
|
|
8
|
+
# versions to what the target app's Gemfile.lock actually specifies,
|
|
9
|
+
# Bundler.setup then fails with "already activated X, but your Gemfile
|
|
10
|
+
# requires Y" for any default gem that happens to have a newer version
|
|
11
|
+
# installed locally than what's locked. require "coatepec" below pulls in
|
|
12
|
+
# "json" (via protocol.rb) as its very first transitive require, so it's
|
|
13
|
+
# exactly the kind of require this has to run ahead of.
|
|
14
|
+
# Worker::Client#spawn_worker already sets BUNDLE_GEMFILE to the target
|
|
15
|
+
# app's Gemfile before this process starts.
|
|
16
|
+
require "bundler/setup"
|
|
17
|
+
|
|
4
18
|
require "coatepec"
|
|
5
19
|
|
|
6
20
|
# Preserve a real handle to the OS stdout fd for the private NDJSON
|
data/lib/coatepec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coatepec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Enrique Mogollan
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-08-
|
|
10
|
+
date: 2026-08-03 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: mcp
|