subroutine 4.1.5 → 4.4.0
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/.github/workflows/build.yml +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +7 -0
- data/CHANGELOG.MD +22 -1
- data/README.md +7 -1
- data/gemfiles/rails_6.1.gemfile +1 -0
- data/gemfiles/rails_6.1.gemfile.lock +102 -23
- data/gemfiles/rails_7.0.gemfile +1 -0
- data/gemfiles/rails_7.0.gemfile.lock +100 -22
- data/gemfiles/rails_7.1.gemfile.lock +106 -26
- data/gemfiles/rails_7.2.gemfile.lock +106 -28
- data/gemfiles/rails_8.0.gemfile +9 -0
- data/gemfiles/rails_8.0.gemfile.lock +204 -0
- data/lib/subroutine/association_fields.rb +1 -1
- data/lib/subroutine/outputs/configuration.rb +8 -1
- data/lib/subroutine/outputs.rb +58 -14
- data/lib/subroutine/version.rb +2 -2
- data/lib/subroutine.rb +12 -0
- data/subroutine.gemspec +7 -1
- data/test/subroutine/outputs_test.rb +59 -0
- metadata +65 -8
@@ -1,16 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
subroutine (4.
|
4
|
+
subroutine (4.4.0)
|
5
5
|
activemodel (>= 6.1)
|
6
6
|
activesupport (>= 6.1)
|
7
|
+
base64
|
8
|
+
bigdecimal
|
9
|
+
logger
|
10
|
+
mutex_m
|
7
11
|
|
8
12
|
GEM
|
9
13
|
remote: https://rubygems.org/
|
10
14
|
specs:
|
11
|
-
actionpack (7.1.
|
12
|
-
actionview (= 7.1.
|
13
|
-
activesupport (= 7.1.
|
15
|
+
actionpack (7.1.5.1)
|
16
|
+
actionview (= 7.1.5.1)
|
17
|
+
activesupport (= 7.1.5.1)
|
14
18
|
nokogiri (>= 1.8.5)
|
15
19
|
racc
|
16
20
|
rack (>= 2.2.4)
|
@@ -18,23 +22,26 @@ GEM
|
|
18
22
|
rack-test (>= 0.6.3)
|
19
23
|
rails-dom-testing (~> 2.2)
|
20
24
|
rails-html-sanitizer (~> 1.6)
|
21
|
-
actionview (7.1.
|
22
|
-
activesupport (= 7.1.
|
25
|
+
actionview (7.1.5.1)
|
26
|
+
activesupport (= 7.1.5.1)
|
23
27
|
builder (~> 3.1)
|
24
28
|
erubi (~> 1.11)
|
25
29
|
rails-dom-testing (~> 2.2)
|
26
30
|
rails-html-sanitizer (~> 1.6)
|
27
|
-
activemodel (7.1.
|
28
|
-
activesupport (= 7.1.
|
29
|
-
activesupport (7.1.
|
31
|
+
activemodel (7.1.5.1)
|
32
|
+
activesupport (= 7.1.5.1)
|
33
|
+
activesupport (7.1.5.1)
|
30
34
|
base64
|
35
|
+
benchmark (>= 0.3)
|
31
36
|
bigdecimal
|
32
37
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
38
|
connection_pool (>= 2.2.5)
|
34
39
|
drb
|
35
40
|
i18n (>= 1.6, < 2)
|
41
|
+
logger (>= 1.4.2)
|
36
42
|
minitest (>= 5.1)
|
37
43
|
mutex_m
|
44
|
+
securerandom (>= 0.3)
|
38
45
|
tzinfo (~> 2.0)
|
39
46
|
ansi (1.5.0)
|
40
47
|
appraisal (2.5.0)
|
@@ -42,56 +49,81 @@ GEM
|
|
42
49
|
rake
|
43
50
|
thor (>= 0.14.0)
|
44
51
|
base64 (0.2.0)
|
45
|
-
|
52
|
+
benchmark (0.4.0)
|
53
|
+
bigdecimal (3.1.9)
|
46
54
|
builder (3.3.0)
|
47
|
-
byebug (
|
48
|
-
concurrent-ruby (1.3.
|
49
|
-
connection_pool (2.
|
55
|
+
byebug (12.0.0)
|
56
|
+
concurrent-ruby (1.3.5)
|
57
|
+
connection_pool (2.5.0)
|
50
58
|
crass (1.0.6)
|
51
59
|
drb (2.2.1)
|
52
|
-
erubi (1.13.
|
53
|
-
i18n (1.14.
|
60
|
+
erubi (1.13.1)
|
61
|
+
i18n (1.14.7)
|
54
62
|
concurrent-ruby (~> 1.0)
|
55
|
-
|
63
|
+
logger (1.7.0)
|
64
|
+
loofah (2.24.0)
|
56
65
|
crass (~> 1.0.2)
|
57
66
|
nokogiri (>= 1.12.0)
|
58
67
|
m (1.6.2)
|
59
68
|
method_source (>= 0.6.7)
|
60
69
|
rake (>= 0.9.2.2)
|
61
70
|
method_source (1.1.0)
|
62
|
-
minitest (5.25.
|
71
|
+
minitest (5.25.5)
|
63
72
|
minitest-reporters (1.7.1)
|
64
73
|
ansi
|
65
74
|
builder
|
66
75
|
minitest (>= 5.0)
|
67
76
|
ruby-progressbar
|
68
|
-
mocha (2.
|
77
|
+
mocha (2.7.1)
|
69
78
|
ruby2_keywords (>= 0.0.5)
|
70
|
-
mutex_m (0.
|
71
|
-
nokogiri (1.
|
79
|
+
mutex_m (0.3.0)
|
80
|
+
nokogiri (1.18.7-aarch64-linux-gnu)
|
81
|
+
racc (~> 1.4)
|
82
|
+
nokogiri (1.18.7-aarch64-linux-musl)
|
83
|
+
racc (~> 1.4)
|
84
|
+
nokogiri (1.18.7-arm-linux-gnu)
|
85
|
+
racc (~> 1.4)
|
86
|
+
nokogiri (1.18.7-arm-linux-musl)
|
87
|
+
racc (~> 1.4)
|
88
|
+
nokogiri (1.18.7-arm64-darwin)
|
89
|
+
racc (~> 1.4)
|
90
|
+
nokogiri (1.18.7-x86_64-darwin)
|
91
|
+
racc (~> 1.4)
|
92
|
+
nokogiri (1.18.7-x86_64-linux-gnu)
|
93
|
+
racc (~> 1.4)
|
94
|
+
nokogiri (1.18.7-x86_64-linux-musl)
|
72
95
|
racc (~> 1.4)
|
73
96
|
racc (1.8.1)
|
74
|
-
rack (3.1.
|
75
|
-
rack-session (2.
|
97
|
+
rack (3.1.12)
|
98
|
+
rack-session (2.1.0)
|
99
|
+
base64 (>= 0.1.0)
|
76
100
|
rack (>= 3.0.0)
|
77
|
-
rack-test (2.
|
101
|
+
rack-test (2.2.0)
|
78
102
|
rack (>= 1.3)
|
79
103
|
rails-dom-testing (2.2.0)
|
80
104
|
activesupport (>= 5.0.0)
|
81
105
|
minitest
|
82
106
|
nokogiri (>= 1.6)
|
83
|
-
rails-html-sanitizer (1.6.
|
107
|
+
rails-html-sanitizer (1.6.2)
|
84
108
|
loofah (~> 2.21)
|
85
|
-
nokogiri (
|
109
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
86
110
|
rake (13.2.1)
|
87
111
|
ruby-progressbar (1.13.0)
|
88
112
|
ruby2_keywords (0.0.5)
|
113
|
+
securerandom (0.4.1)
|
89
114
|
thor (1.3.2)
|
90
115
|
tzinfo (2.0.6)
|
91
116
|
concurrent-ruby (~> 1.0)
|
92
117
|
|
93
118
|
PLATFORMS
|
119
|
+
aarch64-linux-gnu
|
120
|
+
aarch64-linux-musl
|
121
|
+
arm-linux-gnu
|
122
|
+
arm-linux-musl
|
94
123
|
arm64-darwin
|
124
|
+
x86_64-darwin
|
125
|
+
x86_64-linux-gnu
|
126
|
+
x86_64-linux-musl
|
95
127
|
|
96
128
|
DEPENDENCIES
|
97
129
|
actionpack (~> 7.1.0)
|
@@ -105,5 +137,53 @@ DEPENDENCIES
|
|
105
137
|
rake
|
106
138
|
subroutine!
|
107
139
|
|
140
|
+
CHECKSUMS
|
141
|
+
actionpack (7.1.5.1) sha256=2bc263d9f43f16cc3b3360f59659ab11f140577602f371f1a968e2672b38d718
|
142
|
+
actionview (7.1.5.1) sha256=8c559a213501798e29b50b5341a643a70bbf6fa0aa2abaf571d0efc59dc4f6aa
|
143
|
+
activemodel (7.1.5.1) sha256=74727466854a7fbdfe8f2702ca3112b23877500d4926bf7e02e921ad542191f1
|
144
|
+
activesupport (7.1.5.1) sha256=9f0c482e473b9868cb3dfe3e9db549a3bd2302c02e4f595a5caac144a8c7cfb8
|
145
|
+
ansi (1.5.0) sha256=5408253274e33d9d27d4a98c46d2998266fd51cba58a7eb9d08f50e57ed23592
|
146
|
+
appraisal (2.5.0) sha256=36989221be127913b0dba8d114da2001e6b2dceea7bd4951200eaba764eed3ce
|
147
|
+
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
|
148
|
+
benchmark (0.4.0) sha256=0f12f8c495545e3710c3e4f0480f63f06b4c842cc94cec7f33a956f5180e874a
|
149
|
+
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
|
150
|
+
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
151
|
+
byebug (12.0.0) sha256=d4a150d291cca40b66ec9ca31f754e93fed8aa266a17335f71bb0afa7fca1a1e
|
152
|
+
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
153
|
+
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
|
154
|
+
crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
|
155
|
+
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
156
|
+
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
157
|
+
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
158
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
159
|
+
loofah (2.24.0) sha256=61e6a710883abb8210887f3dc868cf3ed66594c509d9ff6987621efa6651ee1e
|
160
|
+
m (1.6.2) sha256=2fb85aff050b6b699e6dbca47b45d426e2136ccdfabb64437e9630230d29108e
|
161
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
162
|
+
minitest (5.25.5) sha256=391b6c6cb43a4802bfb7c93af1ebe2ac66a210293f4a3fb7db36f2fc7dc2c756
|
163
|
+
minitest-reporters (1.7.1) sha256=5060413a0c95b8c32fe73e0606f3631c173a884d7900e50013e15094eb50562c
|
164
|
+
mocha (2.7.1) sha256=8f7d538d5d3ebc75fc788b3d92fbab913a93a78462d2a3ce99d1bdde7af7f851
|
165
|
+
mutex_m (0.3.0) sha256=cfcb04ac16b69c4813777022fdceda24e9f798e48092a2b817eb4c0a782b0751
|
166
|
+
nokogiri (1.18.7-aarch64-linux-gnu) sha256=57a064ab5440814a69a0e040817bd8154adea68a30d2ff2b3aa515a6a06dbb5f
|
167
|
+
nokogiri (1.18.7-aarch64-linux-musl) sha256=3e442dc5b69376e84288295fe37cbb890a21ad816a7e571e5e9967b3c1e30cd3
|
168
|
+
nokogiri (1.18.7-arm-linux-gnu) sha256=337d9149deb5ae01022dff7c90f97bed81715fd586aacab0c5809ef933994c5e
|
169
|
+
nokogiri (1.18.7-arm-linux-musl) sha256=97a26edcc975f780a0822aaf7f7d7427c561067c1c9ee56bd3542960f0c28a6e
|
170
|
+
nokogiri (1.18.7-arm64-darwin) sha256=083abb2e9ed2646860f6b481a981485a658c6064caafaa81bf1cda1bada2e9d5
|
171
|
+
nokogiri (1.18.7-x86_64-darwin) sha256=081d1aa517454ba3415304e2ea51fe411d6a3a809490d0c4aa42799cada417b7
|
172
|
+
nokogiri (1.18.7-x86_64-linux-gnu) sha256=3a0bf946eb2defde13d760f869b61bc8b0c18875afdd3cffa96543cfa3a18005
|
173
|
+
nokogiri (1.18.7-x86_64-linux-musl) sha256=9d83f8ec1fc37a305fa835d7ee61a4f37899e6ccc6dcb05be6645fa9797605af
|
174
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
175
|
+
rack (3.1.12) sha256=00d83055c89273eb13679ab562767b8826955aa6c4371d7d161deb975c50c540
|
176
|
+
rack-session (2.1.0) sha256=437c3916535b58ef71c816ce4a2dee0a01c8a52ae6077dc2b6cd19085760a290
|
177
|
+
rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
|
178
|
+
rails-dom-testing (2.2.0) sha256=e515712e48df1f687a1d7c380fd7b07b8558faa26464474da64183a7426fa93b
|
179
|
+
rails-html-sanitizer (1.6.2) sha256=35fce2ca8242da8775c83b6ba9c1bcaad6751d9eb73c1abaa8403475ab89a560
|
180
|
+
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
|
181
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
182
|
+
ruby2_keywords (0.0.5) sha256=ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef
|
183
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
184
|
+
subroutine (4.4.0)
|
185
|
+
thor (1.3.2) sha256=eef0293b9e24158ccad7ab383ae83534b7ad4ed99c09f96f1a6b036550abbeda
|
186
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
187
|
+
|
108
188
|
BUNDLED WITH
|
109
|
-
2.
|
189
|
+
2.6.7
|
@@ -1,16 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
subroutine (4.
|
4
|
+
subroutine (4.4.0)
|
5
5
|
activemodel (>= 6.1)
|
6
6
|
activesupport (>= 6.1)
|
7
|
+
base64
|
8
|
+
bigdecimal
|
9
|
+
logger
|
10
|
+
mutex_m
|
7
11
|
|
8
12
|
GEM
|
9
13
|
remote: https://rubygems.org/
|
10
14
|
specs:
|
11
|
-
actionpack (7.2.1)
|
12
|
-
actionview (= 7.2.1)
|
13
|
-
activesupport (= 7.2.1)
|
15
|
+
actionpack (7.2.2.1)
|
16
|
+
actionview (= 7.2.2.1)
|
17
|
+
activesupport (= 7.2.2.1)
|
14
18
|
nokogiri (>= 1.8.5)
|
15
19
|
racc
|
16
20
|
rack (>= 2.2.4, < 3.2)
|
@@ -19,16 +23,17 @@ GEM
|
|
19
23
|
rails-dom-testing (~> 2.2)
|
20
24
|
rails-html-sanitizer (~> 1.6)
|
21
25
|
useragent (~> 0.16)
|
22
|
-
actionview (7.2.1)
|
23
|
-
activesupport (= 7.2.1)
|
26
|
+
actionview (7.2.2.1)
|
27
|
+
activesupport (= 7.2.2.1)
|
24
28
|
builder (~> 3.1)
|
25
29
|
erubi (~> 1.11)
|
26
30
|
rails-dom-testing (~> 2.2)
|
27
31
|
rails-html-sanitizer (~> 1.6)
|
28
|
-
activemodel (7.2.1)
|
29
|
-
activesupport (= 7.2.1)
|
30
|
-
activesupport (7.2.1)
|
32
|
+
activemodel (7.2.2.1)
|
33
|
+
activesupport (= 7.2.2.1)
|
34
|
+
activesupport (7.2.2.1)
|
31
35
|
base64
|
36
|
+
benchmark (>= 0.3)
|
32
37
|
bigdecimal
|
33
38
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
34
39
|
connection_pool (>= 2.2.5)
|
@@ -44,58 +49,82 @@ GEM
|
|
44
49
|
rake
|
45
50
|
thor (>= 0.14.0)
|
46
51
|
base64 (0.2.0)
|
47
|
-
|
52
|
+
benchmark (0.4.0)
|
53
|
+
bigdecimal (3.1.9)
|
48
54
|
builder (3.3.0)
|
49
|
-
byebug (
|
50
|
-
concurrent-ruby (1.3.
|
51
|
-
connection_pool (2.
|
55
|
+
byebug (12.0.0)
|
56
|
+
concurrent-ruby (1.3.5)
|
57
|
+
connection_pool (2.5.0)
|
52
58
|
crass (1.0.6)
|
53
59
|
drb (2.2.1)
|
54
|
-
erubi (1.13.
|
55
|
-
i18n (1.14.
|
60
|
+
erubi (1.13.1)
|
61
|
+
i18n (1.14.7)
|
56
62
|
concurrent-ruby (~> 1.0)
|
57
|
-
logger (1.
|
58
|
-
loofah (2.
|
63
|
+
logger (1.7.0)
|
64
|
+
loofah (2.24.0)
|
59
65
|
crass (~> 1.0.2)
|
60
66
|
nokogiri (>= 1.12.0)
|
61
67
|
m (1.6.2)
|
62
68
|
method_source (>= 0.6.7)
|
63
69
|
rake (>= 0.9.2.2)
|
64
70
|
method_source (1.1.0)
|
65
|
-
minitest (5.25.
|
71
|
+
minitest (5.25.5)
|
66
72
|
minitest-reporters (1.7.1)
|
67
73
|
ansi
|
68
74
|
builder
|
69
75
|
minitest (>= 5.0)
|
70
76
|
ruby-progressbar
|
71
|
-
mocha (2.
|
77
|
+
mocha (2.7.1)
|
72
78
|
ruby2_keywords (>= 0.0.5)
|
73
|
-
|
79
|
+
mutex_m (0.3.0)
|
80
|
+
nokogiri (1.18.7-aarch64-linux-gnu)
|
81
|
+
racc (~> 1.4)
|
82
|
+
nokogiri (1.18.7-aarch64-linux-musl)
|
83
|
+
racc (~> 1.4)
|
84
|
+
nokogiri (1.18.7-arm-linux-gnu)
|
85
|
+
racc (~> 1.4)
|
86
|
+
nokogiri (1.18.7-arm-linux-musl)
|
87
|
+
racc (~> 1.4)
|
88
|
+
nokogiri (1.18.7-arm64-darwin)
|
89
|
+
racc (~> 1.4)
|
90
|
+
nokogiri (1.18.7-x86_64-darwin)
|
91
|
+
racc (~> 1.4)
|
92
|
+
nokogiri (1.18.7-x86_64-linux-gnu)
|
93
|
+
racc (~> 1.4)
|
94
|
+
nokogiri (1.18.7-x86_64-linux-musl)
|
74
95
|
racc (~> 1.4)
|
75
96
|
racc (1.8.1)
|
76
|
-
rack (3.1.
|
77
|
-
rack-session (2.
|
97
|
+
rack (3.1.12)
|
98
|
+
rack-session (2.1.0)
|
99
|
+
base64 (>= 0.1.0)
|
78
100
|
rack (>= 3.0.0)
|
79
|
-
rack-test (2.
|
101
|
+
rack-test (2.2.0)
|
80
102
|
rack (>= 1.3)
|
81
103
|
rails-dom-testing (2.2.0)
|
82
104
|
activesupport (>= 5.0.0)
|
83
105
|
minitest
|
84
106
|
nokogiri (>= 1.6)
|
85
|
-
rails-html-sanitizer (1.6.
|
107
|
+
rails-html-sanitizer (1.6.2)
|
86
108
|
loofah (~> 2.21)
|
87
|
-
nokogiri (
|
109
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
88
110
|
rake (13.2.1)
|
89
111
|
ruby-progressbar (1.13.0)
|
90
112
|
ruby2_keywords (0.0.5)
|
91
|
-
securerandom (0.
|
113
|
+
securerandom (0.4.1)
|
92
114
|
thor (1.3.2)
|
93
115
|
tzinfo (2.0.6)
|
94
116
|
concurrent-ruby (~> 1.0)
|
95
|
-
useragent (0.16.
|
117
|
+
useragent (0.16.11)
|
96
118
|
|
97
119
|
PLATFORMS
|
120
|
+
aarch64-linux-gnu
|
121
|
+
aarch64-linux-musl
|
122
|
+
arm-linux-gnu
|
123
|
+
arm-linux-musl
|
98
124
|
arm64-darwin
|
125
|
+
x86_64-darwin
|
126
|
+
x86_64-linux-gnu
|
127
|
+
x86_64-linux-musl
|
99
128
|
|
100
129
|
DEPENDENCIES
|
101
130
|
actionpack (~> 7.2.0)
|
@@ -109,5 +138,54 @@ DEPENDENCIES
|
|
109
138
|
rake
|
110
139
|
subroutine!
|
111
140
|
|
141
|
+
CHECKSUMS
|
142
|
+
actionpack (7.2.2.1) sha256=17b2160a7bcbd5a569d06b1ae54a4bb5ccc7ba0815d73ff5768100a79dc1f734
|
143
|
+
actionview (7.2.2.1) sha256=69fc880cf3d8b1baf21b048cf7bb68f1eef08760ff8104d7d60a6a1be8b359a5
|
144
|
+
activemodel (7.2.2.1) sha256=8398861f9ee2c4671a8357ab39e9b38a045fd656f6685a3dd5890c2419dbfdaf
|
145
|
+
activesupport (7.2.2.1) sha256=842bcbf8a92977f80fb4750661a237cf5dd4fdd442066b3c35e88afb488647f5
|
146
|
+
ansi (1.5.0) sha256=5408253274e33d9d27d4a98c46d2998266fd51cba58a7eb9d08f50e57ed23592
|
147
|
+
appraisal (2.5.0) sha256=36989221be127913b0dba8d114da2001e6b2dceea7bd4951200eaba764eed3ce
|
148
|
+
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
|
149
|
+
benchmark (0.4.0) sha256=0f12f8c495545e3710c3e4f0480f63f06b4c842cc94cec7f33a956f5180e874a
|
150
|
+
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
|
151
|
+
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
152
|
+
byebug (12.0.0) sha256=d4a150d291cca40b66ec9ca31f754e93fed8aa266a17335f71bb0afa7fca1a1e
|
153
|
+
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
154
|
+
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
|
155
|
+
crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
|
156
|
+
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
157
|
+
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
158
|
+
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
159
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
160
|
+
loofah (2.24.0) sha256=61e6a710883abb8210887f3dc868cf3ed66594c509d9ff6987621efa6651ee1e
|
161
|
+
m (1.6.2) sha256=2fb85aff050b6b699e6dbca47b45d426e2136ccdfabb64437e9630230d29108e
|
162
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
163
|
+
minitest (5.25.5) sha256=391b6c6cb43a4802bfb7c93af1ebe2ac66a210293f4a3fb7db36f2fc7dc2c756
|
164
|
+
minitest-reporters (1.7.1) sha256=5060413a0c95b8c32fe73e0606f3631c173a884d7900e50013e15094eb50562c
|
165
|
+
mocha (2.7.1) sha256=8f7d538d5d3ebc75fc788b3d92fbab913a93a78462d2a3ce99d1bdde7af7f851
|
166
|
+
mutex_m (0.3.0) sha256=cfcb04ac16b69c4813777022fdceda24e9f798e48092a2b817eb4c0a782b0751
|
167
|
+
nokogiri (1.18.7-aarch64-linux-gnu) sha256=57a064ab5440814a69a0e040817bd8154adea68a30d2ff2b3aa515a6a06dbb5f
|
168
|
+
nokogiri (1.18.7-aarch64-linux-musl) sha256=3e442dc5b69376e84288295fe37cbb890a21ad816a7e571e5e9967b3c1e30cd3
|
169
|
+
nokogiri (1.18.7-arm-linux-gnu) sha256=337d9149deb5ae01022dff7c90f97bed81715fd586aacab0c5809ef933994c5e
|
170
|
+
nokogiri (1.18.7-arm-linux-musl) sha256=97a26edcc975f780a0822aaf7f7d7427c561067c1c9ee56bd3542960f0c28a6e
|
171
|
+
nokogiri (1.18.7-arm64-darwin) sha256=083abb2e9ed2646860f6b481a981485a658c6064caafaa81bf1cda1bada2e9d5
|
172
|
+
nokogiri (1.18.7-x86_64-darwin) sha256=081d1aa517454ba3415304e2ea51fe411d6a3a809490d0c4aa42799cada417b7
|
173
|
+
nokogiri (1.18.7-x86_64-linux-gnu) sha256=3a0bf946eb2defde13d760f869b61bc8b0c18875afdd3cffa96543cfa3a18005
|
174
|
+
nokogiri (1.18.7-x86_64-linux-musl) sha256=9d83f8ec1fc37a305fa835d7ee61a4f37899e6ccc6dcb05be6645fa9797605af
|
175
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
176
|
+
rack (3.1.12) sha256=00d83055c89273eb13679ab562767b8826955aa6c4371d7d161deb975c50c540
|
177
|
+
rack-session (2.1.0) sha256=437c3916535b58ef71c816ce4a2dee0a01c8a52ae6077dc2b6cd19085760a290
|
178
|
+
rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
|
179
|
+
rails-dom-testing (2.2.0) sha256=e515712e48df1f687a1d7c380fd7b07b8558faa26464474da64183a7426fa93b
|
180
|
+
rails-html-sanitizer (1.6.2) sha256=35fce2ca8242da8775c83b6ba9c1bcaad6751d9eb73c1abaa8403475ab89a560
|
181
|
+
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
|
182
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
183
|
+
ruby2_keywords (0.0.5) sha256=ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef
|
184
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
185
|
+
subroutine (4.4.0)
|
186
|
+
thor (1.3.2) sha256=eef0293b9e24158ccad7ab383ae83534b7ad4ed99c09f96f1a6b036550abbeda
|
187
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
188
|
+
useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
|
189
|
+
|
112
190
|
BUNDLED WITH
|
113
|
-
2.
|
191
|
+
2.6.7
|
@@ -0,0 +1,204 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
subroutine (4.4.0)
|
5
|
+
activemodel (>= 6.1)
|
6
|
+
activesupport (>= 6.1)
|
7
|
+
base64
|
8
|
+
bigdecimal
|
9
|
+
logger
|
10
|
+
mutex_m
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
actionpack (8.0.2)
|
16
|
+
actionview (= 8.0.2)
|
17
|
+
activesupport (= 8.0.2)
|
18
|
+
nokogiri (>= 1.8.5)
|
19
|
+
rack (>= 2.2.4)
|
20
|
+
rack-session (>= 1.0.1)
|
21
|
+
rack-test (>= 0.6.3)
|
22
|
+
rails-dom-testing (~> 2.2)
|
23
|
+
rails-html-sanitizer (~> 1.6)
|
24
|
+
useragent (~> 0.16)
|
25
|
+
actionview (8.0.2)
|
26
|
+
activesupport (= 8.0.2)
|
27
|
+
builder (~> 3.1)
|
28
|
+
erubi (~> 1.11)
|
29
|
+
rails-dom-testing (~> 2.2)
|
30
|
+
rails-html-sanitizer (~> 1.6)
|
31
|
+
activemodel (8.0.2)
|
32
|
+
activesupport (= 8.0.2)
|
33
|
+
activesupport (8.0.2)
|
34
|
+
base64
|
35
|
+
benchmark (>= 0.3)
|
36
|
+
bigdecimal
|
37
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
38
|
+
connection_pool (>= 2.2.5)
|
39
|
+
drb
|
40
|
+
i18n (>= 1.6, < 2)
|
41
|
+
logger (>= 1.4.2)
|
42
|
+
minitest (>= 5.1)
|
43
|
+
securerandom (>= 0.3)
|
44
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
45
|
+
uri (>= 0.13.1)
|
46
|
+
ansi (1.5.0)
|
47
|
+
appraisal (2.5.0)
|
48
|
+
bundler
|
49
|
+
rake
|
50
|
+
thor (>= 0.14.0)
|
51
|
+
base64 (0.2.0)
|
52
|
+
benchmark (0.4.0)
|
53
|
+
bigdecimal (3.1.9)
|
54
|
+
builder (3.3.0)
|
55
|
+
byebug (12.0.0)
|
56
|
+
concurrent-ruby (1.3.5)
|
57
|
+
connection_pool (2.5.0)
|
58
|
+
crass (1.0.6)
|
59
|
+
drb (2.2.1)
|
60
|
+
erubi (1.13.1)
|
61
|
+
i18n (1.14.7)
|
62
|
+
concurrent-ruby (~> 1.0)
|
63
|
+
logger (1.7.0)
|
64
|
+
loofah (2.24.0)
|
65
|
+
crass (~> 1.0.2)
|
66
|
+
nokogiri (>= 1.12.0)
|
67
|
+
m (1.6.2)
|
68
|
+
method_source (>= 0.6.7)
|
69
|
+
rake (>= 0.9.2.2)
|
70
|
+
method_source (1.1.0)
|
71
|
+
mini_portile2 (2.8.8)
|
72
|
+
minitest (5.25.5)
|
73
|
+
minitest-reporters (1.7.1)
|
74
|
+
ansi
|
75
|
+
builder
|
76
|
+
minitest (>= 5.0)
|
77
|
+
ruby-progressbar
|
78
|
+
mocha (2.7.1)
|
79
|
+
ruby2_keywords (>= 0.0.5)
|
80
|
+
mutex_m (0.3.0)
|
81
|
+
nokogiri (1.18.7)
|
82
|
+
mini_portile2 (~> 2.8.2)
|
83
|
+
racc (~> 1.4)
|
84
|
+
nokogiri (1.18.7-aarch64-linux-gnu)
|
85
|
+
racc (~> 1.4)
|
86
|
+
nokogiri (1.18.7-aarch64-linux-musl)
|
87
|
+
racc (~> 1.4)
|
88
|
+
nokogiri (1.18.7-arm-linux-gnu)
|
89
|
+
racc (~> 1.4)
|
90
|
+
nokogiri (1.18.7-arm-linux-musl)
|
91
|
+
racc (~> 1.4)
|
92
|
+
nokogiri (1.18.7-arm64-darwin)
|
93
|
+
racc (~> 1.4)
|
94
|
+
nokogiri (1.18.7-x86_64-darwin)
|
95
|
+
racc (~> 1.4)
|
96
|
+
nokogiri (1.18.7-x86_64-linux-gnu)
|
97
|
+
racc (~> 1.4)
|
98
|
+
nokogiri (1.18.7-x86_64-linux-musl)
|
99
|
+
racc (~> 1.4)
|
100
|
+
racc (1.8.1)
|
101
|
+
rack (3.1.12)
|
102
|
+
rack-session (2.1.0)
|
103
|
+
base64 (>= 0.1.0)
|
104
|
+
rack (>= 3.0.0)
|
105
|
+
rack-test (2.2.0)
|
106
|
+
rack (>= 1.3)
|
107
|
+
rails-dom-testing (2.2.0)
|
108
|
+
activesupport (>= 5.0.0)
|
109
|
+
minitest
|
110
|
+
nokogiri (>= 1.6)
|
111
|
+
rails-html-sanitizer (1.6.2)
|
112
|
+
loofah (~> 2.21)
|
113
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
114
|
+
rake (13.2.1)
|
115
|
+
ruby-progressbar (1.13.0)
|
116
|
+
ruby2_keywords (0.0.5)
|
117
|
+
securerandom (0.4.1)
|
118
|
+
thor (1.3.2)
|
119
|
+
tzinfo (2.0.6)
|
120
|
+
concurrent-ruby (~> 1.0)
|
121
|
+
uri (1.0.3)
|
122
|
+
useragent (0.16.11)
|
123
|
+
|
124
|
+
PLATFORMS
|
125
|
+
aarch64-linux
|
126
|
+
aarch64-linux-gnu
|
127
|
+
aarch64-linux-musl
|
128
|
+
arm-linux
|
129
|
+
arm-linux-gnu
|
130
|
+
arm-linux-musl
|
131
|
+
arm64-darwin
|
132
|
+
ruby
|
133
|
+
x86-linux
|
134
|
+
x86_64-darwin
|
135
|
+
x86_64-linux
|
136
|
+
x86_64-linux-gnu
|
137
|
+
x86_64-linux-musl
|
138
|
+
|
139
|
+
DEPENDENCIES
|
140
|
+
actionpack (~> 8.0.0)
|
141
|
+
activemodel (~> 8.0.0)
|
142
|
+
appraisal
|
143
|
+
byebug
|
144
|
+
m
|
145
|
+
minitest
|
146
|
+
minitest-reporters
|
147
|
+
mocha
|
148
|
+
rake
|
149
|
+
subroutine!
|
150
|
+
|
151
|
+
CHECKSUMS
|
152
|
+
actionpack (8.0.2) sha256=93e703064f3815295ccf820f57acbca719aec836749597da9262781c9b2f4b78
|
153
|
+
actionview (8.0.2) sha256=e038e1405cdfc18f04f17243da4fb8eeda3a4992f63a6d70a7281d255cf7cebb
|
154
|
+
activemodel (8.0.2) sha256=0ae1fb7fa1fae0699ba041a9e97702df42ea3b13f2d39f2d0fde51fca5f0656c
|
155
|
+
activesupport (8.0.2) sha256=8565cddba31b900cdc17682fd66ecd020441e3eef320a9930285394e8c07a45e
|
156
|
+
ansi (1.5.0) sha256=5408253274e33d9d27d4a98c46d2998266fd51cba58a7eb9d08f50e57ed23592
|
157
|
+
appraisal (2.5.0) sha256=36989221be127913b0dba8d114da2001e6b2dceea7bd4951200eaba764eed3ce
|
158
|
+
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
|
159
|
+
benchmark (0.4.0) sha256=0f12f8c495545e3710c3e4f0480f63f06b4c842cc94cec7f33a956f5180e874a
|
160
|
+
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
|
161
|
+
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
162
|
+
byebug (12.0.0) sha256=d4a150d291cca40b66ec9ca31f754e93fed8aa266a17335f71bb0afa7fca1a1e
|
163
|
+
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
164
|
+
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
|
165
|
+
crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
|
166
|
+
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
167
|
+
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
168
|
+
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
169
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
170
|
+
loofah (2.24.0) sha256=61e6a710883abb8210887f3dc868cf3ed66594c509d9ff6987621efa6651ee1e
|
171
|
+
m (1.6.2) sha256=2fb85aff050b6b699e6dbca47b45d426e2136ccdfabb64437e9630230d29108e
|
172
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
173
|
+
mini_portile2 (2.8.8) sha256=8e47136cdac04ce81750bb6c09733b37895bf06962554e4b4056d78168d70a75
|
174
|
+
minitest (5.25.5) sha256=391b6c6cb43a4802bfb7c93af1ebe2ac66a210293f4a3fb7db36f2fc7dc2c756
|
175
|
+
minitest-reporters (1.7.1) sha256=5060413a0c95b8c32fe73e0606f3631c173a884d7900e50013e15094eb50562c
|
176
|
+
mocha (2.7.1) sha256=8f7d538d5d3ebc75fc788b3d92fbab913a93a78462d2a3ce99d1bdde7af7f851
|
177
|
+
mutex_m (0.3.0) sha256=cfcb04ac16b69c4813777022fdceda24e9f798e48092a2b817eb4c0a782b0751
|
178
|
+
nokogiri (1.18.7) sha256=6b63ff5defe48f30d1d3b3122f65255ca91df2caf5378c6e0482ce73ff46fb31
|
179
|
+
nokogiri (1.18.7-aarch64-linux-gnu) sha256=57a064ab5440814a69a0e040817bd8154adea68a30d2ff2b3aa515a6a06dbb5f
|
180
|
+
nokogiri (1.18.7-aarch64-linux-musl) sha256=3e442dc5b69376e84288295fe37cbb890a21ad816a7e571e5e9967b3c1e30cd3
|
181
|
+
nokogiri (1.18.7-arm-linux-gnu) sha256=337d9149deb5ae01022dff7c90f97bed81715fd586aacab0c5809ef933994c5e
|
182
|
+
nokogiri (1.18.7-arm-linux-musl) sha256=97a26edcc975f780a0822aaf7f7d7427c561067c1c9ee56bd3542960f0c28a6e
|
183
|
+
nokogiri (1.18.7-arm64-darwin) sha256=083abb2e9ed2646860f6b481a981485a658c6064caafaa81bf1cda1bada2e9d5
|
184
|
+
nokogiri (1.18.7-x86_64-darwin) sha256=081d1aa517454ba3415304e2ea51fe411d6a3a809490d0c4aa42799cada417b7
|
185
|
+
nokogiri (1.18.7-x86_64-linux-gnu) sha256=3a0bf946eb2defde13d760f869b61bc8b0c18875afdd3cffa96543cfa3a18005
|
186
|
+
nokogiri (1.18.7-x86_64-linux-musl) sha256=9d83f8ec1fc37a305fa835d7ee61a4f37899e6ccc6dcb05be6645fa9797605af
|
187
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
188
|
+
rack (3.1.12) sha256=00d83055c89273eb13679ab562767b8826955aa6c4371d7d161deb975c50c540
|
189
|
+
rack-session (2.1.0) sha256=437c3916535b58ef71c816ce4a2dee0a01c8a52ae6077dc2b6cd19085760a290
|
190
|
+
rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
|
191
|
+
rails-dom-testing (2.2.0) sha256=e515712e48df1f687a1d7c380fd7b07b8558faa26464474da64183a7426fa93b
|
192
|
+
rails-html-sanitizer (1.6.2) sha256=35fce2ca8242da8775c83b6ba9c1bcaad6751d9eb73c1abaa8403475ab89a560
|
193
|
+
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
|
194
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
195
|
+
ruby2_keywords (0.0.5) sha256=ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef
|
196
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
197
|
+
subroutine (4.4.0)
|
198
|
+
thor (1.3.2) sha256=eef0293b9e24158ccad7ab383ae83534b7ad4ed99c09f96f1a6b036550abbeda
|
199
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
200
|
+
uri (1.0.3) sha256=e9f2244608eea2f7bc357d954c65c910ce0399ca5e18a7a29207ac22d8767011
|
201
|
+
useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
|
202
|
+
|
203
|
+
BUNDLED WITH
|
204
|
+
2.6.7
|
@@ -177,7 +177,7 @@ module Subroutine
|
|
177
177
|
get_field(config.foreign_type_method)
|
178
178
|
end
|
179
179
|
|
180
|
-
klass = klass
|
180
|
+
klass = Subroutine.constantize_polymorphic_class_name(klass) if klass.is_a?(String)
|
181
181
|
return nil unless klass
|
182
182
|
|
183
183
|
foreign_key = config.foreign_key_method
|
@@ -13,7 +13,10 @@ module Subroutine
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
-
DEFAULT_OPTIONS = {
|
16
|
+
DEFAULT_OPTIONS = {
|
17
|
+
required: true,
|
18
|
+
lazy: false
|
19
|
+
}.freeze
|
17
20
|
|
18
21
|
attr_reader :output_name
|
19
22
|
|
@@ -28,6 +31,10 @@ module Subroutine
|
|
28
31
|
!!config[:required]
|
29
32
|
end
|
30
33
|
|
34
|
+
def lazy?
|
35
|
+
!!config[:lazy]
|
36
|
+
end
|
37
|
+
|
31
38
|
def inspect
|
32
39
|
"#<#{self.class}:#{object_id} name=#{output_name} config=#{config.inspect}>"
|
33
40
|
end
|