rita 0.1.0 → 5.0.0.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +19 -0
- data/.rubocop.yml +51 -0
- data/.ruby-version +1 -0
- data/.travis.yml +16 -0
- data/CONTRIBUTING.md +18 -0
- data/Gemfile +5 -0
- data/{LICENSE.txt → LICENSE} +1 -3
- data/README.md +17 -24
- data/Rakefile +5 -5
- data/bin/lita +7 -0
- data/lib/lita/adapter.rb +147 -0
- data/lib/lita/adapters/shell.rb +126 -0
- data/lib/lita/adapters/test.rb +62 -0
- data/lib/lita/authorization.rb +112 -0
- data/lib/lita/callback.rb +39 -0
- data/lib/lita/cli.rb +218 -0
- data/lib/lita/configurable.rb +47 -0
- data/lib/lita/configuration_builder.rb +247 -0
- data/lib/lita/configuration_validator.rb +95 -0
- data/lib/lita/default_configuration.rb +122 -0
- data/lib/lita/errors.rb +25 -0
- data/lib/lita/handler/chat_router.rb +141 -0
- data/lib/lita/handler/common.rb +208 -0
- data/lib/lita/handler/event_router.rb +84 -0
- data/lib/lita/handler/http_router.rb +31 -0
- data/lib/lita/handler.rb +15 -0
- data/lib/lita/handlers/authorization.rb +129 -0
- data/lib/lita/handlers/help.rb +171 -0
- data/lib/lita/handlers/info.rb +66 -0
- data/lib/lita/handlers/room.rb +36 -0
- data/lib/lita/handlers/users.rb +37 -0
- data/lib/lita/http_callback.rb +46 -0
- data/lib/lita/http_route.rb +83 -0
- data/lib/lita/logger.rb +43 -0
- data/lib/lita/message.rb +124 -0
- data/lib/lita/middleware_registry.rb +39 -0
- data/lib/lita/namespace.rb +29 -0
- data/lib/lita/plugin_builder.rb +43 -0
- data/lib/lita/rack_app.rb +100 -0
- data/lib/lita/registry.rb +164 -0
- data/lib/lita/response.rb +65 -0
- data/lib/lita/robot.rb +273 -0
- data/lib/lita/room.rb +119 -0
- data/lib/lita/route_validator.rb +82 -0
- data/lib/lita/rspec/handler.rb +127 -0
- data/lib/lita/rspec/matchers/chat_route_matcher.rb +53 -0
- data/lib/lita/rspec/matchers/event_route_matcher.rb +29 -0
- data/lib/lita/rspec/matchers/http_route_matcher.rb +34 -0
- data/lib/lita/rspec.rb +48 -0
- data/lib/lita/source.rb +81 -0
- data/lib/lita/store.rb +23 -0
- data/lib/lita/target.rb +3 -0
- data/lib/lita/template.rb +71 -0
- data/lib/lita/template_resolver.rb +52 -0
- data/lib/lita/timer.rb +49 -0
- data/lib/lita/user.rb +157 -0
- data/lib/lita/util.rb +31 -0
- data/lib/lita/version.rb +6 -0
- data/lib/lita.rb +166 -0
- data/lib/rita.rb +2 -7
- data/rita.gemspec +50 -0
- data/spec/lita/adapter_spec.rb +54 -0
- data/spec/lita/adapters/shell_spec.rb +99 -0
- data/spec/lita/authorization_spec.rb +122 -0
- data/spec/lita/configuration_builder_spec.rb +247 -0
- data/spec/lita/configuration_validator_spec.rb +114 -0
- data/spec/lita/default_configuration_spec.rb +242 -0
- data/spec/lita/handler/chat_router_spec.rb +236 -0
- data/spec/lita/handler/common_spec.rb +289 -0
- data/spec/lita/handler/event_router_spec.rb +121 -0
- data/spec/lita/handler/http_router_spec.rb +155 -0
- data/spec/lita/handler_spec.rb +62 -0
- data/spec/lita/handlers/authorization_spec.rb +111 -0
- data/spec/lita/handlers/help_spec.rb +124 -0
- data/spec/lita/handlers/info_spec.rb +67 -0
- data/spec/lita/handlers/room_spec.rb +24 -0
- data/spec/lita/handlers/users_spec.rb +35 -0
- data/spec/lita/logger_spec.rb +28 -0
- data/spec/lita/message_spec.rb +178 -0
- data/spec/lita/plugin_builder_spec.rb +41 -0
- data/spec/lita/response_spec.rb +62 -0
- data/spec/lita/robot_spec.rb +285 -0
- data/spec/lita/room_spec.rb +136 -0
- data/spec/lita/rspec/handler_spec.rb +33 -0
- data/spec/lita/rspec_spec.rb +162 -0
- data/spec/lita/source_spec.rb +68 -0
- data/spec/lita/store_spec.rb +23 -0
- data/spec/lita/template_resolver_spec.rb +42 -0
- data/spec/lita/template_spec.rb +52 -0
- data/spec/lita/timer_spec.rb +32 -0
- data/spec/lita/user_spec.rb +167 -0
- data/spec/lita/util_spec.rb +18 -0
- data/spec/lita_spec.rb +227 -0
- data/spec/spec_helper.rb +35 -0
- data/spec/templates/basic.erb +1 -0
- data/spec/templates/basic.irc.erb +1 -0
- data/spec/templates/helpers.erb +1 -0
- data/spec/templates/interpolated.erb +1 -0
- data/templates/locales/en.yml +137 -0
- data/templates/plugin/Gemfile +5 -0
- data/templates/plugin/README.tt +29 -0
- data/templates/plugin/Rakefile +8 -0
- data/templates/plugin/gemspec.tt +27 -0
- data/templates/plugin/gitignore +18 -0
- data/templates/plugin/lib/lita/plugin_type/plugin.tt +19 -0
- data/templates/plugin/lib/plugin.tt +16 -0
- data/templates/plugin/locales/en.yml.tt +4 -0
- data/templates/plugin/spec/lita/plugin_type/plugin_spec.tt +6 -0
- data/templates/plugin/spec/spec_helper.tt +8 -0
- data/templates/plugin/templates/gitkeep +0 -0
- data/templates/robot/Gemfile +5 -0
- data/templates/robot/lita_config.rb +28 -0
- metadata +386 -20
- data/.standard.yml +0 -3
- data/CHANGELOG.md +0 -5
- data/CODE_OF_CONDUCT.md +0 -132
- data/lib/rita/version.rb +0 -5
- data/sig/rita.rbs +0 -4
metadata
CHANGED
@@ -1,37 +1,366 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 5.0.0.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Jimmy Cuadra
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2024-11-14 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: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.6.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.6.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: http_router
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.11.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.11.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: i18n
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.8.10
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.8.10
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ice_nine
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.11.2
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.11.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: puma
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 5.4.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 5.4.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.2.3
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.2.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rb-readline
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.5.5
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.5.5
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: redis-namespace
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.8.1
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.8.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: thor
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.1.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.1.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-byebug
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.9.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.9.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rack-test
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.1.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.1.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rake
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 13.0.3
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 13.0.3
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rspec
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 3.10.0
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 3.10.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 1.17.0
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 1.17.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: simplecov
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.21.2
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.21.2
|
237
|
+
description: ChatOps for Ruby.
|
14
238
|
email:
|
15
|
-
-
|
16
|
-
executables:
|
239
|
+
- jimmy@jimmycuadra.com
|
240
|
+
executables:
|
241
|
+
- lita
|
17
242
|
extensions: []
|
18
243
|
extra_rdoc_files: []
|
19
244
|
files:
|
20
|
-
- ".
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
245
|
+
- ".gitignore"
|
246
|
+
- ".rubocop.yml"
|
247
|
+
- ".ruby-version"
|
248
|
+
- ".travis.yml"
|
249
|
+
- CONTRIBUTING.md
|
250
|
+
- Gemfile
|
251
|
+
- LICENSE
|
24
252
|
- README.md
|
25
253
|
- Rakefile
|
254
|
+
- bin/lita
|
255
|
+
- lib/lita.rb
|
256
|
+
- lib/lita/adapter.rb
|
257
|
+
- lib/lita/adapters/shell.rb
|
258
|
+
- lib/lita/adapters/test.rb
|
259
|
+
- lib/lita/authorization.rb
|
260
|
+
- lib/lita/callback.rb
|
261
|
+
- lib/lita/cli.rb
|
262
|
+
- lib/lita/configurable.rb
|
263
|
+
- lib/lita/configuration_builder.rb
|
264
|
+
- lib/lita/configuration_validator.rb
|
265
|
+
- lib/lita/default_configuration.rb
|
266
|
+
- lib/lita/errors.rb
|
267
|
+
- lib/lita/handler.rb
|
268
|
+
- lib/lita/handler/chat_router.rb
|
269
|
+
- lib/lita/handler/common.rb
|
270
|
+
- lib/lita/handler/event_router.rb
|
271
|
+
- lib/lita/handler/http_router.rb
|
272
|
+
- lib/lita/handlers/authorization.rb
|
273
|
+
- lib/lita/handlers/help.rb
|
274
|
+
- lib/lita/handlers/info.rb
|
275
|
+
- lib/lita/handlers/room.rb
|
276
|
+
- lib/lita/handlers/users.rb
|
277
|
+
- lib/lita/http_callback.rb
|
278
|
+
- lib/lita/http_route.rb
|
279
|
+
- lib/lita/logger.rb
|
280
|
+
- lib/lita/message.rb
|
281
|
+
- lib/lita/middleware_registry.rb
|
282
|
+
- lib/lita/namespace.rb
|
283
|
+
- lib/lita/plugin_builder.rb
|
284
|
+
- lib/lita/rack_app.rb
|
285
|
+
- lib/lita/registry.rb
|
286
|
+
- lib/lita/response.rb
|
287
|
+
- lib/lita/robot.rb
|
288
|
+
- lib/lita/room.rb
|
289
|
+
- lib/lita/route_validator.rb
|
290
|
+
- lib/lita/rspec.rb
|
291
|
+
- lib/lita/rspec/handler.rb
|
292
|
+
- lib/lita/rspec/matchers/chat_route_matcher.rb
|
293
|
+
- lib/lita/rspec/matchers/event_route_matcher.rb
|
294
|
+
- lib/lita/rspec/matchers/http_route_matcher.rb
|
295
|
+
- lib/lita/source.rb
|
296
|
+
- lib/lita/store.rb
|
297
|
+
- lib/lita/target.rb
|
298
|
+
- lib/lita/template.rb
|
299
|
+
- lib/lita/template_resolver.rb
|
300
|
+
- lib/lita/timer.rb
|
301
|
+
- lib/lita/user.rb
|
302
|
+
- lib/lita/util.rb
|
303
|
+
- lib/lita/version.rb
|
26
304
|
- lib/rita.rb
|
27
|
-
-
|
28
|
-
-
|
29
|
-
|
305
|
+
- rita.gemspec
|
306
|
+
- spec/lita/adapter_spec.rb
|
307
|
+
- spec/lita/adapters/shell_spec.rb
|
308
|
+
- spec/lita/authorization_spec.rb
|
309
|
+
- spec/lita/configuration_builder_spec.rb
|
310
|
+
- spec/lita/configuration_validator_spec.rb
|
311
|
+
- spec/lita/default_configuration_spec.rb
|
312
|
+
- spec/lita/handler/chat_router_spec.rb
|
313
|
+
- spec/lita/handler/common_spec.rb
|
314
|
+
- spec/lita/handler/event_router_spec.rb
|
315
|
+
- spec/lita/handler/http_router_spec.rb
|
316
|
+
- spec/lita/handler_spec.rb
|
317
|
+
- spec/lita/handlers/authorization_spec.rb
|
318
|
+
- spec/lita/handlers/help_spec.rb
|
319
|
+
- spec/lita/handlers/info_spec.rb
|
320
|
+
- spec/lita/handlers/room_spec.rb
|
321
|
+
- spec/lita/handlers/users_spec.rb
|
322
|
+
- spec/lita/logger_spec.rb
|
323
|
+
- spec/lita/message_spec.rb
|
324
|
+
- spec/lita/plugin_builder_spec.rb
|
325
|
+
- spec/lita/response_spec.rb
|
326
|
+
- spec/lita/robot_spec.rb
|
327
|
+
- spec/lita/room_spec.rb
|
328
|
+
- spec/lita/rspec/handler_spec.rb
|
329
|
+
- spec/lita/rspec_spec.rb
|
330
|
+
- spec/lita/source_spec.rb
|
331
|
+
- spec/lita/store_spec.rb
|
332
|
+
- spec/lita/template_resolver_spec.rb
|
333
|
+
- spec/lita/template_spec.rb
|
334
|
+
- spec/lita/timer_spec.rb
|
335
|
+
- spec/lita/user_spec.rb
|
336
|
+
- spec/lita/util_spec.rb
|
337
|
+
- spec/lita_spec.rb
|
338
|
+
- spec/spec_helper.rb
|
339
|
+
- spec/templates/basic.erb
|
340
|
+
- spec/templates/basic.irc.erb
|
341
|
+
- spec/templates/helpers.erb
|
342
|
+
- spec/templates/interpolated.erb
|
343
|
+
- templates/locales/en.yml
|
344
|
+
- templates/plugin/Gemfile
|
345
|
+
- templates/plugin/README.tt
|
346
|
+
- templates/plugin/Rakefile
|
347
|
+
- templates/plugin/gemspec.tt
|
348
|
+
- templates/plugin/gitignore
|
349
|
+
- templates/plugin/lib/lita/plugin_type/plugin.tt
|
350
|
+
- templates/plugin/lib/plugin.tt
|
351
|
+
- templates/plugin/locales/en.yml.tt
|
352
|
+
- templates/plugin/spec/lita/plugin_type/plugin_spec.tt
|
353
|
+
- templates/plugin/spec/spec_helper.tt
|
354
|
+
- templates/plugin/templates/gitkeep
|
355
|
+
- templates/robot/Gemfile
|
356
|
+
- templates/robot/lita_config.rb
|
357
|
+
homepage: https://github.com/ritaio/rita
|
30
358
|
licenses:
|
31
359
|
- MIT
|
32
360
|
metadata:
|
33
|
-
|
34
|
-
|
361
|
+
bug_tracker_uri: https://github.com/ritaio/rita/issues
|
362
|
+
changelog_uri: https://github.com/ritaio/rita/releases
|
363
|
+
source_code_uri: https://github.com/ritaio/rita
|
35
364
|
post_install_message:
|
36
365
|
rdoc_options: []
|
37
366
|
require_paths:
|
@@ -47,8 +376,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
376
|
- !ruby/object:Gem::Version
|
48
377
|
version: '0'
|
49
378
|
requirements: []
|
50
|
-
rubygems_version: 3.5.
|
379
|
+
rubygems_version: 3.5.22
|
51
380
|
signing_key:
|
52
381
|
specification_version: 4
|
53
|
-
summary:
|
54
|
-
test_files:
|
382
|
+
summary: ChatOps framework for Ruby. Rita is a robot companion for your chat room.
|
383
|
+
test_files:
|
384
|
+
- spec/lita/adapter_spec.rb
|
385
|
+
- spec/lita/adapters/shell_spec.rb
|
386
|
+
- spec/lita/authorization_spec.rb
|
387
|
+
- spec/lita/configuration_builder_spec.rb
|
388
|
+
- spec/lita/configuration_validator_spec.rb
|
389
|
+
- spec/lita/default_configuration_spec.rb
|
390
|
+
- spec/lita/handler/chat_router_spec.rb
|
391
|
+
- spec/lita/handler/common_spec.rb
|
392
|
+
- spec/lita/handler/event_router_spec.rb
|
393
|
+
- spec/lita/handler/http_router_spec.rb
|
394
|
+
- spec/lita/handler_spec.rb
|
395
|
+
- spec/lita/handlers/authorization_spec.rb
|
396
|
+
- spec/lita/handlers/help_spec.rb
|
397
|
+
- spec/lita/handlers/info_spec.rb
|
398
|
+
- spec/lita/handlers/room_spec.rb
|
399
|
+
- spec/lita/handlers/users_spec.rb
|
400
|
+
- spec/lita/logger_spec.rb
|
401
|
+
- spec/lita/message_spec.rb
|
402
|
+
- spec/lita/plugin_builder_spec.rb
|
403
|
+
- spec/lita/response_spec.rb
|
404
|
+
- spec/lita/robot_spec.rb
|
405
|
+
- spec/lita/room_spec.rb
|
406
|
+
- spec/lita/rspec/handler_spec.rb
|
407
|
+
- spec/lita/rspec_spec.rb
|
408
|
+
- spec/lita/source_spec.rb
|
409
|
+
- spec/lita/store_spec.rb
|
410
|
+
- spec/lita/template_resolver_spec.rb
|
411
|
+
- spec/lita/template_spec.rb
|
412
|
+
- spec/lita/timer_spec.rb
|
413
|
+
- spec/lita/user_spec.rb
|
414
|
+
- spec/lita/util_spec.rb
|
415
|
+
- spec/lita_spec.rb
|
416
|
+
- spec/spec_helper.rb
|
417
|
+
- spec/templates/basic.erb
|
418
|
+
- spec/templates/basic.irc.erb
|
419
|
+
- spec/templates/helpers.erb
|
420
|
+
- spec/templates/interpolated.erb
|
data/.standard.yml
DELETED
data/CHANGELOG.md
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,132 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
9
|
-
nationality, personal appearance, race, caste, color, religion, or sexual
|
10
|
-
identity and orientation.
|
11
|
-
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
13
|
-
diverse, inclusive, and healthy community.
|
14
|
-
|
15
|
-
## Our Standards
|
16
|
-
|
17
|
-
Examples of behavior that contributes to a positive environment for our
|
18
|
-
community include:
|
19
|
-
|
20
|
-
* Demonstrating empathy and kindness toward other people
|
21
|
-
* Being respectful of differing opinions, viewpoints, and experiences
|
22
|
-
* Giving and gracefully accepting constructive feedback
|
23
|
-
* Accepting responsibility and apologizing to those affected by our mistakes,
|
24
|
-
and learning from the experience
|
25
|
-
* Focusing on what is best not just for us as individuals, but for the overall
|
26
|
-
community
|
27
|
-
|
28
|
-
Examples of unacceptable behavior include:
|
29
|
-
|
30
|
-
* The use of sexualized language or imagery, and sexual attention or advances of
|
31
|
-
any kind
|
32
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
33
|
-
* Public or private harassment
|
34
|
-
* Publishing others' private information, such as a physical or email address,
|
35
|
-
without their explicit permission
|
36
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
37
|
-
professional setting
|
38
|
-
|
39
|
-
## Enforcement Responsibilities
|
40
|
-
|
41
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
42
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
43
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
44
|
-
or harmful.
|
45
|
-
|
46
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
47
|
-
comments, commits, code, wiki edits, issues, and other contributions that are
|
48
|
-
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
49
|
-
decisions when appropriate.
|
50
|
-
|
51
|
-
## Scope
|
52
|
-
|
53
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
54
|
-
an individual is officially representing the community in public spaces.
|
55
|
-
Examples of representing our community include using an official email address,
|
56
|
-
posting via an official social media account, or acting as an appointed
|
57
|
-
representative at an online or offline event.
|
58
|
-
|
59
|
-
## Enforcement
|
60
|
-
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
62
|
-
reported to the community leaders responsible for enforcement at
|
63
|
-
[INSERT CONTACT METHOD].
|
64
|
-
All complaints will be reviewed and investigated promptly and fairly.
|
65
|
-
|
66
|
-
All community leaders are obligated to respect the privacy and security of the
|
67
|
-
reporter of any incident.
|
68
|
-
|
69
|
-
## Enforcement Guidelines
|
70
|
-
|
71
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
72
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
73
|
-
|
74
|
-
### 1. Correction
|
75
|
-
|
76
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
77
|
-
unprofessional or unwelcome in the community.
|
78
|
-
|
79
|
-
**Consequence**: A private, written warning from community leaders, providing
|
80
|
-
clarity around the nature of the violation and an explanation of why the
|
81
|
-
behavior was inappropriate. A public apology may be requested.
|
82
|
-
|
83
|
-
### 2. Warning
|
84
|
-
|
85
|
-
**Community Impact**: A violation through a single incident or series of
|
86
|
-
actions.
|
87
|
-
|
88
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
89
|
-
interaction with the people involved, including unsolicited interaction with
|
90
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
91
|
-
includes avoiding interactions in community spaces as well as external channels
|
92
|
-
like social media. Violating these terms may lead to a temporary or permanent
|
93
|
-
ban.
|
94
|
-
|
95
|
-
### 3. Temporary Ban
|
96
|
-
|
97
|
-
**Community Impact**: A serious violation of community standards, including
|
98
|
-
sustained inappropriate behavior.
|
99
|
-
|
100
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
101
|
-
communication with the community for a specified period of time. No public or
|
102
|
-
private interaction with the people involved, including unsolicited interaction
|
103
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
104
|
-
Violating these terms may lead to a permanent ban.
|
105
|
-
|
106
|
-
### 4. Permanent Ban
|
107
|
-
|
108
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
109
|
-
standards, including sustained inappropriate behavior, harassment of an
|
110
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
111
|
-
|
112
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
113
|
-
community.
|
114
|
-
|
115
|
-
## Attribution
|
116
|
-
|
117
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
118
|
-
version 2.1, available at
|
119
|
-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
120
|
-
|
121
|
-
Community Impact Guidelines were inspired by
|
122
|
-
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
123
|
-
|
124
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
125
|
-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
126
|
-
[https://www.contributor-covenant.org/translations][translations].
|
127
|
-
|
128
|
-
[homepage]: https://www.contributor-covenant.org
|
129
|
-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
130
|
-
[Mozilla CoC]: https://github.com/mozilla/diversity
|
131
|
-
[FAQ]: https://www.contributor-covenant.org/faq
|
132
|
-
[translations]: https://www.contributor-covenant.org/translations
|
data/lib/rita/version.rb
DELETED
data/sig/rita.rbs
DELETED