micro-rb 0.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rubocop.yml +1399 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/LICENSE.txt +21 -0
- data/README.md +204 -0
- data/Rakefile +12 -0
- data/bin/console +16 -0
- data/bin/microrb +7 -0
- data/bin/setup +8 -0
- data/lib/micro/cli.rb +69 -0
- data/lib/micro/configuration.rb +34 -0
- data/lib/micro/examples/proto/sum.proto +12 -0
- data/lib/micro/examples/proto/sum_pb.rb +21 -0
- data/lib/micro/examples/sum.rb +22 -0
- data/lib/micro/handler.rb +63 -0
- data/lib/micro/handler_manager.rb +60 -0
- data/lib/micro/handlers/debug.rb +26 -0
- data/lib/micro/project_generator.rb +75 -0
- data/lib/micro/proto/debug.proto +10 -0
- data/lib/micro/proto/debug_pb.rb +19 -0
- data/lib/micro/servers/error.rb +58 -0
- data/lib/micro/servers/web.rb +162 -0
- data/lib/micro/sidecar/base.rb +26 -0
- data/lib/micro/sidecar/call.rb +18 -0
- data/lib/micro/sidecar/register.rb +18 -0
- data/lib/micro/version.rb +6 -0
- data/lib/micro-rb.rb +4 -0
- data/lib/microrb.rb +25 -0
- data/micro-rb.gemspec +37 -0
- data/registry.png +0 -0
- data/sum.png +0 -0
- data/templates/Dockerfile +3 -0
- data/templates/Gemfile +18 -0
- data/templates/LICENSE +21 -0
- data/templates/README.md +17 -0
- data/templates/Rakefile +9 -0
- data/templates/bin/app +17 -0
- data/templates/lib/app/handlers/example_handler.rb +16 -0
- data/templates/lib/app/proto/sum.proto +12 -0
- data/templates/lib/app/proto/sum_pb.rb +21 -0
- data/templates/lib/app/version.rb +4 -0
- data/templates/lib/app.rb +14 -0
- data/templates/test/app_test.rb +11 -0
- data/templates/test/test_helper.rb +9 -0
- metadata +277 -0
metadata
ADDED
@@ -0,0 +1,277 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: micro-rb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0.rc1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Medeiros
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
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.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest-reporters
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: shoulda
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.5'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.5'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.1'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 5.1.0
|
93
|
+
type: :runtime
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '5.1'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 5.1.0
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: httparty
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.14.0
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.14.0
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: multi_json
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.12'
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 1.12.1
|
127
|
+
type: :runtime
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '1.12'
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.12.1
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rack
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - "~>"
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '1.6'
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.6.5
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '1.6'
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 1.6.5
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: semantic_logger
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '4.0'
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 4.0.0
|
167
|
+
type: :runtime
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '4.0'
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 4.0.0
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: google-protobuf
|
179
|
+
requirement: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '3.3'
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 3.3.0
|
187
|
+
type: :runtime
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '3.3'
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 3.3.0
|
197
|
+
description:
|
198
|
+
email:
|
199
|
+
- andrew@amedeiros.com
|
200
|
+
executables:
|
201
|
+
- microrb
|
202
|
+
extensions: []
|
203
|
+
extra_rdoc_files: []
|
204
|
+
files:
|
205
|
+
- ".gitignore"
|
206
|
+
- ".rubocop.yml"
|
207
|
+
- ".ruby-gemset"
|
208
|
+
- ".ruby-version"
|
209
|
+
- ".travis.yml"
|
210
|
+
- CODE_OF_CONDUCT.md
|
211
|
+
- Gemfile
|
212
|
+
- LICENSE.txt
|
213
|
+
- README.md
|
214
|
+
- Rakefile
|
215
|
+
- bin/console
|
216
|
+
- bin/microrb
|
217
|
+
- bin/setup
|
218
|
+
- lib/micro-rb.rb
|
219
|
+
- lib/micro/cli.rb
|
220
|
+
- lib/micro/configuration.rb
|
221
|
+
- lib/micro/examples/proto/sum.proto
|
222
|
+
- lib/micro/examples/proto/sum_pb.rb
|
223
|
+
- lib/micro/examples/sum.rb
|
224
|
+
- lib/micro/handler.rb
|
225
|
+
- lib/micro/handler_manager.rb
|
226
|
+
- lib/micro/handlers/debug.rb
|
227
|
+
- lib/micro/project_generator.rb
|
228
|
+
- lib/micro/proto/debug.proto
|
229
|
+
- lib/micro/proto/debug_pb.rb
|
230
|
+
- lib/micro/servers/error.rb
|
231
|
+
- lib/micro/servers/web.rb
|
232
|
+
- lib/micro/sidecar/base.rb
|
233
|
+
- lib/micro/sidecar/call.rb
|
234
|
+
- lib/micro/sidecar/register.rb
|
235
|
+
- lib/micro/version.rb
|
236
|
+
- lib/microrb.rb
|
237
|
+
- micro-rb.gemspec
|
238
|
+
- registry.png
|
239
|
+
- sum.png
|
240
|
+
- templates/Dockerfile
|
241
|
+
- templates/Gemfile
|
242
|
+
- templates/LICENSE
|
243
|
+
- templates/README.md
|
244
|
+
- templates/Rakefile
|
245
|
+
- templates/bin/app
|
246
|
+
- templates/lib/app.rb
|
247
|
+
- templates/lib/app/handlers/example_handler.rb
|
248
|
+
- templates/lib/app/proto/sum.proto
|
249
|
+
- templates/lib/app/proto/sum_pb.rb
|
250
|
+
- templates/lib/app/version.rb
|
251
|
+
- templates/test/app_test.rb
|
252
|
+
- templates/test/test_helper.rb
|
253
|
+
homepage: https://github.com/amedeiros/micro-rb
|
254
|
+
licenses:
|
255
|
+
- MIT
|
256
|
+
metadata: {}
|
257
|
+
post_install_message:
|
258
|
+
rdoc_options: []
|
259
|
+
require_paths:
|
260
|
+
- lib
|
261
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - ">="
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '0'
|
266
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - ">"
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 1.3.1
|
271
|
+
requirements: []
|
272
|
+
rubyforge_project:
|
273
|
+
rubygems_version: 2.6.12
|
274
|
+
signing_key:
|
275
|
+
specification_version: 4
|
276
|
+
summary: Write micro services in Ruby for the Micro framework
|
277
|
+
test_files: []
|