trane 0.2.0 → 0.2.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 +15 -0
- data/config/routes.rb +8 -0
- data/lib/trane/version.rb +1 -1
- metadata +4 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15dba6b06367507e244932e3e2951fc09dbe0a43219edd7ad9d2b110b23b6599
|
|
4
|
+
data.tar.gz: 8ef665c037cde9c0be79336ad749a23055cf6973f9a73f92ca37bc0c05b2a933
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41df9927bece8008f621a03c3f1f9210cfc8a30413ef5a661472a3f33bd49af97135b0a1628d4828129866bee9820c96b9287a33659a9d7ea14fccb7546328ee
|
|
7
|
+
data.tar.gz: 46762216d0b9f83fae26a92f36d4c3628db58cc9c8ce6b8009f34feeb5392d89d9cf80673e94d18d02a89654b0b3a979d8a4d778f91e9a21875ad938276e96f8
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project will be 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.2.1] - 2026-09-01
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The gem now packages `config/routes.rb`. `spec.files` listed only `lib/` and
|
|
13
|
+
the three top-level documents, so the Engine's routes never shipped:
|
|
14
|
+
`mount Trane::Engine` gave an Engine with no routes and the documentation
|
|
15
|
+
endpoints answered **404** for anyone installing from rubygems.org. 0.1.0 and
|
|
16
|
+
0.2.0 are both affected — the bug is invisible to a host pinning the gem by
|
|
17
|
+
`git:`, which fetches the whole checkout, so it went unnoticed until a host
|
|
18
|
+
consumed the published gem. `spec/trane/packaging_spec.rb` now asserts the
|
|
19
|
+
packaged file list directly, since the rest of the suite runs against the
|
|
20
|
+
checkout and cannot see what the gemspec omits.
|
|
21
|
+
|
|
8
22
|
## [0.2.0] - 2026-08-27
|
|
9
23
|
|
|
10
24
|
### Added
|
|
@@ -64,5 +78,6 @@ First public release.
|
|
|
64
78
|
metadata raises by default (`on_missing_operation` opt-out), and
|
|
65
79
|
configuration setters reject unknown modes.
|
|
66
80
|
|
|
81
|
+
[0.2.1]: https://github.com/thisisqubika/trane/releases/tag/v0.2.1
|
|
67
82
|
[0.2.0]: https://github.com/thisisqubika/trane/releases/tag/v0.2.0
|
|
68
83
|
[0.1.0]: https://github.com/thisisqubika/trane/releases/tag/v0.1.0
|
data/config/routes.rb
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Routes for the Trane::Engine. The host mounts this engine at a path
|
|
4
|
+
# of its choice; everything under that mount goes to the docs Rack app,
|
|
5
|
+
# which dispatches HTML vs JSON by inspecting the request path.
|
|
6
|
+
Trane::Engine.routes.draw do
|
|
7
|
+
mount Trane::Docs::App.new => "/"
|
|
8
|
+
end
|
data/lib/trane/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ignacio Jorge
|
|
@@ -9,10 +9,9 @@ authors:
|
|
|
9
9
|
- Jose Bauzan
|
|
10
10
|
- Tomas Gallardo
|
|
11
11
|
- Gaston Gabadian
|
|
12
|
-
autorequire:
|
|
13
12
|
bindir: bin
|
|
14
13
|
cert_chain: []
|
|
15
|
-
date:
|
|
14
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
16
15
|
dependencies:
|
|
17
16
|
- !ruby/object:Gem::Dependency
|
|
18
17
|
name: railties
|
|
@@ -110,6 +109,7 @@ files:
|
|
|
110
109
|
- CHANGELOG.md
|
|
111
110
|
- LICENSE.txt
|
|
112
111
|
- README.md
|
|
112
|
+
- config/routes.rb
|
|
113
113
|
- lib/tasks/trane.rake
|
|
114
114
|
- lib/trane.rb
|
|
115
115
|
- lib/trane/boot_validator.rb
|
|
@@ -148,7 +148,6 @@ metadata:
|
|
|
148
148
|
bug_tracker_uri: https://github.com/thisisqubika/trane/issues
|
|
149
149
|
documentation_uri: https://github.com/thisisqubika/trane/tree/main/docs/wiki
|
|
150
150
|
rubygems_mfa_required: 'true'
|
|
151
|
-
post_install_message:
|
|
152
151
|
rdoc_options: []
|
|
153
152
|
require_paths:
|
|
154
153
|
- lib
|
|
@@ -163,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
163
162
|
- !ruby/object:Gem::Version
|
|
164
163
|
version: '0'
|
|
165
164
|
requirements: []
|
|
166
|
-
rubygems_version: 3.
|
|
167
|
-
signing_key:
|
|
165
|
+
rubygems_version: 3.6.9
|
|
168
166
|
specification_version: 4
|
|
169
167
|
summary: Contract enforcement and documentation layer for Rails APIs.
|
|
170
168
|
test_files: []
|