socrates 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/socrates/bots/cli_bot.rb +1 -1
- data/lib/socrates/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60482548634136856068bd61d2711fe88ee20af8
|
4
|
+
data.tar.gz: 2e00c859ba813a5f05168bdad145a7004bf67f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66ca5d145ad372efab8ec383413b1866c0069aac7d3d1f5b26b4f556c306d1e555573d2bf29dc02b0ddbda7bad241932189cdbc0ea142276096c886b62082a65
|
7
|
+
data.tar.gz: 5fdbf998e9f65a84736ec92ef75238949582b02b650f4f167e107060c6a403b7cab0d650599c0271e3141401320ec321baec3d6e411fa39c5650166af4c6b675
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Socrates
|
2
2
|
module Bots
|
3
3
|
class CLIBot
|
4
|
-
def initialize(adapter
|
4
|
+
def initialize(adapter: nil, state_factory:)
|
5
5
|
@adapter = adapter || Adapters::ConsoleAdapter.new
|
6
6
|
@dispatcher = Core::Dispatcher.new(adapter: @adapter, state_factory: state_factory)
|
7
7
|
end
|
data/lib/socrates/version.rb
CHANGED