miau 1.0.3 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +1 -1
  3. data/.gitignore +7 -4
  4. data/.ruby-version +1 -1
  5. data/Gemfile +5 -3
  6. data/Gemfile.lock +190 -18
  7. data/LICENSE +1 -1
  8. data/README.md +35 -17
  9. data/Rakefile +4 -6
  10. data/gemfiles/rails_6.1.gemfile +3 -2
  11. data/gemfiles/rails_7.0.gemfile +3 -2
  12. data/gemfiles/rails_7.1.gemfile +3 -2
  13. data/lib/miau/application_policy.rb +3 -2
  14. data/lib/miau/error.rb +3 -0
  15. data/lib/miau/run.rb +48 -0
  16. data/lib/miau/storage.rb +18 -52
  17. data/lib/miau/version.rb +4 -1
  18. data/lib/miau.rb +28 -19
  19. data/miau.gemspec +6 -9
  20. data/test/authorization_test.rb +28 -0
  21. data/test/benchmark_test.rb +34 -0
  22. data/test/controller_test.rb +58 -0
  23. data/test/controllers/orders_controller_test.rb +47 -0
  24. data/test/internal/app/controllers/application_controller.rb +7 -0
  25. data/test/internal/app/controllers/orders_controller.rb +61 -0
  26. data/test/internal/app/controllers/posts_controller.rb +10 -0
  27. data/test/internal/app/models/application_record.rb +3 -0
  28. data/test/internal/app/models/order.rb +2 -0
  29. data/test/internal/app/models/post.rb +2 -0
  30. data/test/internal/app/policies/orders_policy.rb +16 -0
  31. data/test/internal/app/policies/posts_policy.rb +18 -0
  32. data/test/internal/app/views/orders/new.html.erb +5 -0
  33. data/test/internal/config/database.yml +3 -0
  34. data/test/internal/config/routes.rb +3 -0
  35. data/test/internal/db/migrate/20141016161801_create_orders.rb +10 -0
  36. data/test/internal/db/schema.rb +8 -0
  37. data/test/miau_test.rb +46 -0
  38. data/test/run_test.rb +69 -0
  39. data/test/storage_test.rb +51 -0
  40. data/test/test_helper.rb +17 -0
  41. metadata +33 -14
  42. data/gemfiles/rails_6.1.gemfile.lock +0 -224
  43. data/gemfiles/rails_7.0.gemfile.lock +0 -256
  44. data/gemfiles/rails_7.1.gemfile.lock +0 -254
@@ -1,254 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- miau (1.0.2)
5
- activesupport
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (7.1.2)
11
- actionpack (= 7.1.2)
12
- activesupport (= 7.1.2)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- zeitwerk (~> 2.6)
16
- actionmailbox (7.1.2)
17
- actionpack (= 7.1.2)
18
- activejob (= 7.1.2)
19
- activerecord (= 7.1.2)
20
- activestorage (= 7.1.2)
21
- activesupport (= 7.1.2)
22
- mail (>= 2.7.1)
23
- net-imap
24
- net-pop
25
- net-smtp
26
- actionmailer (7.1.2)
27
- actionpack (= 7.1.2)
28
- actionview (= 7.1.2)
29
- activejob (= 7.1.2)
30
- activesupport (= 7.1.2)
31
- mail (~> 2.5, >= 2.5.4)
32
- net-imap
33
- net-pop
34
- net-smtp
35
- rails-dom-testing (~> 2.2)
36
- actionpack (7.1.2)
37
- actionview (= 7.1.2)
38
- activesupport (= 7.1.2)
39
- nokogiri (>= 1.8.5)
40
- racc
41
- rack (>= 2.2.4)
42
- rack-session (>= 1.0.1)
43
- rack-test (>= 0.6.3)
44
- rails-dom-testing (~> 2.2)
45
- rails-html-sanitizer (~> 1.6)
46
- actiontext (7.1.2)
47
- actionpack (= 7.1.2)
48
- activerecord (= 7.1.2)
49
- activestorage (= 7.1.2)
50
- activesupport (= 7.1.2)
51
- globalid (>= 0.6.0)
52
- nokogiri (>= 1.8.5)
53
- actionview (7.1.2)
54
- activesupport (= 7.1.2)
55
- builder (~> 3.1)
56
- erubi (~> 1.11)
57
- rails-dom-testing (~> 2.2)
58
- rails-html-sanitizer (~> 1.6)
59
- activejob (7.1.2)
60
- activesupport (= 7.1.2)
61
- globalid (>= 0.3.6)
62
- activemodel (7.1.2)
63
- activesupport (= 7.1.2)
64
- activerecord (7.1.2)
65
- activemodel (= 7.1.2)
66
- activesupport (= 7.1.2)
67
- timeout (>= 0.4.0)
68
- activestorage (7.1.2)
69
- actionpack (= 7.1.2)
70
- activejob (= 7.1.2)
71
- activerecord (= 7.1.2)
72
- activesupport (= 7.1.2)
73
- marcel (~> 1.0)
74
- activesupport (7.1.2)
75
- base64
76
- bigdecimal
77
- concurrent-ruby (~> 1.0, >= 1.0.2)
78
- connection_pool (>= 2.2.5)
79
- drb
80
- i18n (>= 1.6, < 2)
81
- minitest (>= 5.1)
82
- mutex_m
83
- tzinfo (~> 2.0)
84
- appraisal (2.5.0)
85
- bundler
86
- rake
87
- thor (>= 0.14.0)
88
- ast (2.4.2)
89
- base64 (0.2.0)
90
- benchmark-ips (2.13.0)
91
- bigdecimal (3.1.5)
92
- builder (3.2.4)
93
- concurrent-ruby (1.2.2)
94
- connection_pool (2.4.1)
95
- crass (1.0.6)
96
- date (3.3.4)
97
- docile (1.4.0)
98
- drb (2.2.0)
99
- ruby2_keywords
100
- erubi (1.12.0)
101
- globalid (1.2.1)
102
- activesupport (>= 6.1)
103
- i18n (1.14.1)
104
- concurrent-ruby (~> 1.0)
105
- io-console (0.7.0)
106
- irb (1.10.1)
107
- rdoc
108
- reline (>= 0.3.8)
109
- json (2.7.1)
110
- language_server-protocol (3.17.0.3)
111
- lint_roller (1.1.0)
112
- loofah (2.22.0)
113
- crass (~> 1.0.2)
114
- nokogiri (>= 1.12.0)
115
- mail (2.8.1)
116
- mini_mime (>= 0.1.1)
117
- net-imap
118
- net-pop
119
- net-smtp
120
- marcel (1.0.2)
121
- mini_mime (1.1.5)
122
- minitest (5.20.0)
123
- mutex_m (0.2.0)
124
- net-imap (0.4.8)
125
- date
126
- net-protocol
127
- net-pop (0.1.2)
128
- net-protocol
129
- net-protocol (0.2.2)
130
- timeout
131
- net-smtp (0.4.0)
132
- net-protocol
133
- nio4r (2.7.0)
134
- nokogiri (1.15.5-x86_64-linux)
135
- racc (~> 1.4)
136
- observr (1.0.5)
137
- parallel (1.23.0)
138
- parser (3.2.2.4)
139
- ast (~> 2.4.1)
140
- racc
141
- psych (5.1.1.1)
142
- stringio
143
- racc (1.7.3)
144
- rack (3.0.8)
145
- rack-session (2.0.0)
146
- rack (>= 3.0.0)
147
- rack-test (2.1.0)
148
- rack (>= 1.3)
149
- rackup (2.1.0)
150
- rack (>= 3)
151
- webrick (~> 1.8)
152
- rails (7.1.2)
153
- actioncable (= 7.1.2)
154
- actionmailbox (= 7.1.2)
155
- actionmailer (= 7.1.2)
156
- actionpack (= 7.1.2)
157
- actiontext (= 7.1.2)
158
- actionview (= 7.1.2)
159
- activejob (= 7.1.2)
160
- activemodel (= 7.1.2)
161
- activerecord (= 7.1.2)
162
- activestorage (= 7.1.2)
163
- activesupport (= 7.1.2)
164
- bundler (>= 1.15.0)
165
- railties (= 7.1.2)
166
- rails-dom-testing (2.2.0)
167
- activesupport (>= 5.0.0)
168
- minitest
169
- nokogiri (>= 1.6)
170
- rails-html-sanitizer (1.6.0)
171
- loofah (~> 2.21)
172
- nokogiri (~> 1.14)
173
- railties (7.1.2)
174
- actionpack (= 7.1.2)
175
- activesupport (= 7.1.2)
176
- irb
177
- rackup (>= 1.0.0)
178
- rake (>= 12.2)
179
- thor (~> 1.0, >= 1.2.2)
180
- zeitwerk (~> 2.6)
181
- rainbow (3.1.1)
182
- rake (13.1.0)
183
- rdoc (6.6.1)
184
- psych (>= 4.0.0)
185
- regexp_parser (2.8.3)
186
- reline (0.4.1)
187
- io-console (~> 0.5)
188
- rexml (3.2.6)
189
- ricecream (0.2.1)
190
- rubocop (1.57.2)
191
- json (~> 2.3)
192
- language_server-protocol (>= 3.17.0)
193
- parallel (~> 1.10)
194
- parser (>= 3.2.2.4)
195
- rainbow (>= 2.2.2, < 4.0)
196
- regexp_parser (>= 1.8, < 3.0)
197
- rexml (>= 3.2.5, < 4.0)
198
- rubocop-ast (>= 1.28.1, < 2.0)
199
- ruby-progressbar (~> 1.7)
200
- unicode-display_width (>= 2.4.0, < 3.0)
201
- rubocop-ast (1.30.0)
202
- parser (>= 3.2.1.0)
203
- rubocop-performance (1.19.1)
204
- rubocop (>= 1.7.0, < 2.0)
205
- rubocop-ast (>= 0.4.0)
206
- ruby-progressbar (1.13.0)
207
- ruby2_keywords (0.0.5)
208
- simplecov (0.22.0)
209
- docile (~> 1.1)
210
- simplecov-html (~> 0.11)
211
- simplecov_json_formatter (~> 0.1)
212
- simplecov-html (0.12.3)
213
- simplecov_json_formatter (0.1.4)
214
- standard (1.32.1)
215
- language_server-protocol (~> 3.17.0.2)
216
- lint_roller (~> 1.0)
217
- rubocop (~> 1.57.2)
218
- standard-custom (~> 1.0.0)
219
- standard-performance (~> 1.2)
220
- standard-custom (1.0.2)
221
- lint_roller (~> 1.0)
222
- rubocop (~> 1.50)
223
- standard-performance (1.2.1)
224
- lint_roller (~> 1.1)
225
- rubocop-performance (~> 1.19.1)
226
- stringio (3.1.0)
227
- thor (1.3.0)
228
- timeout (0.4.1)
229
- tzinfo (2.0.6)
230
- concurrent-ruby (~> 1.0)
231
- unicode-display_width (2.5.0)
232
- webrick (1.8.1)
233
- websocket-driver (0.7.6)
234
- websocket-extensions (>= 0.1.0)
235
- websocket-extensions (0.1.5)
236
- zeitwerk (2.6.12)
237
-
238
- PLATFORMS
239
- x86_64-linux
240
-
241
- DEPENDENCIES
242
- appraisal
243
- benchmark-ips
244
- miau!
245
- minitest
246
- observr
247
- rails (~> 7.1)
248
- rake
249
- ricecream
250
- simplecov
251
- standard
252
-
253
- BUNDLED WITH
254
- 2.4.22