oeh-client 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e329ef9084462966190cde7df9afadd941a63d63
4
- data.tar.gz: 2883d18464bd912779cf8e1f45c8e9f70f9e1c01
3
+ metadata.gz: a5e6079c12db5a770d90d98f2d7feb8054697dba
4
+ data.tar.gz: 9316a563cc45f643583e78efcf0c7f6f7ef8308d
5
5
  SHA512:
6
- metadata.gz: 76178d87e2ed00917e314fe83be1f86e5d59276e748a9593d5a9109bffbc67a69a10e69c7e627e860c4158de9c6c03b0e862dcda1d656096cea53c519ff04edc
7
- data.tar.gz: f61c150e15dbd33c17a781e73337b7a9eff598d002df6b1dc65a80994dfcaec1cfbdd17c91e12ac5e3d30d378e1cecfead7f83e39bef334272dc9aaec78c7de5
6
+ metadata.gz: a9496f482294d938de4657cee4bb456fa75b064a66ae05106d202afac96017a61a32452458e1d844c521a3d18a32db9ffe2755524da7066d3eab011c0eb1fc02
7
+ data.tar.gz: 4d9ccebb21ca6e035a58e3f042fb8b8b851b577ab075369bb70467281501fcfa7d947271c611402da8307a7a1c5841099f693f5fc31b7cdfe7f8c51f213c4fe2
@@ -59,15 +59,15 @@ class OEHClient::Interaction::Response
59
59
 
60
60
  # returns true if the curent response is a positive response
61
61
  def is_positive?()
62
- @sentiment.casecmp(SENTIMENT_POSITIVE)
62
+ (@sentiment.casecmp(SENTIMENT_POSITIVE) == 0)
63
63
  end
64
64
  # returns true if the current response is a neutral response
65
65
  def is_neutral?()
66
- @sentiment.casecmp(SENTIMENT_NEUTRAL)
66
+ ( @sentiment.casecmp(SENTIMENT_NEUTRAL) == 0)
67
67
  end
68
68
  # returns true if the current response is a negative response
69
69
  def is_negative?
70
- @sentiment.casecmp(SENTIMENT_NEGATIVE)
70
+ ( @sentiment.casecmp(SENTIMENT_NEGATIVE) == 0)
71
71
  end
72
72
 
73
73
 
@@ -1,3 +1,3 @@
1
1
  module OEHClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oeh-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Balliet