Add example Lita instance
This commit is contained in:
parent
76c5330289
commit
03c799819c
3 changed files with 68 additions and 0 deletions
7
example/Gemfile
Normal file
7
example/Gemfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'lita', '~> 4.4.0'
|
||||
|
||||
gem 'lita-tox', path: '..'
|
51
example/Gemfile.lock
Normal file
51
example/Gemfile.lock
Normal file
|
@ -0,0 +1,51 @@
|
|||
PATH
|
||||
remote: ..
|
||||
specs:
|
||||
lita-tox (0.3.0)
|
||||
lita (~> 4.4)
|
||||
tox (~> 0.0.1)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
faraday (0.12.1)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
http_router (0.11.2)
|
||||
rack (>= 1.0.0)
|
||||
url_mount (~> 0.2.1)
|
||||
i18n (0.8.6)
|
||||
ice_nine (0.11.2)
|
||||
lita (4.4.3)
|
||||
bundler (>= 1.3)
|
||||
faraday (>= 0.8.7)
|
||||
http_router (>= 0.11.1)
|
||||
i18n (>= 0.6.9)
|
||||
ice_nine (>= 0.11.0)
|
||||
multi_json (>= 1.7.7)
|
||||
puma (>= 2.7.1)
|
||||
rack (>= 1.5.2)
|
||||
rb-readline (>= 0.5.1)
|
||||
redis-namespace (>= 1.3.0)
|
||||
thor (>= 0.18.1)
|
||||
multi_json (1.12.1)
|
||||
multipart-post (2.0.0)
|
||||
puma (3.9.1)
|
||||
rack (2.0.3)
|
||||
rb-readline (0.5.4)
|
||||
redis (3.3.3)
|
||||
redis-namespace (1.5.3)
|
||||
redis (~> 3.0, >= 3.0.4)
|
||||
thor (0.19.4)
|
||||
tox (0.0.1)
|
||||
url_mount (0.2.1)
|
||||
rack
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
lita (~> 4.4.0)
|
||||
lita-tox!
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.6
|
10
example/lita_config.rb
Normal file
10
example/lita_config.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Lita.configure do |config|
|
||||
config.robot.name = 'Lita'
|
||||
|
||||
config.robot.adapter = :tox
|
||||
|
||||
config.adapters.tox.savedata_filename = 'savedata'
|
||||
config.adapters.tox.status = "Send me \"#{config.robot.name}: help\""
|
||||
end
|
Reference in a new issue