bonkers-bitfields 1.0.1 → 1.0.2

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: 205befb74c0b514c35cec2ce9f09223aefc594b3493544d93a2b5303ef8892aa
4
- data.tar.gz: c7eabf56cb021d4f68d8e29281639a9929954d58a8efd2742e927904b9599e79
3
+ metadata.gz: c0f58b53319594aff2410e97681f1f0972df69f946bc6b167ee20f5f5c965fc5
4
+ data.tar.gz: 5d1d3226ce84ae4cc301f777f4052f0390de775648bc0fcfe2b99b0dc3e2744e
5
5
  SHA512:
6
- metadata.gz: 1a4bcf1d8a1ac60b48bf3cc1243f1f81b16f15c727e9684adc3d67f7bc752b4d3fca5db130761579acb704f4e060aaca2ab924bb66f4682c7811efcd4223b994
7
- data.tar.gz: 4a3a4e57de1b30620297ff25e4ab7e90cbb0afb977c9cf4c082e607c57361ef4a9b339c573ce995cf499cdd1b4464c269b1e026010c4f48f0504b11185ff1f70
6
+ metadata.gz: fe1d53bb61d48c28a19698a89cfa9dcb2b49066c5935e9cac2efced6cdead7a4dbb24064900b31c102201e237423e1f48463f63696d313a384a9c47dfa399c96
7
+ data.tar.gz: a009962ea12e8e2ec8b5db165fa885fdf4b18d5b929baa9e10d27b1876aa3578574d72758b580c9459e76585bff2450bc7ee06080b87794415eca6db7f84949c
data/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ All notable changes to this project are documented here. The format is based on
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.2] - 2026-06-30
10
+
11
+ ### Fixed
12
+ - Plain `gem "bonkers-bitfields"` now loads the library under Bundler's auto-require (e.g. Rails'
13
+ `Bundler.require`). Because the gem name (`bonkers-bitfields`) no longer matches the library file
14
+ (`bitfields.rb`), Bundler previously failed to require it silently, leaving `Bitfields` undefined.
15
+ A `lib/bonkers-bitfields.rb` shim that `require`s `bitfields` resolves this, so `require: "bitfields"`
16
+ in the `Gemfile` is no longer needed.
17
+
9
18
  ## [1.0.1] - 2026-06-29
10
19
 
11
20
  ### Added
@@ -57,6 +66,7 @@ All notable changes to this project are documented here. The format is based on
57
66
  - Travis CI (replaced with GitHub Actions) and the `wwtd` development dependency.
58
67
  - Support for Ruby < 3.1 and ActiveRecord < 6.1.
59
68
 
60
- [Unreleased]: https://github.com/bonkers-ie/bitfields/compare/v1.0.1...HEAD
69
+ [Unreleased]: https://github.com/bonkers-ie/bitfields/compare/v1.0.2...HEAD
70
+ [1.0.2]: https://github.com/bonkers-ie/bitfields/compare/v1.0.1...v1.0.2
61
71
  [1.0.1]: https://github.com/bonkers-ie/bitfields/compare/v1.0.0...v1.0.1
62
72
  [1.0.0]: https://github.com/bonkers-ie/bitfields/releases/tag/v1.0.0
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfields
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  Version = VERSION
6
6
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The gem is published as `bonkers-bitfields` but its library lives at `bitfields`
4
+ # (the require path and `Bitfields` module are unchanged from the upstream gem).
5
+ # This shim lets Bundler's auto-require resolve the gem-name path, so a plain
6
+ # `gem "bonkers-bitfields"` loads the library without needing `require: "bitfields"`.
7
+ require 'bitfields'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bonkers-bitfields
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
@@ -138,6 +138,7 @@ files:
138
138
  - lib/bitfields.rb
139
139
  - lib/bitfields/rspec.rb
140
140
  - lib/bitfields/version.rb
141
+ - lib/bonkers-bitfields.rb
141
142
  homepage: https://github.com/bonkers-ie/bitfields
142
143
  licenses:
143
144
  - MIT