computed_model 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +18 -0
- data/.github/workflows/test.yml +24 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +126 -0
- data/CONCEPTS.ja.md +324 -0
- data/CONCEPTS.md +330 -0
- data/Migration-0.3.md +343 -0
- data/README.ja.md +168 -0
- data/README.md +112 -70
- data/Rakefile +14 -0
- data/computed_model.gemspec +10 -2
- data/lib/computed_model.rb +78 -153
- data/lib/computed_model/dep_graph.rb +245 -0
- data/lib/computed_model/model.rb +447 -0
- data/lib/computed_model/plan.rb +48 -0
- data/lib/computed_model/version.rb +1 -1
- metadata +102 -7
- data/.travis.yml +0 -6
metadata
CHANGED
@@ -1,16 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: computed_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Hara
|
8
|
+
- Masayuki Izumi
|
8
9
|
- Wantedly, Inc.
|
9
|
-
autorequire:
|
10
|
+
autorequire:
|
10
11
|
bindir: exe
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2021-05-25 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activesupport
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
14
29
|
- !ruby/object:Gem::Dependency
|
15
30
|
name: bundler
|
16
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,6 +68,76 @@ dependencies:
|
|
53
68
|
- - "~>"
|
54
69
|
- !ruby/object:Gem::Version
|
55
70
|
version: '3.0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: activerecord
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '6.1'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '6.1'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: sqlite3
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.4'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.4'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: factory_bot
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '6.1'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '6.1'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: simplecov
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 0.21.2
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 0.21.2
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: simplecov-lcov
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.8.0
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.8.0
|
56
141
|
description: |
|
57
142
|
ComputedModel is a helper for building a read-only model (sometimes called a view)
|
58
143
|
from multiple sources of models.
|
@@ -62,22 +147,32 @@ description: |
|
|
62
147
|
ActiveRecord and remote server (such as ActiveResource).
|
63
148
|
email:
|
64
149
|
- ackie.h.gmai@gmail.com
|
150
|
+
- m@izum.in
|
65
151
|
- dev@wantedly.com
|
66
152
|
executables: []
|
67
153
|
extensions: []
|
68
154
|
extra_rdoc_files: []
|
69
155
|
files:
|
156
|
+
- ".github/dependabot.yml"
|
157
|
+
- ".github/workflows/test.yml"
|
70
158
|
- ".gitignore"
|
71
159
|
- ".rspec"
|
72
|
-
- ".
|
160
|
+
- ".yardopts"
|
73
161
|
- CHANGELOG.md
|
162
|
+
- CONCEPTS.ja.md
|
163
|
+
- CONCEPTS.md
|
74
164
|
- Gemfile
|
165
|
+
- Migration-0.3.md
|
166
|
+
- README.ja.md
|
75
167
|
- README.md
|
76
168
|
- Rakefile
|
77
169
|
- bin/console
|
78
170
|
- bin/setup
|
79
171
|
- computed_model.gemspec
|
80
172
|
- lib/computed_model.rb
|
173
|
+
- lib/computed_model/dep_graph.rb
|
174
|
+
- lib/computed_model/model.rb
|
175
|
+
- lib/computed_model/plan.rb
|
81
176
|
- lib/computed_model/version.rb
|
82
177
|
homepage: https://github.com/wantedly/computed_model
|
83
178
|
licenses:
|
@@ -86,7 +181,7 @@ metadata:
|
|
86
181
|
homepage_uri: https://github.com/wantedly/computed_model
|
87
182
|
source_code_uri: https://github.com/wantedly/computed_model
|
88
183
|
changelog_uri: https://github.com/wantedly/computed_model/blob/master/CHANGELOG.md
|
89
|
-
post_install_message:
|
184
|
+
post_install_message:
|
90
185
|
rdoc_options: []
|
91
186
|
require_paths:
|
92
187
|
- lib
|
@@ -101,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
196
|
- !ruby/object:Gem::Version
|
102
197
|
version: '0'
|
103
198
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
105
|
-
signing_key:
|
199
|
+
rubygems_version: 3.1.6
|
200
|
+
signing_key:
|
106
201
|
specification_version: 4
|
107
202
|
summary: Batch loader with dependency resolution and computed fields
|
108
203
|
test_files: []
|