cleverbot_io 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/lib/cleverbot.rb +2 -2
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40aae8baff2a4900ac12854105ade02c0de03ab0
4
- data.tar.gz: 5df887e792e592b59dc6c1e988e63228b15dab3e
3
+ metadata.gz: caa1d8d6444ccf76e89d22a383bd515d30eb2210
4
+ data.tar.gz: 8004497531599cb36ec28aa75e53fbfbc11a2922
5
5
  SHA512:
6
- metadata.gz: 1fd7ef09bafdc238ae54bc40039f67b4e0105f14c0e5a2ce4b7e3b748011c814fdb4a9ce93872182b3ce95a1d45a54bf11acf2f00c0a62585b9a92fb0733be0d
7
- data.tar.gz: d2d4fe8fdc91523c1d52c1a9d2395a00377b819c6c31990d169c96f105bc9d916afbfd8fef2ba0bebaa6bf8389f1dbde0ba1d2d8e8a7aac72e321d52b936d364
6
+ metadata.gz: 74cc7a1cf4b0963c952749c47a85f477013da0ad47d02f2493be4789b1cf50fde844356708a6b85b22d39a3baed0e1810619c2f553e560d6d4d4b20148a55d2c
7
+ data.tar.gz: 598d18f2fbda688a59c08f64c24c3c10cc0f649637d02af9919018b352f5335b9894168507263c6d62f30c4a1c222055e0ee461edb483e99b3f361f4d360c124
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
  ## Version 1
3
+ ### 1.2.3
4
+ * Fix unrecognized error throwing an error (#6) (saxton-tad)
5
+
3
6
  ### 1.2.2
4
7
  * Bump HTTPClient version.
5
8
  * Relicense as MIT.
@@ -59,7 +59,7 @@ class Cleverbot
59
59
  when 'Error: API credentials incorrect' then fail Cleverbot::Errors::IncorrectCredentialsError
60
60
  when 'Error: reference name already exists' then fail Cleverbot::Errors::DuplicatedReferenceNamesError
61
61
  when 'success' then return
62
- else fail "#{response['status']} UNRECOGNIZED ERROR! PLEASE REPORT TO CLEVERBOT RUBY ISSUE TRACKER."
62
+ else fail "#{status} UNRECOGNIZED ERROR! PLEASE REPORT TO CLEVERBOT RUBY ISSUE TRACKER."
63
63
  end
64
64
  end
65
- end
65
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cleverbot_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-02 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -68,8 +68,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  requirements: []
70
70
  rubyforge_project:
71
- rubygems_version: 2.5.1
71
+ rubygems_version: 2.6.4
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: A Ruby wrapper for the Cleverbot.io web API.
75
75
  test_files: []
76
+ has_rdoc: