vigiles 0.1.0.pre.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop.yml +26 -0
  3. data/CHANGELOG.md +5 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +14 -0
  6. data/Rakefile +12 -0
  7. data/lib/core_ext/object.rb +7 -0
  8. data/lib/core_ext.rb +4 -0
  9. data/lib/generators/templates/archive_conversation_migration.rb.erb +41 -0
  10. data/lib/generators/templates/initializer.rb +6 -0
  11. data/lib/generators/vigiles/initializer_generator.rb +22 -0
  12. data/lib/generators/vigiles/install_generator.rb +25 -0
  13. data/lib/generators/vigiles/migration_generator.rb +32 -0
  14. data/lib/vigiles/archive/conversation.rb +12 -0
  15. data/lib/vigiles/archive/extras.rb +14 -0
  16. data/lib/vigiles/archive/metadata.rb +14 -0
  17. data/lib/vigiles/archive/request.rb +43 -0
  18. data/lib/vigiles/archive/response.rb +23 -0
  19. data/lib/vigiles/archive.rb +72 -0
  20. data/lib/vigiles/middleware/record_conversation.rb +47 -0
  21. data/lib/vigiles/spec.rb +9 -0
  22. data/lib/vigiles/types.rb +32 -0
  23. data/lib/vigiles/version.rb +6 -0
  24. data/lib/vigiles.rb +41 -0
  25. data/sorbet/config +4 -0
  26. data/sorbet/rbi/annotations/.gitattributes +1 -0
  27. data/sorbet/rbi/annotations/activemodel.rbi +89 -0
  28. data/sorbet/rbi/annotations/activerecord.rbi +92 -0
  29. data/sorbet/rbi/annotations/activesupport.rbi +421 -0
  30. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  31. data/sorbet/rbi/dsl/.gitattributes +1 -0
  32. data/sorbet/rbi/dsl/active_support/callbacks.rbi +22 -0
  33. data/sorbet/rbi/gems/.gitattributes +1 -0
  34. data/sorbet/rbi/gems/activemodel@7.0.5.rbi +8 -0
  35. data/sorbet/rbi/gems/activerecord@7.0.5.rbi +8 -0
  36. data/sorbet/rbi/gems/activesupport@7.0.5.rbi +14 -0
  37. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  38. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +8 -0
  39. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  40. data/sorbet/rbi/gems/i18n@1.14.1.rbi +8 -0
  41. data/sorbet/rbi/gems/json@2.7.1.rbi +1561 -0
  42. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  43. data/sorbet/rbi/gems/minitest@5.22.2.rbi +1535 -0
  44. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  45. data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
  46. data/sorbet/rbi/gems/parser@3.3.0.5.rbi +5472 -0
  47. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  48. data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
  49. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  50. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  51. data/sorbet/rbi/gems/rake@13.1.0.rbi +3027 -0
  52. data/sorbet/rbi/gems/rbi@0.1.9.rbi +3006 -0
  53. data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +3771 -0
  54. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
  55. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7036 -0
  56. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2576 -0
  57. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +328 -0
  58. data/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi +1442 -0
  59. data/sorbet/rbi/gems/rubocop@1.60.2.rbi +57386 -0
  60. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  61. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  62. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  63. data/sorbet/rbi/gems/tapioca@0.12.0.rbi +3508 -0
  64. data/sorbet/rbi/gems/thor@1.3.0.rbi +4345 -0
  65. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +8 -0
  66. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  67. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  68. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  69. data/sorbet/rbi/todo.rbi +16 -0
  70. data/sorbet/tapioca/config.yml +13 -0
  71. data/sorbet/tapioca/require.rb +12 -0
  72. data/vigiles.gemspec +48 -0
  73. metadata +300 -0
@@ -0,0 +1,16 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for unresolved constants.
3
+ # Please instead update this file by running `bin/tapioca todo`.
4
+
5
+ # typed: false
6
+
7
+ module ::DateAndTime::Calculations; end
8
+ module ::DateAndTime::Zones; end
9
+ module ActiveModel::Error; end
10
+ module ActiveRecord::ConnectionAdapters::DatabaseStatements; end
11
+ module ActiveRecord::ConnectionAdapters::SchemaStatements; end
12
+ module ActiveSupport::ArrayInquirer; end
13
+ module ActiveSupport::Multibyte::Chars; end
14
+ module ActiveSupport::SafeBuffer; end
15
+ module ActiveSupport::StringInquirer; end
16
+ module ActiveSupport::TimeZone; end
@@ -0,0 +1,13 @@
1
+ gem:
2
+ # Add your `gem` command parameters here:
3
+ #
4
+ # exclude:
5
+ # - gem_name
6
+ # doc: true
7
+ # workers: 5
8
+ dsl:
9
+ # Add your `dsl` command parameters here:
10
+ #
11
+ # exclude:
12
+ # - SomeGeneratorName
13
+ # workers: 5
@@ -0,0 +1,12 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ require "action_dispatch"
5
+ require "active_record"
6
+ require "minitest/autorun"
7
+ require "rails/generators"
8
+ require "rails/generators/active_record"
9
+ require "securerandom"
10
+ require "sorbet-runtime"
11
+ require "uri"
12
+ require "zeitwerk"
data/vigiles.gemspec ADDED
@@ -0,0 +1,48 @@
1
+ # typed: false
2
+ # frozen_string_literal: true
3
+
4
+ require_relative "lib/vigiles/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "vigiles"
8
+ spec.version = Vigiles::VERSION
9
+ spec.authors = ["Yaw Boakye"]
10
+ spec.email = ["wheresyaw@gmail.com"]
11
+
12
+ spec.summary = "vigiles stand at the gates of your walled city and records all the in/outflows."
13
+ spec.description = spec.summary
14
+ spec.homepage = "https://github.com/yawboakye/vigiles"
15
+ spec.license = "MIT"
16
+ spec.required_ruby_version = ">= 2.7.0"
17
+
18
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
19
+
20
+ spec.metadata["homepage_uri"] = spec.homepage
21
+ spec.metadata["source_code_uri"] = spec.homepage
22
+ spec.metadata["changelog_uri"] = %(#{spec.homepage}/CHANGELOG.md)
23
+
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (File.expand_path(f) == __FILE__) ||
27
+ f.start_with?(*%w[bin/ test/ features/ .git .github appveyor Gemfile])
28
+ end
29
+ end
30
+
31
+ spec.require_paths = %(lib)
32
+
33
+ spec.add_runtime_dependency "sorbet-runtime", "~> 0.5"
34
+
35
+ spec.add_development_dependency "debug", "~> 1.9"
36
+ spec.add_development_dependency "minitest", "~> 5.16"
37
+ spec.add_development_dependency "rake", "~> 13.0"
38
+ spec.add_development_dependency "rubocop", "~> 1.21"
39
+ spec.add_development_dependency "rubocop-minitest", "~> 0.34"
40
+ spec.add_development_dependency "rubocop-rake", "~> 0.6"
41
+ spec.add_development_dependency "rubocop-sorbet", "~> 0.7"
42
+ spec.add_development_dependency "sorbet", "~> 0.5"
43
+ spec.add_development_dependency "spoom", "~> 1.2"
44
+ spec.add_development_dependency "tapioca", "~> 0.12"
45
+
46
+ spec.add_dependency "rails", "~> 7.0"
47
+ spec.add_dependency "zeitwerk", "~> 2.6"
48
+ end
metadata ADDED
@@ -0,0 +1,300 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vigiles
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.pre.beta2
5
+ platform: ruby
6
+ authors:
7
+ - Yaw Boakye
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sorbet-runtime
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: debug
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.9'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '13.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '13.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.21'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.21'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.34'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.34'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.6'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-sorbet
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.7'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sorbet
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.5'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.5'
139
+ - !ruby/object:Gem::Dependency
140
+ name: spoom
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.2'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: tapioca
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.12'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.12'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '7.0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '7.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: zeitwerk
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '2.6'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '2.6'
195
+ description: vigiles stand at the gates of your walled city and records all the in/outflows.
196
+ email:
197
+ - wheresyaw@gmail.com
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files: []
201
+ files:
202
+ - ".rubocop.yml"
203
+ - CHANGELOG.md
204
+ - LICENSE.txt
205
+ - README.md
206
+ - Rakefile
207
+ - lib/core_ext.rb
208
+ - lib/core_ext/object.rb
209
+ - lib/generators/templates/archive_conversation_migration.rb.erb
210
+ - lib/generators/templates/initializer.rb
211
+ - lib/generators/vigiles/initializer_generator.rb
212
+ - lib/generators/vigiles/install_generator.rb
213
+ - lib/generators/vigiles/migration_generator.rb
214
+ - lib/vigiles.rb
215
+ - lib/vigiles/archive.rb
216
+ - lib/vigiles/archive/conversation.rb
217
+ - lib/vigiles/archive/extras.rb
218
+ - lib/vigiles/archive/metadata.rb
219
+ - lib/vigiles/archive/request.rb
220
+ - lib/vigiles/archive/response.rb
221
+ - lib/vigiles/middleware/record_conversation.rb
222
+ - lib/vigiles/spec.rb
223
+ - lib/vigiles/types.rb
224
+ - lib/vigiles/version.rb
225
+ - sorbet/config
226
+ - sorbet/rbi/annotations/.gitattributes
227
+ - sorbet/rbi/annotations/activemodel.rbi
228
+ - sorbet/rbi/annotations/activerecord.rbi
229
+ - sorbet/rbi/annotations/activesupport.rbi
230
+ - sorbet/rbi/annotations/rainbow.rbi
231
+ - sorbet/rbi/dsl/.gitattributes
232
+ - sorbet/rbi/dsl/active_support/callbacks.rbi
233
+ - sorbet/rbi/gems/.gitattributes
234
+ - sorbet/rbi/gems/activemodel@7.0.5.rbi
235
+ - sorbet/rbi/gems/activerecord@7.0.5.rbi
236
+ - sorbet/rbi/gems/activesupport@7.0.5.rbi
237
+ - sorbet/rbi/gems/ast@2.4.2.rbi
238
+ - sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi
239
+ - sorbet/rbi/gems/erubi@1.12.0.rbi
240
+ - sorbet/rbi/gems/i18n@1.14.1.rbi
241
+ - sorbet/rbi/gems/json@2.7.1.rbi
242
+ - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi
243
+ - sorbet/rbi/gems/minitest@5.22.2.rbi
244
+ - sorbet/rbi/gems/netrc@0.11.0.rbi
245
+ - sorbet/rbi/gems/parallel@1.24.0.rbi
246
+ - sorbet/rbi/gems/parser@3.3.0.5.rbi
247
+ - sorbet/rbi/gems/prettier_print@1.2.1.rbi
248
+ - sorbet/rbi/gems/prism@0.24.0.rbi
249
+ - sorbet/rbi/gems/racc@1.7.3.rbi
250
+ - sorbet/rbi/gems/rainbow@3.1.1.rbi
251
+ - sorbet/rbi/gems/rake@13.1.0.rbi
252
+ - sorbet/rbi/gems/rbi@0.1.9.rbi
253
+ - sorbet/rbi/gems/regexp_parser@2.9.0.rbi
254
+ - sorbet/rbi/gems/rexml@3.2.6.rbi
255
+ - sorbet/rbi/gems/rubocop-ast@1.30.0.rbi
256
+ - sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi
257
+ - sorbet/rbi/gems/rubocop-rake@0.6.0.rbi
258
+ - sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi
259
+ - sorbet/rbi/gems/rubocop@1.60.2.rbi
260
+ - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
261
+ - sorbet/rbi/gems/spoom@1.2.4.rbi
262
+ - sorbet/rbi/gems/syntax_tree@6.2.0.rbi
263
+ - sorbet/rbi/gems/tapioca@0.12.0.rbi
264
+ - sorbet/rbi/gems/thor@1.3.0.rbi
265
+ - sorbet/rbi/gems/tzinfo@2.0.6.rbi
266
+ - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi
267
+ - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi
268
+ - sorbet/rbi/gems/yard@0.9.34.rbi
269
+ - sorbet/rbi/todo.rbi
270
+ - sorbet/tapioca/config.yml
271
+ - sorbet/tapioca/require.rb
272
+ - vigiles.gemspec
273
+ homepage: https://github.com/yawboakye/vigiles
274
+ licenses:
275
+ - MIT
276
+ metadata:
277
+ allowed_push_host: https://rubygems.org
278
+ homepage_uri: https://github.com/yawboakye/vigiles
279
+ source_code_uri: https://github.com/yawboakye/vigiles
280
+ changelog_uri: https://github.com/yawboakye/vigiles/CHANGELOG.md
281
+ post_install_message:
282
+ rdoc_options: []
283
+ require_paths:
284
+ - lib
285
+ required_ruby_version: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: 2.7.0
290
+ required_rubygems_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: '0'
295
+ requirements: []
296
+ rubygems_version: 3.5.10
297
+ signing_key:
298
+ specification_version: 4
299
+ summary: vigiles stand at the gates of your walled city and records all the in/outflows.
300
+ test_files: []