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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3eb96d97c26265354b111335bc4ff78fd0a28e2f028d1b089c70b510ab383ac
4
- data.tar.gz: 122bb9a55d1fc3bd172788461e3340dbb8997a40ea6c59fdd87188cb63a86f55
3
+ metadata.gz: 15dba6b06367507e244932e3e2951fc09dbe0a43219edd7ad9d2b110b23b6599
4
+ data.tar.gz: 8ef665c037cde9c0be79336ad749a23055cf6973f9a73f92ca37bc0c05b2a933
5
5
  SHA512:
6
- metadata.gz: '0680adde0a670926e373fd9c68b54be61a11349a66cfb4ce075e0ceb26af17415d6ba604b33943af966a5d0e48624f50b3638089a3a2d49de9d8f2b9b5f518c9'
7
- data.tar.gz: 0d94e29243cd01aaa5cc4e352302dd96644baf2a0d03dc4d47dd0515385e994ce4ec609ae1b1608352627938cb77ecf87f3c2cdaaea958f162f67125d82513b1
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Trane
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
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.0
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: 2026-09-01 00:00:00.000000000 Z
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.5.16
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: []