eve-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/.better-html.yml +1 -0
  3. data/.editorconfig +9 -0
  4. data/.erb-lint.yml +31 -0
  5. data/.eslintignore +4 -0
  6. data/.eslintrc.js +17 -0
  7. data/.husky/pre-commit +9 -0
  8. data/.mdlrc +2 -0
  9. data/.node-version +1 -0
  10. data/.prettier.config.js +3 -0
  11. data/.prettierignore +5 -0
  12. data/.rspec +3 -0
  13. data/.rubocop.yml +48 -0
  14. data/.ruby-version +1 -0
  15. data/.tool-versions +1 -0
  16. data/.vscode/settings.json +23 -0
  17. data/.yardext.rb +18 -0
  18. data/.yardopts +18 -0
  19. data/CHANGELOG.md +7 -0
  20. data/CODE_OF_CONDUCT.md +84 -0
  21. data/CONTRIBUTING.md +1 -0
  22. data/Gemfile +59 -0
  23. data/Gemfile.lock +467 -0
  24. data/LICENSE.txt +21 -0
  25. data/Procfile.dev +3 -0
  26. data/README.md +23 -0
  27. data/Rakefile +5 -0
  28. data/SECURITY.md +1 -0
  29. data/app/controllers/eve/rails/application_controller.rb +8 -0
  30. data/app/helpers/eve/rails/application_helper.rb +9 -0
  31. data/config/i18n-tasks.yml +156 -0
  32. data/config/initializers/inflections.rb +10 -0
  33. data/config/locales/en.yml +2 -0
  34. data/demo/app/assets/config/manifest.js +2 -0
  35. data/demo/app/assets/images/.keep +0 -0
  36. data/demo/app/assets/stylesheets/application.tailwind.css +3 -0
  37. data/demo/app/channels/application_cable/channel.rb +6 -0
  38. data/demo/app/channels/application_cable/connection.rb +6 -0
  39. data/demo/app/controllers/application_controller.rb +4 -0
  40. data/demo/app/controllers/concerns/.keep +0 -0
  41. data/demo/app/helpers/application_helper.rb +4 -0
  42. data/demo/app/javascript/application.js +3 -0
  43. data/demo/app/javascript/controllers/application.js +9 -0
  44. data/demo/app/javascript/controllers/hello_controller.js +7 -0
  45. data/demo/app/javascript/controllers/index.js +8 -0
  46. data/demo/app/jobs/application_job.rb +9 -0
  47. data/demo/app/mailers/application_mailer.rb +6 -0
  48. data/demo/app/models/application_record.rb +5 -0
  49. data/demo/app/models/concerns/.keep +0 -0
  50. data/demo/app/views/layouts/application.html.erb +16 -0
  51. data/demo/app/views/layouts/mailer.html.erb +13 -0
  52. data/demo/app/views/layouts/mailer.text.erb +1 -0
  53. data/demo/config/application.rb +24 -0
  54. data/demo/config/boot.rb +6 -0
  55. data/demo/config/cable.yml +11 -0
  56. data/demo/config/database.yml +24 -0
  57. data/demo/config/environment.rb +7 -0
  58. data/demo/config/environments/development.rb +72 -0
  59. data/demo/config/environments/production.rb +95 -0
  60. data/demo/config/environments/test.rb +62 -0
  61. data/demo/config/initializers/assets.rb +14 -0
  62. data/demo/config/initializers/content_security_policy.rb +26 -0
  63. data/demo/config/initializers/filter_parameter_logging.rb +10 -0
  64. data/demo/config/initializers/inflections.rb +17 -0
  65. data/demo/config/initializers/permissions_policy.rb +12 -0
  66. data/demo/config/locales/en.yml +33 -0
  67. data/demo/config/puma.rb +45 -0
  68. data/demo/config/routes.rb +8 -0
  69. data/demo/config/storage.yml +33 -0
  70. data/demo/config.ru +8 -0
  71. data/demo/db/schema.rb +17 -0
  72. data/demo/db/seeds.rb +8 -0
  73. data/demo/lib/assets/.keep +0 -0
  74. data/demo/lib/tasks/.keep +0 -0
  75. data/demo/log/.keep +0 -0
  76. data/demo/public/404.html +69 -0
  77. data/demo/public/422.html +69 -0
  78. data/demo/public/500.html +68 -0
  79. data/demo/public/apple-touch-icon-precomposed.png +0 -0
  80. data/demo/public/apple-touch-icon.png +0 -0
  81. data/demo/public/favicon.ico +0 -0
  82. data/demo/public/robots.txt +1 -0
  83. data/demo/storage/.keep +0 -0
  84. data/demo/tmp/.keep +0 -0
  85. data/demo/tmp/pids/.keep +0 -0
  86. data/demo/vendor/.keep +0 -0
  87. data/lib/eve/rails/config.rb +9 -0
  88. data/lib/eve/rails/engine.rb +17 -0
  89. data/lib/eve/rails/errors.rb +7 -0
  90. data/lib/eve/rails/tasks/setup.rake +6 -0
  91. data/lib/eve/rails/version.rb +7 -0
  92. data/lib/eve/rails.rb +12 -0
  93. data/lib/eve-rails.rb +3 -0
  94. data/lib/ext/database_cleaner/active_record/base.rb +13 -0
  95. data/lib/generators/eve/rails/install_generator.rb +11 -0
  96. data/lib/generators/eve/rails/templates/.keep +0 -0
  97. data/lib/tasks/docs.rake +6 -0
  98. data/lib/tasks/gem.rake +3 -0
  99. data/package.json +47 -0
  100. data/tailwind.config.js +12 -0
  101. data/yarn.lock +1653 -0
  102. metadata +206 -0
data/Gemfile.lock ADDED
@@ -0,0 +1,467 @@
1
+ GIT
2
+ remote: https://github.com/bokoboshahni/eve-esi.git
3
+ revision: 10060caad6b46fbbac960bf5d415dc02e0646233
4
+ branch: main
5
+ specs:
6
+ eve-esi (0.1.0)
7
+ dry-configurable (~> 1.0)
8
+
9
+ GIT
10
+ remote: https://github.com/bokoboshahni/eve-sde.git
11
+ revision: 74e0fa38dfc1c36874097adf9a6f08b0297941b8
12
+ branch: main
13
+ specs:
14
+ eve-sde (0.1.0)
15
+ down (~> 5.3)
16
+ dry-configurable (~> 1.0)
17
+ http (~> 5.1)
18
+ parallel (~> 1.22)
19
+ retriable (~> 3.1)
20
+
21
+ GIT
22
+ remote: https://github.com/rails/rails.git
23
+ revision: 4f28043066246b401fca6898dff06d6f55a2f7d7
24
+ branch: main
25
+ specs:
26
+ actioncable (7.1.0.alpha)
27
+ actionpack (= 7.1.0.alpha)
28
+ activesupport (= 7.1.0.alpha)
29
+ nio4r (~> 2.0)
30
+ websocket-driver (>= 0.6.1)
31
+ zeitwerk (~> 2.6)
32
+ actionmailbox (7.1.0.alpha)
33
+ actionpack (= 7.1.0.alpha)
34
+ activejob (= 7.1.0.alpha)
35
+ activerecord (= 7.1.0.alpha)
36
+ activestorage (= 7.1.0.alpha)
37
+ activesupport (= 7.1.0.alpha)
38
+ mail (>= 2.7.1)
39
+ net-imap
40
+ net-pop
41
+ net-smtp
42
+ actionmailer (7.1.0.alpha)
43
+ actionpack (= 7.1.0.alpha)
44
+ actionview (= 7.1.0.alpha)
45
+ activejob (= 7.1.0.alpha)
46
+ activesupport (= 7.1.0.alpha)
47
+ mail (~> 2.5, >= 2.5.4)
48
+ net-imap
49
+ net-pop
50
+ net-smtp
51
+ rails-dom-testing (~> 2.0)
52
+ actionpack (7.1.0.alpha)
53
+ actionview (= 7.1.0.alpha)
54
+ activesupport (= 7.1.0.alpha)
55
+ rack (~> 2.0, >= 2.2.4)
56
+ rack-test (>= 0.6.3)
57
+ rails-dom-testing (~> 2.0)
58
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
59
+ actiontext (7.1.0.alpha)
60
+ actionpack (= 7.1.0.alpha)
61
+ activerecord (= 7.1.0.alpha)
62
+ activestorage (= 7.1.0.alpha)
63
+ activesupport (= 7.1.0.alpha)
64
+ globalid (>= 0.6.0)
65
+ nokogiri (>= 1.8.5)
66
+ actionview (7.1.0.alpha)
67
+ activesupport (= 7.1.0.alpha)
68
+ builder (~> 3.1)
69
+ erubi (~> 1.11)
70
+ rails-dom-testing (~> 2.0)
71
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
72
+ activejob (7.1.0.alpha)
73
+ activesupport (= 7.1.0.alpha)
74
+ globalid (>= 0.3.6)
75
+ activemodel (7.1.0.alpha)
76
+ activesupport (= 7.1.0.alpha)
77
+ activerecord (7.1.0.alpha)
78
+ activemodel (= 7.1.0.alpha)
79
+ activesupport (= 7.1.0.alpha)
80
+ activestorage (7.1.0.alpha)
81
+ actionpack (= 7.1.0.alpha)
82
+ activejob (= 7.1.0.alpha)
83
+ activerecord (= 7.1.0.alpha)
84
+ activesupport (= 7.1.0.alpha)
85
+ marcel (~> 1.0)
86
+ mini_mime (>= 1.1.0)
87
+ activesupport (7.1.0.alpha)
88
+ concurrent-ruby (~> 1.0, >= 1.0.2)
89
+ connection_pool (>= 2.2.5)
90
+ i18n (>= 1.6, < 2)
91
+ minitest (>= 5.1)
92
+ tzinfo (~> 2.0)
93
+ rails (7.1.0.alpha)
94
+ actioncable (= 7.1.0.alpha)
95
+ actionmailbox (= 7.1.0.alpha)
96
+ actionmailer (= 7.1.0.alpha)
97
+ actionpack (= 7.1.0.alpha)
98
+ actiontext (= 7.1.0.alpha)
99
+ actionview (= 7.1.0.alpha)
100
+ activejob (= 7.1.0.alpha)
101
+ activemodel (= 7.1.0.alpha)
102
+ activerecord (= 7.1.0.alpha)
103
+ activestorage (= 7.1.0.alpha)
104
+ activesupport (= 7.1.0.alpha)
105
+ bundler (>= 1.15.0)
106
+ railties (= 7.1.0.alpha)
107
+ railties (7.1.0.alpha)
108
+ actionpack (= 7.1.0.alpha)
109
+ activesupport (= 7.1.0.alpha)
110
+ rake (>= 12.2)
111
+ thor (~> 1.0)
112
+ zeitwerk (~> 2.6)
113
+
114
+ PATH
115
+ remote: .
116
+ specs:
117
+ eve-rails (0.1.0)
118
+ dry-configurable (~> 1.0)
119
+ eve-esi (~> 0.1)
120
+ eve-sde (~> 0.1)
121
+ rails (~> 7.0)
122
+
123
+ GEM
124
+ remote: https://rubygems.org/
125
+ specs:
126
+ addressable (2.8.1)
127
+ public_suffix (>= 2.0.2, < 6.0)
128
+ ast (2.4.2)
129
+ awesome_print (1.9.2)
130
+ better_html (2.0.1)
131
+ actionview (>= 6.0)
132
+ activesupport (>= 6.0)
133
+ ast (~> 2.0)
134
+ erubi (~> 1.4)
135
+ parser (>= 2.4)
136
+ smart_properties
137
+ bindex (0.8.1)
138
+ bootsnap (1.15.0)
139
+ msgpack (~> 1.2)
140
+ brakeman (5.4.0)
141
+ builder (3.2.4)
142
+ bundle-audit (0.1.0)
143
+ bundler-audit
144
+ bundler-audit (0.9.1)
145
+ bundler (>= 1.2.0, < 3)
146
+ thor (~> 1.0)
147
+ capybara (3.38.0)
148
+ addressable
149
+ matrix
150
+ mini_mime (>= 0.1.3)
151
+ nokogiri (~> 1.8)
152
+ rack (>= 1.6.0)
153
+ rack-test (>= 0.6.3)
154
+ regexp_parser (>= 1.5, < 3.0)
155
+ xpath (~> 3.2)
156
+ chef-utils (18.1.0)
157
+ concurrent-ruby
158
+ concurrent-ruby (1.1.10)
159
+ connection_pool (2.3.0)
160
+ crack (0.4.5)
161
+ rexml
162
+ crass (1.0.6)
163
+ cssbundling-rails (1.1.2)
164
+ railties (>= 6.0.0)
165
+ cuprite (0.14.3)
166
+ capybara (~> 3.0)
167
+ ferrum (~> 0.13.0)
168
+ database_cleaner-active_record (2.0.1)
169
+ activerecord (>= 5.a)
170
+ database_cleaner-core (~> 2.0.0)
171
+ database_cleaner-core (2.0.1)
172
+ date (3.3.3)
173
+ debug (1.7.1)
174
+ irb (>= 1.5.0)
175
+ reline (>= 0.3.1)
176
+ diff-lcs (1.5.0)
177
+ docile (1.4.0)
178
+ domain_name (0.5.20190701)
179
+ unf (>= 0.0.5, < 1.0.0)
180
+ down (5.4.0)
181
+ addressable (~> 2.8)
182
+ dry-configurable (1.0.1)
183
+ dry-core (~> 1.0, < 2)
184
+ zeitwerk (~> 2.6)
185
+ dry-core (1.0.0)
186
+ concurrent-ruby (~> 1.0)
187
+ zeitwerk (~> 2.6)
188
+ erb_lint (0.3.1)
189
+ activesupport
190
+ better_html (>= 2.0.1)
191
+ parser (>= 2.7.1.4)
192
+ rainbow
193
+ rubocop
194
+ smart_properties
195
+ error_highlight (0.5.1)
196
+ erubi (1.12.0)
197
+ factory_bot (6.2.1)
198
+ activesupport (>= 5.0.0)
199
+ factory_bot_rails (6.2.0)
200
+ factory_bot (~> 6.2.0)
201
+ railties (>= 5.0.0)
202
+ faker (3.1.0)
203
+ i18n (>= 1.8.11, < 2)
204
+ ferrum (0.13)
205
+ addressable (~> 2.5)
206
+ concurrent-ruby (~> 1.1)
207
+ webrick (~> 1.7)
208
+ websocket-driver (>= 0.6, < 0.8)
209
+ ffi (1.15.5)
210
+ ffi-compiler (1.0.1)
211
+ ffi (>= 1.0.0)
212
+ rake
213
+ globalid (1.0.0)
214
+ activesupport (>= 5.0)
215
+ hashdiff (1.0.1)
216
+ highline (2.1.0)
217
+ http (5.1.1)
218
+ addressable (~> 2.8)
219
+ http-cookie (~> 1.0)
220
+ http-form_data (~> 2.2)
221
+ llhttp-ffi (~> 0.4.0)
222
+ http-cookie (1.0.5)
223
+ domain_name (~> 0.5)
224
+ http-form_data (2.3.0)
225
+ i18n (1.12.0)
226
+ concurrent-ruby (~> 1.0)
227
+ i18n-tasks (1.0.12)
228
+ activesupport (>= 4.0.2)
229
+ ast (>= 2.1.0)
230
+ better_html (>= 1.0, < 3.0)
231
+ erubi
232
+ highline (>= 2.0.0)
233
+ i18n
234
+ parser (>= 2.2.3.0)
235
+ rails-i18n
236
+ rainbow (>= 2.2.2, < 4.0)
237
+ terminal-table (>= 1.5.1)
238
+ io-console (0.6.0)
239
+ irb (1.6.2)
240
+ reline (>= 0.3.0)
241
+ jbuilder (2.11.5)
242
+ actionview (>= 5.0.0)
243
+ activesupport (>= 5.0.0)
244
+ jsbundling-rails (1.1.1)
245
+ railties (>= 6.0.0)
246
+ json (2.6.3)
247
+ kramdown (2.4.0)
248
+ rexml
249
+ kramdown-parser-gfm (1.1.0)
250
+ kramdown (~> 2.0)
251
+ llhttp-ffi (0.4.0)
252
+ ffi-compiler (~> 1.0)
253
+ rake (~> 13.0)
254
+ loofah (2.19.1)
255
+ crass (~> 1.0.2)
256
+ nokogiri (>= 1.5.9)
257
+ mail (2.8.0)
258
+ mini_mime (>= 0.1.1)
259
+ net-imap
260
+ net-pop
261
+ net-smtp
262
+ marcel (1.0.2)
263
+ matrix (0.4.2)
264
+ mdl (0.12.0)
265
+ kramdown (~> 2.3)
266
+ kramdown-parser-gfm (~> 1.1)
267
+ mixlib-cli (~> 2.1, >= 2.1.1)
268
+ mixlib-config (>= 2.2.1, < 4)
269
+ mixlib-shellout
270
+ mini_mime (1.1.2)
271
+ mini_portile2 (2.8.1)
272
+ minitest (5.17.0)
273
+ mixlib-cli (2.1.8)
274
+ mixlib-config (3.0.27)
275
+ tomlrb
276
+ mixlib-shellout (3.2.7)
277
+ chef-utils
278
+ msgpack (1.6.0)
279
+ net-imap (0.3.4)
280
+ date
281
+ net-protocol
282
+ net-pop (0.1.2)
283
+ net-protocol
284
+ net-protocol (0.2.1)
285
+ timeout
286
+ net-smtp (0.3.3)
287
+ net-protocol
288
+ nio4r (2.5.8)
289
+ nokogiri (1.13.10)
290
+ mini_portile2 (~> 2.8.0)
291
+ racc (~> 1.4)
292
+ parallel (1.22.1)
293
+ parser (3.2.0.0)
294
+ ast (~> 2.4.1)
295
+ pg (1.4.5)
296
+ public_suffix (5.0.1)
297
+ puma (6.0.2)
298
+ nio4r (~> 2.0)
299
+ racc (1.6.2)
300
+ rack (2.2.5)
301
+ rack-test (2.0.2)
302
+ rack (>= 1.3)
303
+ rails-dom-testing (2.0.3)
304
+ activesupport (>= 4.2.0)
305
+ nokogiri (>= 1.6)
306
+ rails-html-sanitizer (1.4.4)
307
+ loofah (~> 2.19, >= 2.19.1)
308
+ rails-i18n (7.0.6)
309
+ i18n (>= 0.7, < 2)
310
+ railties (>= 6.0.0, < 8)
311
+ rainbow (3.1.1)
312
+ rake (13.0.6)
313
+ redis (5.0.5)
314
+ redis-client (>= 0.9.0)
315
+ redis-client (0.12.0)
316
+ connection_pool
317
+ regexp_parser (2.6.1)
318
+ reline (0.3.2)
319
+ io-console (~> 0.5)
320
+ retriable (3.1.2)
321
+ rexml (3.2.5)
322
+ rouge (4.0.1)
323
+ rspec-core (3.12.0)
324
+ rspec-support (~> 3.12.0)
325
+ rspec-expectations (3.12.2)
326
+ diff-lcs (>= 1.2.0, < 2.0)
327
+ rspec-support (~> 3.12.0)
328
+ rspec-mocks (3.12.2)
329
+ diff-lcs (>= 1.2.0, < 2.0)
330
+ rspec-support (~> 3.12.0)
331
+ rspec-rails (6.0.1)
332
+ actionpack (>= 6.1)
333
+ activesupport (>= 6.1)
334
+ railties (>= 6.1)
335
+ rspec-core (~> 3.11)
336
+ rspec-expectations (~> 3.11)
337
+ rspec-mocks (~> 3.11)
338
+ rspec-support (~> 3.11)
339
+ rspec-support (3.12.0)
340
+ rubocop (1.43.0)
341
+ json (~> 2.3)
342
+ parallel (~> 1.10)
343
+ parser (>= 3.2.0.0)
344
+ rainbow (>= 2.2.2, < 4.0)
345
+ regexp_parser (>= 1.8, < 3.0)
346
+ rexml (>= 3.2.5, < 4.0)
347
+ rubocop-ast (>= 1.24.1, < 2.0)
348
+ ruby-progressbar (~> 1.7)
349
+ unicode-display_width (>= 2.4.0, < 3.0)
350
+ rubocop-ast (1.24.1)
351
+ parser (>= 3.1.1.0)
352
+ rubocop-faker (1.1.0)
353
+ faker (>= 2.12.0)
354
+ rubocop (>= 0.82.0)
355
+ rubocop-performance (1.15.2)
356
+ rubocop (>= 1.7.0, < 2.0)
357
+ rubocop-ast (>= 0.4.0)
358
+ rubocop-rails (2.17.4)
359
+ activesupport (>= 4.2.0)
360
+ rack (>= 1.1)
361
+ rubocop (>= 1.33.0, < 2.0)
362
+ rubocop-rake (0.6.0)
363
+ rubocop (~> 1.0)
364
+ rubocop-rspec (2.16.0)
365
+ rubocop (~> 1.33)
366
+ rubocop-thread_safety (0.4.4)
367
+ rubocop (>= 0.53.0)
368
+ ruby-progressbar (1.11.0)
369
+ simplecov (0.22.0)
370
+ docile (~> 1.1)
371
+ simplecov-html (~> 0.11)
372
+ simplecov_json_formatter (~> 0.1)
373
+ simplecov-html (0.12.3)
374
+ simplecov_json_formatter (0.1.4)
375
+ smart_properties (1.17.0)
376
+ sprockets (4.2.0)
377
+ concurrent-ruby (~> 1.0)
378
+ rack (>= 2.2.4, < 4)
379
+ sprockets-rails (3.4.2)
380
+ actionpack (>= 5.2)
381
+ activesupport (>= 5.2)
382
+ sprockets (>= 3.0.0)
383
+ stimulus-rails (1.2.1)
384
+ railties (>= 6.0.0)
385
+ terminal-table (3.0.2)
386
+ unicode-display_width (>= 1.1.1, < 3)
387
+ thor (1.2.1)
388
+ timeout (0.3.1)
389
+ tomlrb (2.0.3)
390
+ turbo-rails (1.3.2)
391
+ actionpack (>= 6.0.0)
392
+ activejob (>= 6.0.0)
393
+ railties (>= 6.0.0)
394
+ tzinfo (2.0.5)
395
+ concurrent-ruby (~> 1.0)
396
+ unf (0.1.4)
397
+ unf_ext
398
+ unf_ext (0.0.8.2)
399
+ unicode-display_width (2.4.2)
400
+ web-console (4.2.0)
401
+ actionview (>= 6.0.0)
402
+ activemodel (>= 6.0.0)
403
+ bindex (>= 0.4.0)
404
+ railties (>= 6.0.0)
405
+ webmock (3.18.1)
406
+ addressable (>= 2.8.0)
407
+ crack (>= 0.3.2)
408
+ hashdiff (>= 0.4.0, < 2.0.0)
409
+ webrick (1.7.0)
410
+ websocket-driver (0.7.5)
411
+ websocket-extensions (>= 0.1.0)
412
+ websocket-extensions (0.1.5)
413
+ xpath (3.2.0)
414
+ nokogiri (~> 1.8)
415
+ yard (0.9.28)
416
+ webrick (~> 1.7.0)
417
+ zeitwerk (2.6.6)
418
+
419
+ PLATFORMS
420
+ arm64-darwin-22
421
+ x86_64-linux
422
+
423
+ DEPENDENCIES
424
+ awesome_print (~> 1.9)
425
+ bootsnap (~> 1.15)
426
+ brakeman (~> 5.4)
427
+ bundle-audit (~> 0.1.0)
428
+ capybara (~> 3.38)
429
+ cssbundling-rails (~> 1.1)
430
+ cuprite (~> 0.14.3)
431
+ database_cleaner-active_record (~> 2.0)
432
+ debug (~> 1.7)
433
+ erb_lint (~> 0.3.1)
434
+ error_highlight (~> 0.5)
435
+ eve-esi!
436
+ eve-rails!
437
+ eve-sde!
438
+ factory_bot_rails (~> 6.2)
439
+ faker (~> 3.0)
440
+ i18n-tasks (~> 1.0)
441
+ jbuilder (~> 2.11)
442
+ jsbundling-rails (~> 1.1)
443
+ kramdown-parser-gfm (~> 1.1)
444
+ mdl (~> 0.12.0)
445
+ pg (~> 1.4)
446
+ puma (~> 6.0)
447
+ rails!
448
+ redis (~> 5.0)
449
+ rouge (~> 4.0)
450
+ rspec-rails (~> 6.0)
451
+ rubocop (~> 1.42)
452
+ rubocop-faker (~> 1.1)
453
+ rubocop-performance (~> 1.15)
454
+ rubocop-rails (~> 2.17)
455
+ rubocop-rake (~> 0.6.0)
456
+ rubocop-rspec (~> 2.16)
457
+ rubocop-thread_safety (~> 0.4.4)
458
+ simplecov (~> 0.22.0)
459
+ sprockets-rails (~> 3.4)
460
+ stimulus-rails (~> 1.2)
461
+ turbo-rails (~> 1.3)
462
+ web-console (~> 4.2)
463
+ webmock (~> 3.18)
464
+ yard (~> 0.9.28)
465
+
466
+ BUNDLED WITH
467
+ 2.4.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Bokobo Shahni
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/Procfile.dev ADDED
@@ -0,0 +1,3 @@
1
+ web: bin/rails server -p 3030
2
+ js: yarn build --watch
3
+ css: yarn build:css --watch
data/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # EVE on Rails
2
+
3
+ **:construction: IN THE WORKS :construction:**
4
+
5
+ **EVE on Rails** is a full-stack web framework built on top of Ruby Rails for rapidly developing robust third-party tools for [EVE Online](https://eveonline.com).
6
+
7
+ ## License
8
+
9
+ Copyright © 2023 Bokobo Shahni &lt;shahni@bokobo.space&gt;
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
+
17
+ ### CCP hf. Developer License Agreement
18
+
19
+ This software is developed in accordance with the [CCP hf. Developer License Agreement](https://developers.eveonline.com/resource/license-agreement).
20
+
21
+ CCP Tools and Game Data as defined by the CCP hf. Developer License Agreement &copy; is 2014 CCP hf. All rights reserved.
22
+
23
+ "EVE", "EVE Online", "CCP", and all related logos and images are trademarks or registered trademarks of CCP hf.
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'demo/config/application'
4
+
5
+ Rails.application.load_tasks
data/SECURITY.md ADDED
@@ -0,0 +1 @@
1
+ # EVE on Rails Security Policy
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EVE
4
+ module Rails
5
+ class ApplicationController < ApplicationController
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EVE
4
+ module Rails
5
+ # Common helpers for EVE Rails views.
6
+ module ApplicationHelper
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,156 @@
1
+ # i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
2
+
3
+ # The "main" locale.
4
+ base_locale: en
5
+ ## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
6
+ # locales: [es, fr]
7
+ ## Reporting locale, default: en. Available: en, ru.
8
+ # internal_locale: en
9
+
10
+ # Read and write translations.
11
+ data:
12
+ ## Translations are read from the file system. Supported format: YAML, JSON.
13
+ ## Provide a custom adapter:
14
+ # adapter: I18n::Tasks::Data::FileSystem
15
+
16
+ # Locale files or `File.find` patterns where translations are read from:
17
+ read:
18
+ ## Default:
19
+ # - config/locales/%{locale}.yml
20
+ ## More files:
21
+ # - config/locales/**/*.%{locale}.yml
22
+
23
+ # Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
24
+ # `i18n-tasks normalize -p` will force move the keys according to these rules
25
+ write:
26
+ ## For example, write devise and simple form keys to their respective files:
27
+ # - ['{devise, simple_form}.*', 'config/locales/\1.%{locale}.yml']
28
+ ## Catch-all default:
29
+ # - config/locales/%{locale}.yml
30
+
31
+ # External locale data (e.g. gems).
32
+ # This data is not considered unused and is never written to.
33
+ external:
34
+ ## Example (replace %#= with %=):
35
+ # - "<%#= %x[bundle info vagrant --path].chomp %>/templates/locales/%{locale}.yml"
36
+
37
+ ## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class.
38
+ # router: conservative_router
39
+
40
+ yaml:
41
+ write:
42
+ # do not wrap lines at 80 characters
43
+ line_width: -1
44
+
45
+ ## Pretty-print JSON:
46
+ # json:
47
+ # write:
48
+ # indent: ' '
49
+ # space: ' '
50
+ # object_nl: "\n"
51
+ # array_nl: "\n"
52
+
53
+ # Find translate calls
54
+ search:
55
+ ## Paths or `File.find` patterns to search in:
56
+ # paths:
57
+ # - app/
58
+
59
+ ## Root directories for relative keys resolution.
60
+ # relative_roots:
61
+ # - app/controllers
62
+ # - app/helpers
63
+ # - app/mailers
64
+ # - app/presenters
65
+ # - app/views
66
+
67
+ ## Directories where method names which should not be part of a relative key resolution.
68
+ # By default, if a relative translation is used inside a method, the name of the method will be considered part of the resolved key.
69
+ # Directories listed here will not consider the name of the method part of the resolved key
70
+ #
71
+ # relative_exclude_method_name_paths:
72
+ # -
73
+
74
+ ## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
75
+ ## *.jpg *.jpeg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less
76
+ ## *.yml *.json *.zip *.tar.gz *.swf *.flv *.mp3 *.wav *.flac *.webm *.mp4 *.ogg *.opus *.webp *.map *.xlsx
77
+ exclude:
78
+ - app/assets/images
79
+ - app/assets/fonts
80
+ - app/assets/videos
81
+ - app/assets/builds
82
+ - demo/app/assets/images
83
+ - demo/app/assets/fonts
84
+ - demo/app/assets/videos
85
+ - demo/app/assets/builds
86
+
87
+ ## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
88
+ ## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
89
+ # only: ["*.rb", "*.html.slim"]
90
+
91
+ ## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
92
+ # strict: true
93
+
94
+ ## Allows adding ast_matchers for finding translations using the AST-scanners
95
+ ## The available matchers are:
96
+ ## - RailsModelMatcher
97
+ ## Matches ActiveRecord translations like
98
+ ## User.human_attribute_name(:email) and User.model_name.human
99
+ ##
100
+ ## To implement your own, please see `I18n::Tasks::Scanners::AstMatchers::BaseMatcher`.
101
+ ## <%# I18n::Tasks.add_ast_matcher('I18n::Tasks::Scanners::AstMatchers::RailsModelMatcher') %>
102
+
103
+ ## Multiple scanners can be used. Their results are merged.
104
+ ## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
105
+ ## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
106
+ ## Translation Services
107
+ # translation:
108
+ # # Google Translate
109
+ # # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
110
+ # google_translate_api_key: "AbC-dEf5"
111
+ # # DeepL Pro Translate
112
+ # # Get an API key and subscription at https://www.deepl.com/pro to use DeepL Pro
113
+ # deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
114
+ # # deepl_host: "https://api.deepl.com"
115
+ # # deepl_version: "v2"
116
+
117
+ ## Do not consider these keys missing:
118
+ # ignore_missing:
119
+ # - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'
120
+ # - '{devise,simple_form}.*'
121
+
122
+ ## Consider these keys used:
123
+ # ignore_unused:
124
+ # - 'activerecord.attributes.*'
125
+ # - '{devise,kaminari,will_paginate}.*'
126
+ # - 'simple_form.{yes,no}'
127
+ # - 'simple_form.{placeholders,hints,labels}.*'
128
+ # - 'simple_form.{error_notification,required}.:'
129
+
130
+ ## Exclude these keys from the `i18n-tasks eq-base' report:
131
+ # ignore_eq_base:
132
+ # all:
133
+ # - common.ok
134
+ # fr,es:
135
+ # - common.brand
136
+
137
+ ## Exclude these keys from the `i18n-tasks check-consistent-interpolations` report:
138
+ # ignore_inconsistent_interpolations:
139
+ # - 'activerecord.attributes.*'
140
+
141
+ ## Ignore these keys completely:
142
+ # ignore:
143
+ # - kaminari.*
144
+
145
+ ## Sometimes, it isn't possible for i18n-tasks to match the key correctly,
146
+ ## e.g. in case of a relative key defined in a helper method.
147
+ ## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.:
148
+ #
149
+ # <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
150
+ # only: %w(*.html.haml *.html.slim),
151
+ # patterns: [['= title\b', '.page_title']] %>
152
+ #
153
+ # The PatternMapper can also match key literals via a special %{key} interpolation, e.g.:
154
+ #
155
+ # <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
156
+ # patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>