wit_bot 0.5.3.2 → 0.5.4

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: 66db6c895608936497a09e6d10a11a2673104d1d
4
- data.tar.gz: 3cc82b1a3db656d65eec6cb39ce6d2afa55fab52
3
+ metadata.gz: e2586281b8eb9c9f67307fcb2e58e4b9212cdf48
4
+ data.tar.gz: 315a2158db2a27ce6c31003213ff74299ffdfede
5
5
  SHA512:
6
- metadata.gz: 4554e39ae7ff2c0c30b4a1e8a3d437134870d99c6b5db449928de325eb8d8fa210cec7b6b3859405cb281899f0ed5df1f5911da68c9d72b8863bf51f7b93e0f6
7
- data.tar.gz: 09821170adc681c39925069fdf50fc35b7e3bfb94f73584bfc1671408d6d9726a610db1a552c7d8ea902d6252526b6400403cc12380634d4fcdb9701266402c2
6
+ metadata.gz: 2239d5b546cabb8b9ba9ac3d8b5cc7937931e77587fd18022e2a78203f4e879994146c0ce19af80daec7d2b9d7e76796ca8af179a10b5b91932f7a6359599d7c
7
+ data.tar.gz: e9eb3e9bbd2bf3b7982dbc6bd5927b87cbb97a02cf769e44dfbede62ed59b6f1d677678442f3370339275062c1a35f6b5ece38bb29b56482a1957d81befdbda6
@@ -6,10 +6,10 @@ module WitBot
6
6
  end
7
7
 
8
8
  class << self
9
- @@intents = []
9
+ @intents = []
10
10
  def intents(*args)
11
11
  if args.empty?
12
- @@intents.map! do |intent|
12
+ @intents.map! do |intent|
13
13
  if intent.is_a? WitBot::WitModel::Intent
14
14
  intent
15
15
  else
@@ -17,7 +17,7 @@ module WitBot
17
17
  end
18
18
  end
19
19
  else
20
- @@intents.concat args
20
+ @intents.concat args
21
21
  end
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module WitBot
2
- VERSION = '0.5.3.2'
2
+ VERSION = '0.5.4'
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.3.2
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben (@penne12_)