hanami-db 2.3.0 → 3.0.0.rc1
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 +4 -4
- data/CHANGELOG.md +82 -0
- data/LICENSE +20 -0
- data/README.md +17 -22
- data/hanami-db.gemspec +32 -25
- data/lib/hanami/db/version.rb +1 -1
- metadata +11 -10
- data/LICENSE.md +0 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab8475649322bd849fdb85b5265fddcdd4581f9e997ddb00b2a8313d42e259d4
|
|
4
|
+
data.tar.gz: 0e457008732ad74dfcab7b2f8267aca3692dd902674fce1c3cd3116480c35caf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12caf9b5bc5188ad8bc67d3077ee6e0b94727ca3901d185927bc2235fd0a5eb9ba5227a45ecc6b250ccd5290f7b4938dfd3ddeda52f498fbcc4d496ccd8793cf
|
|
7
|
+
data.tar.gz: c65d64e91db9cc26f118f603b05a9db65883c3f2ee1d89513c9ec93f7e3e9ba11132a932a4d98cbe2dc94cd57cb4f05588063e0e02a65346195c7ab486d6b685
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Break Versioning](https://www.taoensso.com/break-versioning).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
### Deprecated
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
### Security
|
|
21
|
+
|
|
22
|
+
[Unreleased]: https://github.com/hanami/hanami-db/compare/v3.0.0.rc1...main
|
|
23
|
+
|
|
24
|
+
## [3.0.0.rc1] - 2026-06-16
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Require Ruby 3.3 or newer.
|
|
29
|
+
|
|
30
|
+
[3.0.0.rc1]: https://github.com/hanami/hanami-db/compare/v2.3.0...3.0.0.rc1
|
|
31
|
+
|
|
32
|
+
## [2.3.0] - 2025-11-12
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Drop support for Ruby 3.1
|
|
37
|
+
|
|
38
|
+
[2.3.0]: https://github.com/hanami/hanami-db/compare/v2.3.0.beta2...v2.3.0
|
|
39
|
+
|
|
40
|
+
## [2.3.0.beta2] - 2025-10-17
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Drop support for Ruby 3.1
|
|
45
|
+
|
|
46
|
+
[2.3.0.beta2]: https://github.com/hanami/db/compare/v2.3.0.beta1...v2.3.0.beta2
|
|
47
|
+
|
|
48
|
+
## [2.3.0.beta1] - 2025-10-03
|
|
49
|
+
|
|
50
|
+
[2.3.0.beta1]: https://github.com/hanami/db/compare/v2.2.1...v2.3.0.beta1
|
|
51
|
+
|
|
52
|
+
## [2.2.1] - 2025-01-10
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- Update for compatibility with latest rom and rom-sql releases. (@flash-gordon in #16)
|
|
57
|
+
|
|
58
|
+
[2.2.1]: https://github.com/hanami/db/compare/v2.2.0...v2.2.1
|
|
59
|
+
|
|
60
|
+
## [2.2.0] - 2024-10-29
|
|
61
|
+
|
|
62
|
+
[2.2.0]: https://github.com/hanami/db/compare/v2.2.0.rc1...v2.2.0
|
|
63
|
+
|
|
64
|
+
## [2.2.0.rc1] - 2024-10-29
|
|
65
|
+
|
|
66
|
+
### Added
|
|
67
|
+
|
|
68
|
+
- Add `Hanami::DB::Struct#to_json`. (@krzykamil in #13)
|
|
69
|
+
|
|
70
|
+
[2.2.0.rc1]: https://github.com/hanami/db/compare/v2.2.0.beta2...v2.2.0.rc1
|
|
71
|
+
|
|
72
|
+
## [2.2.0.beta2] - 2024-09-25
|
|
73
|
+
|
|
74
|
+
[2.2.0.beta2]: https://github.com/hanami/db/compare/v2.2.0.beta1...v2.2.0.beta2
|
|
75
|
+
|
|
76
|
+
## [2.2.0.beta1] - 2024-07-16
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- Initial release.
|
|
81
|
+
|
|
82
|
+
[2.2.0.beta1]: https://github.com/hanami/db/releases/tag/v2.2.0.beta1
|
data/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-2026 Hanakai team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
<!--- This file is synced from hanakai-rb/repo-sync -->
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
[actions]: https://github.com/hanami/hanami-db/actions
|
|
4
|
+
[chat]: https://discord.gg/naQApPAsZB
|
|
5
|
+
[forum]: https://discourse.hanamirb.org
|
|
6
|
+
[rubygem]: https://rubygems.org/gems/hanami-db
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
[](https://badge.fury.io/rb/db)
|
|
9
|
-
[](https://github.com/hanami/db/actions?query=workflow%3Aci+branch%3Amain)
|
|
10
|
-
|
|
11
|
-
## Contact
|
|
12
|
-
|
|
13
|
-
* Home page: http://hanamirb.org
|
|
14
|
-
* Community: http://hanamirb.org/community
|
|
15
|
-
* Guides: https://guides.hanamirb.org
|
|
16
|
-
* Mailing List: http://hanamirb.org/mailing-list
|
|
17
|
-
* API Doc: http://rubydoc.info/gems/hanami-db
|
|
18
|
-
* Chat: http://chat.hanamirb.org
|
|
8
|
+
# Hanami DB [][rubygem] [][actions]
|
|
19
9
|
|
|
10
|
+
[][forum]
|
|
11
|
+
[][chat]
|
|
20
12
|
|
|
21
13
|
## Installation
|
|
22
14
|
|
|
@@ -32,10 +24,6 @@ And then execute:
|
|
|
32
24
|
$ bundle
|
|
33
25
|
```
|
|
34
26
|
|
|
35
|
-
## Versioning
|
|
36
|
-
|
|
37
|
-
__Hanami::DB__ uses [Semantic Versioning 2.0.0](http://semver.org)
|
|
38
|
-
|
|
39
27
|
## Contributing
|
|
40
28
|
|
|
41
29
|
1. Fork it
|
|
@@ -44,6 +32,13 @@ __Hanami::DB__ uses [Semantic Versioning 2.0.0](http://semver.org)
|
|
|
44
32
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
45
33
|
5. Create new Pull Request
|
|
46
34
|
|
|
47
|
-
##
|
|
35
|
+
## Links
|
|
36
|
+
|
|
37
|
+
- [User documentation](https://hanamirb.org)
|
|
38
|
+
- [API documentation](http://rubydoc.info/gems/hanami-db)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
See `LICENSE` file.
|
|
48
44
|
|
|
49
|
-
Copyright © 2024 Hanami Team – Released under MIT License
|
data/hanami-db.gemspec
CHANGED
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# This file is synced from hanakai-rb/repo-sync. To update it, edit repo-sync.yml.
|
|
4
|
+
|
|
5
|
+
lib = File.expand_path("lib", __dir__)
|
|
6
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
7
|
+
require "hanami/db/version"
|
|
4
8
|
|
|
5
9
|
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name
|
|
7
|
-
spec.
|
|
8
|
-
spec.
|
|
9
|
-
spec.
|
|
10
|
-
spec.
|
|
11
|
-
|
|
12
|
-
spec.
|
|
13
|
-
|
|
14
|
-
spec.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
spec.
|
|
24
|
-
spec.
|
|
25
|
-
spec.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
spec.
|
|
10
|
+
spec.name = "hanami-db"
|
|
11
|
+
spec.authors = ["Hanakai team"]
|
|
12
|
+
spec.email = ["info@hanakai.org"]
|
|
13
|
+
spec.license = "MIT"
|
|
14
|
+
spec.version = Hanami::DB::VERSION.dup
|
|
15
|
+
|
|
16
|
+
spec.summary = "The database layer for Hanami apps"
|
|
17
|
+
spec.description = spec.summary
|
|
18
|
+
spec.homepage = "https://hanamirb.org"
|
|
19
|
+
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "hanami-db.gemspec", "lib/**/*"]
|
|
20
|
+
spec.bindir = "exe"
|
|
21
|
+
spec.executables = Dir["exe/*"].map { |f| File.basename(f) }
|
|
22
|
+
spec.require_paths = ["lib"]
|
|
23
|
+
|
|
24
|
+
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE"]
|
|
25
|
+
|
|
26
|
+
spec.metadata["changelog_uri"] = "https://github.com/hanami/hanami-db/blob/main/CHANGELOG.md"
|
|
27
|
+
spec.metadata["source_code_uri"] = "https://github.com/hanami/hanami-db"
|
|
28
|
+
spec.metadata["bug_tracker_uri"] = "https://github.com/hanami/hanami-db/issues"
|
|
29
|
+
spec.metadata["funding_uri"] = "https://github.com/sponsors/hanami"
|
|
30
|
+
|
|
31
|
+
spec.required_ruby_version = ">= 3.3"
|
|
32
|
+
|
|
33
|
+
spec.add_runtime_dependency "rom", "~> 5.4", ">= 5.4.1"
|
|
34
|
+
spec.add_runtime_dependency "rom-sql", "~> 3.7"
|
|
35
|
+
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
|
|
30
36
|
end
|
|
37
|
+
|
data/lib/hanami/db/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hanami-db
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hanakai team
|
|
8
|
-
bindir:
|
|
8
|
+
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
@@ -57,15 +57,18 @@ dependencies:
|
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: '2.6'
|
|
60
|
+
description: The database layer for Hanami apps
|
|
60
61
|
email:
|
|
61
62
|
- info@hanakai.org
|
|
62
63
|
executables: []
|
|
63
64
|
extensions: []
|
|
64
65
|
extra_rdoc_files:
|
|
65
|
-
-
|
|
66
|
+
- CHANGELOG.md
|
|
67
|
+
- LICENSE
|
|
66
68
|
- README.md
|
|
67
69
|
files:
|
|
68
|
-
-
|
|
70
|
+
- CHANGELOG.md
|
|
71
|
+
- LICENSE
|
|
69
72
|
- README.md
|
|
70
73
|
- hanami-db.gemspec
|
|
71
74
|
- lib/hanami-db.rb
|
|
@@ -80,12 +83,10 @@ homepage: https://hanamirb.org
|
|
|
80
83
|
licenses:
|
|
81
84
|
- MIT
|
|
82
85
|
metadata:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
changelog_uri: https://github.com/hanami/hanami-db/blob/main/CHANGELOG.md
|
|
87
|
+
source_code_uri: https://github.com/hanami/hanami-db
|
|
88
|
+
bug_tracker_uri: https://github.com/hanami/hanami-db/issues
|
|
86
89
|
funding_uri: https://github.com/sponsors/hanami
|
|
87
|
-
source_code_uri: https://github.com/hanami/db
|
|
88
|
-
rubygems_mfa_required: 'true'
|
|
89
90
|
rdoc_options: []
|
|
90
91
|
require_paths:
|
|
91
92
|
- lib
|
|
@@ -93,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
94
|
requirements:
|
|
94
95
|
- - ">="
|
|
95
96
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '3.
|
|
97
|
+
version: '3.3'
|
|
97
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
requirements:
|
|
99
100
|
- - ">="
|
data/LICENSE.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Copyright © 2024 Tim Riley
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|