jet_set 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jet_set/session.rb +7 -1
- data/lib/jet_set/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb3d54a41c9a91c8761053dd1ba08314f3f5416f9b9762cace0758bdb32e2c5f
|
4
|
+
data.tar.gz: 94c834a0a75d2cf2bae2a25d8e57b24ac68b7870e6e61ed6fc1fafb62c9e5a8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e08aeb9e15d4918b310dcf33b03e9df48fa555ade341901518b21fa51b67eb4c22b98d184922ef7291baeb3edf08171e2737e90580b61e563e61f9452159645
|
7
|
+
data.tar.gz: 024b1e91903efb225aac4142932ce67abed52eb16681214ccf2a6803d72c929c77e183fb1352e58124bec1a70b2786320eabf426bd212a99ae0fcdf6a1d6cc3d
|
data/lib/jet_set/session.rb
CHANGED
@@ -90,7 +90,13 @@ module JetSet
|
|
90
90
|
|
91
91
|
@mutex.synchronize do
|
92
92
|
to_attach.each do |object|
|
93
|
-
|
93
|
+
if object.kind_of?(Entity)
|
94
|
+
obj = object
|
95
|
+
else
|
96
|
+
obj = @entity_builder.create(object)
|
97
|
+
obj.validate! if obj.respond_to? :validate!
|
98
|
+
end
|
99
|
+
|
94
100
|
@objects << obj
|
95
101
|
end
|
96
102
|
end
|
data/lib/jet_set/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jet_set
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Kalinkin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -152,7 +152,7 @@ licenses:
|
|
152
152
|
- MIT
|
153
153
|
metadata:
|
154
154
|
allowed_push_host: https://rubygems.org
|
155
|
-
post_install_message:
|
155
|
+
post_install_message:
|
156
156
|
rdoc_options: []
|
157
157
|
require_paths:
|
158
158
|
- lib
|
@@ -167,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
171
|
-
signing_key:
|
170
|
+
rubygems_version: 3.2.15
|
171
|
+
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: JetSet is a microscopic ORM for DDD projects.
|
174
174
|
test_files: []
|