model-mapper 0.2.0 → 0.3.0

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: 775e838aa683bcb13a626497d487253ea1e23c27eef15df92a92d99ffdad19f8
4
- data.tar.gz: 39b2177d2a088282f16135540f0cbfd9fef501699981bb358981e96b0f6ebdb8
3
+ metadata.gz: 0ffcab7eaaafc6ad4605c5d22ed0694f01e6a2ee9c4e85c3eaaa4c77e5bc7586
4
+ data.tar.gz: 75e5ef1d04dee8b46492bad95689bf6cc62346ff55b274e4db2d25856c550159
5
5
  SHA512:
6
- metadata.gz: 0ec1989c92c08271125531e1809a845bae74d85b8d23276fd2ac084ed20db8ebcd80966efd44bc82c6264fbb326a92c26ca68abfa82b851fa73e3de0da54d784
7
- data.tar.gz: 7179f959eccb52dee9d34ca3c8be8572b19f49b97b08c05e4366a889a8dd720a17b3d557fa93989b7610bb43e956eee28e8ef49d35cb607360281a413ef8d072
6
+ metadata.gz: c3780a2e246288b2e5e099c9a87c302944bbd2bf0df7886584093e88c8634777541d03ee9b7582ca3a0c08a5c4854943d40d1dad65ddb86ff7df70b13712d546
7
+ data.tar.gz: d92747157b5973499f6c22fc12cb87bdd62dda983e14cbd554f352aae8c0d63413ac20d77b3d400fd8c3a9ab5930e742f9fbd763ae7b26809dc35e3165d23f9f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0](https://github.com/dougyouch/mappable/compare/v0.2.0...v0.3.0) (2026-10-05)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **gem:** Ruby 3.2 reached end of life in March 2026 and is no longer supported. CI now tests Ruby 3.3 and the .ruby-version Ruby, both with Gemfile.lock and the coverage gate.
9
+
10
+ ### Build System
11
+
12
+ * **deps:** allow inheritance-helper 1.x and lock 1.0.0 ([69fdaf0](https://github.com/dougyouch/mappable/commit/69fdaf00519a7d9addbca706ebd440fe6f2a4561))
13
+ * **gem:** require ruby 3.3 ([f9d239f](https://github.com/dougyouch/mappable/commit/f9d239f782c0929e6f3d75471a928776f9d50b6d))
14
+
3
15
  ## [0.2.0](https://github.com/dougyouch/mappable/compare/v0.1.0...v0.2.0) (2026-10-05)
4
16
 
5
17
 
data/README.md CHANGED
@@ -11,7 +11,7 @@ Fast, declarative two-way mapping between Ruby objects. Declare once how the fie
11
11
 
12
12
  ## Installation
13
13
 
14
- Requires Ruby 3.2 or newer. The gem is published as `model-mapper`:
14
+ Requires Ruby 3.3 or newer. The gem is published as `model-mapper`:
15
15
 
16
16
  ```ruby
17
17
  gem 'model-mapper'
@@ -219,7 +219,7 @@ bundle exec rubocop # lint
219
219
  bundle exec yard # API docs in doc/
220
220
  ```
221
221
 
222
- CI runs RuboCop, requires every public API to have YARD docs, and runs the specs on Ruby 3.2 and on the Ruby in `.ruby-version`, where it requires 100% line and branch coverage.
222
+ CI runs RuboCop, requires every public API to have YARD docs, and runs the specs on Ruby 3.3 and on the Ruby in `.ruby-version`, requiring 100% line and branch coverage on both.
223
223
 
224
224
  Releases are automated with [release-please](https://github.com/googleapis/release-please): [conventional commits](https://www.conventionalcommits.org/) on `master` keep a release PR up to date, and merging it tags the release and publishes the gem to RubyGems.
225
225
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mappable
4
4
  # The gem's version, bumped by release-please
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model-mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
@@ -13,16 +13,22 @@ dependencies:
13
13
  name: inheritance-helper
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
18
  version: '0.2'
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '2'
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
- - - "~>"
26
+ - - ">="
24
27
  - !ruby/object:Gem::Version
25
28
  version: '0.2'
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '2'
26
32
  description: 'Declare once how fields map from one object to another, and Mappable
27
33
  compiles it into plain Ruby methods that copy the data both ways at close to hand-written
28
34
  speed. Rename fields, combine several into one (first_name + last_name -> name)
@@ -61,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
67
  requirements:
62
68
  - - ">="
63
69
  - !ruby/object:Gem::Version
64
- version: '3.2'
70
+ version: '3.3'
65
71
  required_rubygems_version: !ruby/object:Gem::Requirement
66
72
  requirements:
67
73
  - - ">="