wit_bot 0.5.4 → 0.5.5

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: e2586281b8eb9c9f67307fcb2e58e4b9212cdf48
4
- data.tar.gz: 315a2158db2a27ce6c31003213ff74299ffdfede
3
+ metadata.gz: 20be6a838db4baabcc5a8810d69e9b80bcaf98f6
4
+ data.tar.gz: ed67859a5222e0293dfdc80b28e4e20d26425127
5
5
  SHA512:
6
- metadata.gz: 2239d5b546cabb8b9ba9ac3d8b5cc7937931e77587fd18022e2a78203f4e879994146c0ce19af80daec7d2b9d7e76796ca8af179a10b5b91932f7a6359599d7c
7
- data.tar.gz: e9eb3e9bbd2bf3b7982dbc6bd5927b87cbb97a02cf769e44dfbede62ed59b6f1d677678442f3370339275062c1a35f6b5ece38bb29b56482a1957d81befdbda6
6
+ metadata.gz: 90e58204d45ca53b2e3ba4b9b301ca8e760c24e37bed4da3d28648284cc767710d33cd188fcaf0086e360801818cab63a04f08a761afe7a1be74d2383d262292
7
+ data.tar.gz: bc6aa386b08c69a629208edae9490318c4a980ef3fc21465e7da9c2432dd580e85ef400a45a500b092c4a665fcfb76458a5a3a476cfb84dd27444a1df632cbc3
@@ -6,8 +6,8 @@ module WitBot
6
6
  end
7
7
 
8
8
  class << self
9
- @intents = []
10
9
  def intents(*args)
10
+ @intents ||= []
11
11
  if args.empty?
12
12
  @intents.map! do |intent|
13
13
  if intent.is_a? WitBot::WitModel::Intent
@@ -1,3 +1,3 @@
1
1
  module WitBot
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wit_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben (@penne12_)