wit_bot 0.3.2 → 0.3.3

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: d10dd1881f1d6790130b549a37e917153c5f98a2
4
- data.tar.gz: b45b3b4cb14880cb82e52ac3796e234e4e7348e2
3
+ metadata.gz: 0bbbc51b2c56bfa6a606d1d370e56446fca0dd26
4
+ data.tar.gz: 22acb9bfc4d056deb8e809e3332ccf8f96ad9b2f
5
5
  SHA512:
6
- metadata.gz: f233ae557c9dbca4a91ebee6f9877bd53844a11faec2e61e5c1e2f3ad317ac8f5db9634edeca65455ab4c1321578010fc1941673d8fa2cdcd0f92a8733ac8ba7
7
- data.tar.gz: 8b9ae3e37592c5a14647834cb7d5958f2c013e1352ea335935aa17c944048fea9a2f2d753a74880ad5a833d68b91f96b13e1589c7a68645e9ef69510a4fbfb41
6
+ metadata.gz: 93d0c8c4c3d1700572345033f7acc343f2b66f40a2bf86712ace196799a4514ee30f41f26dac2f39ef1d1c25d5ed4579a9494764bdbaba6f7e8f8257bcfad949
7
+ data.tar.gz: 945dbe402861679adcff5eb1afaa8fb59ad59b5d2c875f7d05a7175a3d6cbc16050d54d7a60c38e27357db258e35d8cbc96a33e9dd339a53cf5a661b66b4c08f
@@ -8,7 +8,7 @@ module WitBot
8
8
  @role = role
9
9
  @raw = raw.with_indifferent_access
10
10
 
11
- @value = case @raw[:type].to_sym
11
+ @value = case @raw[:type] && @raw[:type].to_sym
12
12
  when :value
13
13
  @raw[:value].to_s
14
14
  else
@@ -1,3 +1,3 @@
1
1
  module WitBot
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben (@penne12_)