shatter-rb 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +20 -0
  4. data/.ruby-version +1 -0
  5. data/.tool-versions +1 -0
  6. data/ApacheJMeter.jar +0 -0
  7. data/CHANGELOG.md +5 -0
  8. data/CODE_OF_CONDUCT.md +84 -0
  9. data/Gemfile +8 -0
  10. data/Gemfile.lock +94 -0
  11. data/LICENSE.txt +21 -0
  12. data/Procfile +5 -0
  13. data/README.md +39 -0
  14. data/Rakefile +12 -0
  15. data/example_app/Gemfile +5 -0
  16. data/example_app/Gemfile.lock +50 -0
  17. data/example_app/app/functions/hello_world_function.rb +19 -0
  18. data/example_app/app/service_definition.rb +9 -0
  19. data/example_app/application.rb +6 -0
  20. data/example_app/bin/console +11 -0
  21. data/example_app/bin/server +4 -0
  22. data/example_app/bin/service +16 -0
  23. data/example_app/config/environment.rb +9 -0
  24. data/example_app/config.ru +9 -0
  25. data/example_app/docker-compose.yml +32 -0
  26. data/exe/console +12 -0
  27. data/exe/shatter +64 -0
  28. data/lib/shatter/config.rb +12 -0
  29. data/lib/shatter/service/base.rb +93 -0
  30. data/lib/shatter/service/discovery.rb +49 -0
  31. data/lib/shatter/service/function.rb +56 -0
  32. data/lib/shatter/service/function_params.rb +21 -0
  33. data/lib/shatter/service/response_pool.rb +10 -0
  34. data/lib/shatter/service/service_definition.rb +21 -0
  35. data/lib/shatter/util.rb +19 -0
  36. data/lib/shatter/version.rb +5 -0
  37. data/lib/shatter/web/application.rb +50 -0
  38. data/lib/shatter/web/server.rb +45 -0
  39. data/lib/shatter.rb +21 -0
  40. data/shatter.gemspec +54 -0
  41. data/sig/shatter.rbs +4 -0
  42. data/templates/Gemfile.template +5 -0
  43. data/templates/application.erb +6 -0
  44. data/templates/config.ru +9 -0
  45. data/templates/docker-compose.yml +32 -0
  46. data/templates/docker-compose.yml.example +32 -0
  47. data/templates/environment.rb.erb +9 -0
  48. data/templates/hello_world_function.rb.erb +17 -0
  49. data/templates/service_definition.rb.erb +9 -0
  50. metadata +278 -0
metadata ADDED
@@ -0,0 +1,278 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shatter-rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Eric Roos
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rackup
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.3
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: concurrent-ruby
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pg
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: zk
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.10'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.10'
83
+ - !ruby/object:Gem::Dependency
84
+ name: puma
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '6.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '6.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: thor
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.2.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.2.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: erb
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.2.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.2.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '13.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '13.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.21'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.21'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rubocop-rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rubocop-rspec
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: Write a longer description or delete this line.
196
+ email:
197
+ - ericroos@hey.com
198
+ executables:
199
+ - console
200
+ - shatter
201
+ extensions: []
202
+ extra_rdoc_files: []
203
+ files:
204
+ - ".rspec"
205
+ - ".rubocop.yml"
206
+ - ".ruby-version"
207
+ - ".tool-versions"
208
+ - ApacheJMeter.jar
209
+ - CHANGELOG.md
210
+ - CODE_OF_CONDUCT.md
211
+ - Gemfile
212
+ - Gemfile.lock
213
+ - LICENSE.txt
214
+ - Procfile
215
+ - README.md
216
+ - Rakefile
217
+ - example_app/Gemfile
218
+ - example_app/Gemfile.lock
219
+ - example_app/app/functions/hello_world_function.rb
220
+ - example_app/app/service_definition.rb
221
+ - example_app/application.rb
222
+ - example_app/bin/console
223
+ - example_app/bin/server
224
+ - example_app/bin/service
225
+ - example_app/config.ru
226
+ - example_app/config/environment.rb
227
+ - example_app/docker-compose.yml
228
+ - exe/console
229
+ - exe/shatter
230
+ - lib/shatter.rb
231
+ - lib/shatter/config.rb
232
+ - lib/shatter/service/base.rb
233
+ - lib/shatter/service/discovery.rb
234
+ - lib/shatter/service/function.rb
235
+ - lib/shatter/service/function_params.rb
236
+ - lib/shatter/service/response_pool.rb
237
+ - lib/shatter/service/service_definition.rb
238
+ - lib/shatter/util.rb
239
+ - lib/shatter/version.rb
240
+ - lib/shatter/web/application.rb
241
+ - lib/shatter/web/server.rb
242
+ - shatter.gemspec
243
+ - sig/shatter.rbs
244
+ - templates/Gemfile.template
245
+ - templates/application.erb
246
+ - templates/config.ru
247
+ - templates/docker-compose.yml
248
+ - templates/docker-compose.yml.example
249
+ - templates/environment.rb.erb
250
+ - templates/hello_world_function.rb.erb
251
+ - templates/service_definition.rb.erb
252
+ homepage: https://rubygems.org/gems/shatter
253
+ licenses:
254
+ - MIT
255
+ metadata:
256
+ homepage_uri: https://rubygems.org/gems/shatter
257
+ source_code_uri: https://github.com/EricRoos/shatter
258
+ changelog_uri: https://github.com/EricRoos/shatter/tree/master/CHANGELOG
259
+ post_install_message:
260
+ rdoc_options: []
261
+ require_paths:
262
+ - lib
263
+ required_ruby_version: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ version: 3.1.0
268
+ required_rubygems_version: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ requirements: []
274
+ rubygems_version: 3.4.1
275
+ signing_key:
276
+ specification_version: 4
277
+ summary: Write a short summary, because RubyGems requires one.
278
+ test_files: []