hanami-mongoid 0.1.1 → 0.1.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 +4 -4
- data/lib/hanami/mongoid/repository.rb +2 -2
- data/lib/hanami/mongoid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 216f0e6cb5b8ad59810e6bd780868fee7ec1485971f74ab82b0ce8494d8f6c22
|
|
4
|
+
data.tar.gz: ec3e19bc2e94efd130b2c0caa57dc383b7f5d3c3f80845583ea129ed976fabcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1151e04a0270be5687a12bc317853a18c688cba775619737722a8b6774c3e11b70b7a39384e256d33ce0d7050033c59502984a038e2a0d323726bd33530a70ad
|
|
7
|
+
data.tar.gz: 5d719ca1ed32a84cad3bcc148453df6db50b5f603d2c92db3291a74a7c60bfa8d4b62876f8855dec418b407bd78838f79fff7e72cab69d9587e7a58f073568ab
|
|
@@ -12,8 +12,8 @@ module Hanami
|
|
|
12
12
|
|
|
13
13
|
##
|
|
14
14
|
# Forwards common repository methods to the model
|
|
15
|
-
%i( find where any_of all first last new create
|
|
16
|
-
|
|
15
|
+
%i( find find_by where any_of all first last new create
|
|
16
|
+
destroy_all delete_all update_all ).each do |method|
|
|
17
17
|
define_method method do |*args|
|
|
18
18
|
self.model_klass.send method, *args
|
|
19
19
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hanami-mongoid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francesco Ballardin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mongoid
|