andromeda_cms 0.7.0 → 0.7.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 +16 -0
- data/README.md +0 -14
- data/lib/andromeda/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bde1931ffa5be3d639889a72d5313207373205be6e8d29303bd3138241dfa79
|
|
4
|
+
data.tar.gz: ea3d032420f6e0b5ca7316c896581b5a038ccd73e9e924b00a223b5be07e13c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 312ddc99a1d8a3abd5b47c63ddbc8493ca18e51300bef3ae9743061bd44ca3ad4b952d174f6a0749cd2403ba33435c58f24adcd1b6ca7283966c240883ff3b47
|
|
7
|
+
data.tar.gz: 2fe047ea4e0dcf8fab1956f32546a014da39951956f277ebc72a73060787c8af4a5927b97f43fd9e64f2993c7f71d2ef5b655bf76b6b6b90930a25741ce8f155
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.7.1] - 2026-11-08
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- The gem no longer restricts `json` to `< 3`, so applications can use
|
|
13
|
+
json 3. The bound worked around Rails 8.1 failing to decrypt session
|
|
14
|
+
cookies under json 3, which no longer happens: with json 3.1.0 the test
|
|
15
|
+
suite passes on Rails 8.0.5.1 and 8.1.4.1, and session cookies are
|
|
16
|
+
written and read back correctly on Rails 8.1.4.1.
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
|
|
20
|
+
- The README's Troubleshooting entry, which recommended pinning `json` to
|
|
21
|
+
2.x, is gone.
|
|
22
|
+
|
|
8
23
|
## [0.7.0] - 2026-10-16
|
|
9
24
|
|
|
10
25
|
### Changed
|
|
@@ -226,6 +241,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
226
241
|
- Generators: `andromeda:install`, `andromeda:collection`,
|
|
227
242
|
`andromeda:component` and `andromeda:import_astro`.
|
|
228
243
|
|
|
244
|
+
[0.7.1]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.7.1
|
|
229
245
|
[0.7.0]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.7.0
|
|
230
246
|
[0.6.3]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.6.3
|
|
231
247
|
[0.6.2]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.6.2
|
data/README.md
CHANGED
|
@@ -304,20 +304,6 @@ bundle exec rake # compiles the Rust extension, then runs the tests
|
|
|
304
304
|
bundle exec rake test:corpus # after test/fetch_corpus.sh: parse ~370 real Astro files
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
## Troubleshooting
|
|
308
|
-
|
|
309
|
-
**`ArgumentError: wrong number of arguments (given 2, expected 1)` from `JSON.parse`.**
|
|
310
|
-
Not this gem's code: Rails 8.1 calls `JSON.parse` with a positional options hash,
|
|
311
|
-
which version 3 of the `json` gem no longer accepts, and decrypting a session
|
|
312
|
-
cookie hits that path, so pages fail only once a session exists. The gem
|
|
313
|
-
restricts `json` to `< 3` to avoid this. If you are on an older andromeda_cms,
|
|
314
|
-
pin it in your own `Gemfile` until Rails ships a fix:
|
|
315
|
-
|
|
316
|
-
```ruby
|
|
317
|
-
# Gemfile
|
|
318
|
-
gem "json", "~> 2.9"
|
|
319
|
-
```
|
|
320
|
-
|
|
321
307
|
## Testing
|
|
322
308
|
|
|
323
309
|
To run model tests against entries that are not files under `app/content`,
|
data/lib/andromeda/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: andromeda_cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LIMHAUS Inc.
|
|
@@ -69,16 +69,16 @@ dependencies:
|
|
|
69
69
|
name: json
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- - "
|
|
72
|
+
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
74
|
+
version: '0'
|
|
75
75
|
type: :runtime
|
|
76
76
|
prerelease: false
|
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
|
-
- - "
|
|
79
|
+
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
81
|
+
version: '0'
|
|
82
82
|
description: |
|
|
83
83
|
Andromeda brings Astro's content collections to an ordinary Ruby on Rails
|
|
84
84
|
app. Markdown and MDX files copied from an Astro project are validated
|