typesafe-jev 1.0.0 → 1.0.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: 7545ebcb0bdc5d72f1038ae64b4305c3d5aeb6110b0b5e53b0c37cb88de77ee5
4
- data.tar.gz: 50b7471d5f3c5c5dad8c1c4b14c0dbc3f2b062fe0ee7e4cd076d2ff44b4b46e0
3
+ metadata.gz: 3377b2246de041a184d72f4212f374b7d9c14b5f148df1e96b58a92ebe6cd699
4
+ data.tar.gz: 8c546be900401a2a4bdd461c7fd1cc5ec48bb2b0275e7b589f9e80e77b131a97
5
5
  SHA512:
6
- metadata.gz: 3d8c3637a1d48b857019ac364b7aca9875cf0accad92023021a02f00488569b518c685afceccb8c117e98bf72e80f63eae3469d632b213c745e7b6b7fd88a4ca
7
- data.tar.gz: f4f8167797e08f99b23a0faa879ffe10e7d01370487e4c18d4472ef52256835df82c63426c37bb8d847672502f71902624f375520108880447880aace31c00ba
6
+ metadata.gz: dac0f8bb48696a0693aee1dd33a72ba434440765bca9cb77f9dc18dcb3a7972cb39e3b1c1e65b315523e53a6a7ebdaf354d1208a9582589d2a8706a3668716e8
7
+ data.tar.gz: 3e1335811f8293c998b87f62fb10c73478f36982792feb0f4c4573883d626e96b31e3321d083e45ebfdfa532806b713f762c1f3cb4deb2d94c6f62400c38fc99
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.0.1] - 2026-09-21
8
+
9
+ ### Fixed
10
+
11
+ - Rails/Bundler integration: added a `typesafe-jev.rb` require shim. Bundler requires gems by name (`require "typesafe-jev"`); without the shim its LoadError fallback translated the dash to a slash and silently loaded `typesafe/jev` (the Jev facade alone) instead of the entry point, leaving `Noul`, `Choice`, `Score`, the error classes, `Response`, `Answer` and `Usage` unloaded in Rails apps. With `gem "typesafe-jev"` in the Gemfile, the full gem now loads at boot.
12
+
7
13
  ## [1.0.0] - 2026-09-20
8
14
 
9
15
  ### Added
@@ -65,6 +71,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
65
71
  - Initial gem scaffold.
66
72
 
67
73
  [unreleased]: https://github.com/dtheofr/typesafe-jev-ruby/compare/v1.0.0...HEAD
74
+ [1.0.1]: https://github.com/dtheofr/typesafe-jev-ruby/compare/v1.0.0...v1.0.1
68
75
  [1.0.0]: https://github.com/dtheofr/typesafe-jev-ruby/compare/v0.7.0...v1.0.0
69
76
  [0.7.0]: https://github.com/dtheofr/typesafe-jev-ruby/compare/v0.6.0...v0.7.0
70
77
  [0.6.0]: https://github.com/dtheofr/typesafe-jev-ruby/compare/v0.5.0...v0.6.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Typesafe
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Bundler and RubyGems require gems by their gem name, so
4
+ # `gem "typesafe-jev"` in a Gemfile runs `require "typesafe-jev"`.
5
+ # Without this file, Bundler's fallback would translate the dash to a
6
+ # slash and load `typesafe/jev` (the Jev facade alone) instead of the
7
+ # full entry point, leaving most of the gem unloaded.
8
+ require_relative "typesafe"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typesafe-jev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dtheofr
@@ -61,6 +61,7 @@ files:
61
61
  - CHANGELOG.md
62
62
  - LICENSE
63
63
  - README.md
64
+ - lib/typesafe-jev.rb
64
65
  - lib/typesafe.rb
65
66
  - lib/typesafe/answer.rb
66
67
  - lib/typesafe/choice.rb