kybus-bot 0.10.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kybus/bot/adapters/debug.rb +7 -4
- data/lib/kybus/bot/adapters/telegram.rb +38 -57
- data/lib/kybus/bot/adapters/telegram_file.rb +2 -2
- data/lib/kybus/bot/adapters/telegram_message.rb +7 -3
- data/lib/kybus/bot/base.rb +73 -59
- data/lib/kybus/bot/command/command_definition.rb +2 -0
- data/lib/kybus/bot/command/command_handler.rb +34 -0
- data/lib/kybus/bot/command/command_state.rb +23 -12
- data/lib/kybus/bot/command/command_state_factory.rb +17 -34
- data/lib/kybus/bot/command/execution_context.rb +1 -1
- data/lib/kybus/bot/command/inline_command_matcher.rb +47 -0
- data/lib/kybus/bot/command/parameter_saver.rb +64 -0
- data/lib/kybus/bot/command/regular_command_matcher.rb +47 -0
- data/lib/kybus/bot/command_executor.rb +41 -73
- data/lib/kybus/bot/dsl_methods.rb +7 -3
- data/lib/kybus/bot/exceptions.rb +16 -0
- data/lib/kybus/bot/forkers/base.rb +61 -0
- data/lib/kybus/bot/forkers/lambda_sqs_forker.rb +41 -0
- data/lib/kybus/bot/forkers/thread_forker.rb +18 -0
- data/lib/kybus/bot/migrator.rb +57 -39
- data/lib/kybus/bot/serialized_message.rb +32 -14
- data/lib/kybus/bot/sidekiq_command_executor.rb +2 -0
- data/lib/kybus/bot/version.rb +1 -1
- metadata +11 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kybus-bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gilberto Vargas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kybus-core
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
version: '0.1'
|
27
27
|
description: Provides a framework for building bots with ruby
|
28
28
|
email:
|
29
|
-
-
|
29
|
+
- tachomexgems@gmail.com
|
30
30
|
executables: []
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
@@ -41,11 +41,19 @@ files:
|
|
41
41
|
- lib/kybus/bot/base.rb
|
42
42
|
- lib/kybus/bot/command/command.rb
|
43
43
|
- lib/kybus/bot/command/command_definition.rb
|
44
|
+
- lib/kybus/bot/command/command_handler.rb
|
44
45
|
- lib/kybus/bot/command/command_state.rb
|
45
46
|
- lib/kybus/bot/command/command_state_factory.rb
|
46
47
|
- lib/kybus/bot/command/execution_context.rb
|
48
|
+
- lib/kybus/bot/command/inline_command_matcher.rb
|
49
|
+
- lib/kybus/bot/command/parameter_saver.rb
|
50
|
+
- lib/kybus/bot/command/regular_command_matcher.rb
|
47
51
|
- lib/kybus/bot/command_executor.rb
|
48
52
|
- lib/kybus/bot/dsl_methods.rb
|
53
|
+
- lib/kybus/bot/exceptions.rb
|
54
|
+
- lib/kybus/bot/forkers/base.rb
|
55
|
+
- lib/kybus/bot/forkers/lambda_sqs_forker.rb
|
56
|
+
- lib/kybus/bot/forkers/thread_forker.rb
|
49
57
|
- lib/kybus/bot/message.rb
|
50
58
|
- lib/kybus/bot/migrator.rb
|
51
59
|
- lib/kybus/bot/serialized_message.rb
|