hanami-model 1.2.0.rc1 → 1.2.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/hanami-model.gemspec +1 -1
- data/lib/hanami/entity.rb +3 -3
- data/lib/hanami/model/migrator/connection.rb +1 -1
- data/lib/hanami/model/sql/types/schema/coercions.rb +1 -1
- data/lib/hanami/model/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 936097cb70cdd6b638331d4197475ba5b902dfe5a1878f7e32b94123b03b0567
|
4
|
+
data.tar.gz: 8c4f07fd39025c5647250c20d951eb80783dc1cf1d4e07381ff78222354f0e87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f49d9fd7051dc11e70f186d3af0bf90656855de8686db7e22ec928c2217e94ab3d37cc3ff1ce76de3b43cbe6ab33d19dc81a7a6b2808baf98b3b2f6646b1c40
|
7
|
+
data.tar.gz: 12f050e4fd4b0f611201a96480606b2e50def70496d82a7b6941b9ff3e312785ef58c8821e0b57f719cb237efd3150f5e5d4398450100ff636656474a79e8e32
|
data/CHANGELOG.md
CHANGED
data/hanami-model.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
spec.required_ruby_version = '>= 2.3.0'
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'hanami-utils', '1.2.0.
|
21
|
+
spec.add_runtime_dependency 'hanami-utils', '1.2.0.rc2'
|
22
22
|
spec.add_runtime_dependency 'rom', '~> 3.3', '>= 3.3.3'
|
23
23
|
spec.add_runtime_dependency 'rom-sql', '~> 1.3', '>= 1.3.5'
|
24
24
|
spec.add_runtime_dependency 'rom-repository', '~> 1.4'
|
data/lib/hanami/entity.rb
CHANGED
@@ -140,9 +140,9 @@ module Hanami
|
|
140
140
|
# value, otherwise it raises a <tt>NoMethodError</tt>
|
141
141
|
#
|
142
142
|
# @since 0.7.0
|
143
|
-
def method_missing(
|
144
|
-
attribute?(
|
145
|
-
attributes.fetch(
|
143
|
+
def method_missing(method_name, *)
|
144
|
+
attribute?(method_name) or super
|
145
|
+
attributes.fetch(method_name, nil)
|
146
146
|
end
|
147
147
|
|
148
148
|
# Implement generic equality for entities
|
data/lib/hanami/model/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.
|
4
|
+
version: 1.2.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hanami-utils
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.2.0.
|
19
|
+
version: 1.2.0.rc2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.2.0.
|
26
|
+
version: 1.2.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rom
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
version: 1.3.1
|
221
221
|
requirements: []
|
222
222
|
rubyforge_project:
|
223
|
-
rubygems_version: 2.7.
|
223
|
+
rubygems_version: 2.7.6
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: A persistence layer for Hanami
|