edi 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 509fdbebab1bf240454565b4bb1a3835210e060d
|
4
|
+
data.tar.gz: 1daef08eb3939ab71bf48ed5c526643a284e3670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54b1cb9fde916c3378d58f94ba03af1239a14541b910389c802a7c2e3e018f833c7a9398151baeb2156e29881c99a2eb09f71af534881be7c9b0f10f447cebd7
|
7
|
+
data.tar.gz: 2410c5a787d83bdff9b8765f6a2f95a46b9bab1783c457ec87b70e0084e732909d4ae4d85deb6e71827061cfb11c9566e923754d1e803a1ecbc4b627e00724aa
|
data/lib/edi/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
class
|
1
|
+
class Core < EDI::Core
|
2
2
|
# Use `register_services` to enable services in your EDI Bot. Available built-in services are:
|
3
3
|
# :dice, :eightball, :fact, :giphy, :i_heart_quotes
|
4
4
|
# You can make your own services with `edi generate service my_service`
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'bundler/setup'
|
2
|
-
Bundler.require(:default
|
2
|
+
Bundler.require(:default)
|
3
3
|
EDI.configure do |config|
|
4
4
|
config.root = File.expand_path "./"
|
5
5
|
# Your bot's name, not required for anything, but you can use it to have your bot speak it's name
|
@@ -8,22 +8,22 @@ EDI.configure do |config|
|
|
8
8
|
# Default response is what EDI will say in response to a message that doesn't have a registered service.
|
9
9
|
# If you configure this to be an array of strings, a random one will be selected.
|
10
10
|
# config.default_response = "What is this, I don't even"
|
11
|
-
|
11
|
+
|
12
12
|
# Hello Message, returned when browsing to / on your bot's host
|
13
13
|
# config.hello_message = "Hello, I'm #{config.bot_name}"
|
14
|
-
|
14
|
+
|
15
15
|
# Message returned to slack if an unconfigured service is invoked
|
16
16
|
# config.unfit_environment_response = "I'm really sorrt, but that service needs to be configured"
|
17
|
-
|
17
|
+
|
18
18
|
# Message returned to slack if a third party api fails
|
19
19
|
# config.third_party_api_failure_response = "Most unfortunately, that service is not working right now."
|
20
|
-
|
20
|
+
|
21
21
|
# Standard Error Response sent back to slack if anything else goes wrong
|
22
22
|
# config.standard_error_response = "I'm sorry, something went wrong."
|
23
23
|
|
24
24
|
# Add additional autoload directories to autoload_paths
|
25
25
|
# config.autoload_paths += "bot/models"
|
26
|
-
|
26
|
+
|
27
27
|
# Default channel to post to using the post_to_slack method
|
28
28
|
# config.default_channel = "#general"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DVG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -390,9 +390,9 @@ files:
|
|
390
390
|
- spec/support/shared_contexts/server.rb
|
391
391
|
- spec/support/shared_contexts/service.rb
|
392
392
|
- templates/project/Gemfile
|
393
|
-
- templates/project/
|
393
|
+
- templates/project/boot.rb
|
394
|
+
- templates/project/bot/core.rb
|
394
395
|
- templates/project/bot/services/.gitkeep
|
395
|
-
- templates/project/config.ru
|
396
396
|
- templates/project/config/.gitkeep
|
397
397
|
- templates/project/config/environment.rb
|
398
398
|
- templates/project/config/initializers/.gitkeep
|
data/templates/project/config.ru
DELETED