k_domain 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/k_domain.gemspec +3 -3
- data/lib/k_domain/domain_model/build_rich_models.rb +2 -0
- data/lib/k_domain/schemas/domain.rb +2 -0
- data/lib/k_domain/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4d9da64cb89b7d2ee8ddd67e025ebcb34d617f0631b243368204c2cf904ec7b
|
4
|
+
data.tar.gz: 8168edbaf51175596d36d36a031e5f3a97ffc7c3bb13c1586fb8a6cf52646673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd639a6ee4f496b05a6b0772b6782daa25866ad5f97321813c58e09c0b98a6f214c7cb88444e5d1e48d46f0566e352c6f48a44693d7ba742117bc8661df982a7
|
7
|
+
data.tar.gz: e733532923f3ae06191d6a037e11a9cf5e8dcb5939b08c9fe5f128e82fc75d6636e2727961b726e5761fd26db304fe5c6cef4082175d8539cbd4835828456a2d
|
data/k_domain.gemspec
CHANGED
@@ -39,8 +39,8 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.require_paths = ['lib']
|
40
40
|
# spec.extensions = ['ext/k_domain/extconf.rb']
|
41
41
|
|
42
|
-
spec.add_dependency 'activesupport'
|
42
|
+
spec.add_dependency 'activesupport', '~> 7'
|
43
43
|
spec.add_dependency 'dry-struct', '~> 1'
|
44
|
-
spec.add_dependency 'k_log' , '~> 0
|
45
|
-
spec.add_dependency 'peeky' , '~> 0
|
44
|
+
spec.add_dependency 'k_log' , '~> 0'
|
45
|
+
spec.add_dependency 'peeky' , '~> 0'
|
46
46
|
end
|
@@ -36,6 +36,7 @@ module KDomain
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
# rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
39
40
|
def build_rich_model(model)
|
40
41
|
{
|
41
42
|
name: model.name,
|
@@ -78,6 +79,7 @@ module KDomain
|
|
78
79
|
}
|
79
80
|
}
|
80
81
|
end
|
82
|
+
# rubocop:enable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
81
83
|
end
|
82
84
|
end
|
83
85
|
end
|
@@ -48,6 +48,7 @@ module KDomain
|
|
48
48
|
@csharp_type = KDomain::Schemas::CSHARP_TYPE[type] || '******'
|
49
49
|
end
|
50
50
|
|
51
|
+
# rubocop:disable Metrics/AbcSize
|
51
52
|
def to_h
|
52
53
|
{
|
53
54
|
name: name,
|
@@ -69,6 +70,7 @@ module KDomain
|
|
69
70
|
relationships: relationships
|
70
71
|
}
|
71
72
|
end
|
73
|
+
# rubocop:enable Metrics/AbcSize
|
72
74
|
|
73
75
|
private
|
74
76
|
|
data/lib/k_domain/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k_domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '7'
|
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: '
|
26
|
+
version: '7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dry-struct
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: peeky
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
68
|
+
version: '0'
|
69
69
|
description: " K Domain builds complex domain schemas by combining the database
|
70
70
|
schema with a rich entity relationship DSLs\n"
|
71
71
|
email:
|