slack_bot-events 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 653594899c76b05d93054ceb20520d84a487a38451ecee7d561ab5b9e6590bf7
4
- data.tar.gz: 3f722375d06dce4ca2a3f4151ed221948b9e1d5e6d87842cf966ff067c54c31b
3
+ metadata.gz: 77da24b43ab5d9941684e5a5b02b55089c623dbd0e04c169a3f369d163723201
4
+ data.tar.gz: fa617a08d0c79e5067613143f33763cf2603083b53cd855a18617c937323b106
5
5
  SHA512:
6
- metadata.gz: eb0fb66fded40a580f042bd45e9ba139cf3753d2960461265d07394a5c182a35c9f35d33105e7ca5536b6e279c44335baf6b8ba645e531186ffbf3c4d9790dcc
7
- data.tar.gz: 02f478db61cabfce5f8e66b7303f47f9ed548d08dafded39d364e579f68ebf448f17ddf851e9717bfea0e755ab41e0821d450ab4b4e3353823a3b161e9ad0dea
6
+ metadata.gz: 67a0f94912390776300171104e17fb58b53c4cb694e536acbe45fc69fcb243fc1878bd4a90d1d86c8ac3b2235c6c70387aad96493e39ecfbc7c5a2faf0996396
7
+ data.tar.gz: 85055e2261e1f8cc24b6b45069b5f2907b15c05a6d9e40af6712390d13f5d10241cd802950d851faee1c8aa6005e58d84a6eee7e1ebb5e50082c1fde5990b05e
@@ -52,7 +52,7 @@ module SlackBot
52
52
  end
53
53
 
54
54
  def events_api(handler:, schema:, parsed_data:)
55
- return if listener.nil?
55
+ return if handler.nil?
56
56
 
57
57
  Events.logger.info { schema.tldr } if Events.config.print_tldr
58
58
 
@@ -15,11 +15,7 @@ module SlackBot
15
15
  :on_receive,
16
16
  ]
17
17
 
18
- add_composer :client_id, allowed: String, default: ENV["SLACK_CLIENT_ID"]
19
- add_composer :client_secret, allowed: String, default: ENV["SLACK_CLIENT_SECRET"]
20
- add_composer :client_signing_secret, allowed: String, default: ENV["SLACK_SIGNING_SECRET"]
21
18
  add_composer :client_socket_token, allowed: String, default: ENV["SLACK_SOCKET_TOKEN"]
22
- add_composer :client_verification_token, allowed: String, default: ENV["SLACK_VERIFICATION_TOKEN"]
23
19
  add_composer :print_tldr, allowed: [true.class, false.class], default: true
24
20
  add_composer :message_middleware, allowed: Middleware::Chain, default: Middleware::Chain.new(type: :message)
25
21
  add_composer :open_middleware, allowed: Middleware::Chain, default: Middleware::Chain.new(type: :open)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SlackBot
4
4
  module Events
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "pry"
4
-
5
3
  require "slack_bot/events/configuration"
6
4
  require "slack_bot/events/client"
7
5
  require "slack_bot/events/middleware/chain"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_bot-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Taylor