maxmind-db-rust 0.1.2 → 0.1.4

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: a8a276001be2894f2077b32bc833051a40922891d60583fda41da26ce7c9b110
4
- data.tar.gz: 625a38e437c4d38c201776b46d4792801293c9c04ac3555c2e0789f7822ffedd
3
+ metadata.gz: 61cf32b3d220486ccb8ab6fe37c1c168a63f29f311343ccba35d28d749c6e757
4
+ data.tar.gz: 57340f0580f43f022581e9183ccc01382407bfc086a0eda229fdb1fd10c4051c
5
5
  SHA512:
6
- metadata.gz: df07261c650c082ce6dec86de6962400dbcc2572f0fa23afb97b54f0360536f4c4f91833cc106343060ac1be706f4e7b9cc3ffe1d9bd403b50f2986df28893b6
7
- data.tar.gz: 8b57f7028871d833246105c197d15aaf26f5d644f6133d139b9bf638b8ac1c228e83d4ef019f857525ad49f0e4f83889a0003b2f47c4b687098dafc1b98c966e
6
+ metadata.gz: f8250f3c0af8f5b309c12d37ae5257bd29d0568cf6cd216093b6e703d309523052f76d0b82f62d8028441bd5c1b10c4fec279e5e97804a9c211fb340dbe034e9
7
+ data.tar.gz: 2c31553fb7650e2e037638fbcda02c931da6ff4bec59e01b1d5b71dfd9fa09692daf3b6b6ad286fd1056f04ab927aaa87f93460887cda0898e104e863571ca0d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,27 @@ 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.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.4] - 2025-11-16
11
+
12
+ ### Fixed
13
+
14
+ - Release workflow for publishing multiple platform-specific gems
15
+
16
+ ## [0.1.3] - 2025-11-16
17
+
18
+ ### Added
19
+
20
+ - Pre-compiled native gems for multiple platforms, eliminating the need to compile Rust during installation:
21
+ - `x86_64-linux` (Linux x86_64)
22
+ - `aarch64-linux` (Linux ARM64)
23
+ - `x86_64-darwin` (macOS Intel)
24
+ - `arm64-darwin` (macOS Apple Silicon)
25
+ - `x64-mingw-ucrt` (Windows)
26
+ - `x86_64-linux-musl` (Alpine Linux)
27
+ - Source gem as fallback for platforms without pre-compiled binaries
28
+
8
29
  ## [0.1.2] - 2025-11-15
9
30
 
10
31
  ### Added
data/CONTRIBUTING.md CHANGED
@@ -437,11 +437,24 @@ We follow [Semantic Versioning](https://semver.org/):
437
437
  git push origin v0.2.0
438
438
  ```
439
439
 
440
- 5. **Build and publish gem**:
441
- ```bash
442
- bundle exec rake build
443
- gem push pkg/maxmind-db-rust-0.2.0.gem
444
- ```
440
+ 5. **Create GitHub Release**:
441
+
442
+ Go to https://github.com/oschwald/maxmind-db-rust-ruby/releases/new and create a new release with tag `v0.2.0`.
443
+
444
+ The GitHub Actions workflow will automatically:
445
+ - Build native gems for all supported platforms:
446
+ - `x86_64-linux` (Linux x86_64)
447
+ - `aarch64-linux` (Linux ARM64)
448
+ - `x86_64-darwin` (macOS Intel)
449
+ - `arm64-darwin` (macOS Apple Silicon)
450
+ - `x64-mingw-ucrt` (Windows)
451
+ - `x86_64-linux-musl` (Alpine Linux)
452
+ - Build a source gem (fallback for unsupported platforms)
453
+ - Push all gems to RubyGems.org
454
+
455
+ ### Building Native Gems
456
+
457
+ Native gems for multiple platforms are built automatically by the CI/CD pipeline using the `oxidize-rb/actions/cross-gem` GitHub Action. The workflow handles cross-compilation for all supported platforms without requiring local Docker setup.
445
458
 
446
459
  ## Performance Considerations
447
460
 
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'mkmf'
3
4
  require 'rb_sys/mkmf'
4
5
 
5
6
  create_rust_makefile('maxmind_db_rust')
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxmind-db-rust
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Oschwald
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2025-11-16 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rb_sys
@@ -65,6 +66,20 @@ dependencies:
65
66
  - - "~>"
66
67
  - !ruby/object:Gem::Version
67
68
  version: '1.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake-compiler-dock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.5'
68
83
  - !ruby/object:Gem::Dependency
69
84
  name: rubocop
70
85
  requirement: !ruby/object:Gem::Requirement
@@ -163,6 +178,7 @@ metadata:
163
178
  homepage_uri: https://github.com/oschwald/maxmind-db-rust-ruby
164
179
  source_code_uri: https://github.com/oschwald/maxmind-db-rust-ruby
165
180
  rubygems_mfa_required: 'true'
181
+ post_install_message:
166
182
  rdoc_options: []
167
183
  require_paths:
168
184
  - lib
@@ -177,7 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
193
  - !ruby/object:Gem::Version
178
194
  version: '0'
179
195
  requirements: []
180
- rubygems_version: 3.6.9
196
+ rubygems_version: 3.5.22
197
+ signing_key:
181
198
  specification_version: 4
182
199
  summary: Unofficial high-performance Rust-based MaxMind DB reader for Ruby
183
200
  test_files: []