chatterbot 0.6.1 → 0.6.2

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.
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.licenses = ["WTFDBAL"]
22
22
 
23
23
  s.add_runtime_dependency(%q<oauth>, [">= 0"])
24
- s.add_runtime_dependency(%q<twitter>, [">= 3.4.1"])
24
+ s.add_runtime_dependency(%q<twitter>, [">= 3.6.0"])
25
25
  s.add_runtime_dependency(%q<launchy>, [">= 2.1.2"])
26
26
  s.add_development_dependency(%q<yard>, [">= 0"])
27
27
  s.add_development_dependency(%q<redcarpet>, [">= 0"])
@@ -1,3 +1,3 @@
1
1
  module Chatterbot
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -27,8 +27,8 @@ describe "Chatterbot::Blacklist" do
27
27
  end
28
28
 
29
29
  it "works with result hashes" do
30
- @bot.skip_me?(Twitter::Status.new(:id => 1, :text => "did you know that i hate bots?")).should == true
31
- @bot.skip_me?(Twitter::Status.new(:id => 1, :text => "a tweet without any bad content")).should == false
30
+ @bot.skip_me?(Twitter::Tweet.new(:id => 1, :text => "did you know that i hate bots?")).should == true
31
+ @bot.skip_me?(Twitter::Tweet.new(:id => 1, :text => "a tweet without any bad content")).should == false
32
32
  end
33
33
  end
34
34
 
@@ -52,8 +52,8 @@ describe "Chatterbot::Blacklist" do
52
52
  end
53
53
 
54
54
  it "works with result hashes" do
55
- @bot.on_blacklist?(Twitter::Status.new(:id => 1, :from_user => "skippy")).should == true
56
- @bot.on_blacklist?(Twitter::Status.new(:id => 1, :from_user => "flippy")).should == false
55
+ @bot.on_blacklist?(Twitter::Tweet.new(:id => 1, :from_user => "skippy")).should == true
56
+ @bot.on_blacklist?(Twitter::Tweet.new(:id => 1, :from_user => "flippy")).should == false
57
57
  end
58
58
  end
59
59
 
@@ -60,5 +60,5 @@ def fake_tweet(index, id=0, as_object = false)
60
60
  }
61
61
  }
62
62
 
63
- as_object == true ? Twitter::Status.new(x) : x
63
+ as_object == true ? Twitter::Tweet.new(x) : x
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chatterbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-11 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 3.4.1
37
+ version: 3.6.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 3.4.1
45
+ version: 3.6.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: launchy
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -257,7 +257,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
257
257
  version: '0'
258
258
  segments:
259
259
  - 0
260
- hash: 1501858023757255235
260
+ hash: -440543130411025093
261
261
  required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  none: false
263
263
  requirements:
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  version: '0'
267
267
  segments:
268
268
  - 0
269
- hash: 1501858023757255235
269
+ hash: -440543130411025093
270
270
  requirements: []
271
271
  rubyforge_project: chatterbot
272
272
  rubygems_version: 1.8.24