chewbranca-twibot 0.1.7.4 → 0.1.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/twibot/macros.rb +1 -1
  2. data/twibot.gemspec +3 -3
  3. metadata +3 -3
@@ -62,7 +62,7 @@ module Twibot
62
62
 
63
63
  def post_reply(status, msg)
64
64
  text = msg.respond_to?(:text) ? msg.text : msg
65
- reply_to_screen_name = status.user.screen_name
65
+ reply_to_screen_name = (status.user.present) ? status.user.screen_name : status.from_user
66
66
  reply_to_status_id = status.id
67
67
  message = "@#{reply_to_screen_name} #{text}"
68
68
  puts message
@@ -2,13 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{chewbranca-twibot}
5
- s.version = "0.1.7.4"
5
+ s.version = "0.1.7.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Russell Branca", "Christian Johansen"]
9
- s.date = %q{2009-04-13}
9
+ s.date = %q{2009-10-30}
10
10
  s.description = %q{Twibot (pronounced like "Abbot"), is a Ruby microframework for creating Twitter bots, heavily inspired by Sinatra.}
11
- s.email = %q{christian@cjohansen.no}
11
+ s.email = %q{chewbranca@gmail.com}
12
12
  s.extra_rdoc_files = ["History.txt", "Readme.rdoc"]
13
13
  s.files = ["History.txt", "Rakefile", "Readme.rdoc", "lib/hash.rb", "lib/twibot.rb", "lib/twibot/bot.rb", "lib/twibot/config.rb", "lib/twibot/handlers.rb", "lib/twibot/macros.rb", "lib/twibot/tweets.rb", "test/test_bot.rb", "test/test_config.rb", "test/test_handler.rb", "test/test_hash.rb", "test/test_helper.rb", "test/test_twibot.rb", "twibot.gemspec"]
14
14
  s.has_rdoc = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chewbranca-twibot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7.4
4
+ version: 0.1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Branca
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-04-13 00:00:00 -07:00
13
+ date: 2009-10-30 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: 2.4.0
35
35
  version:
36
36
  description: Twibot (pronounced like "Abbot"), is a Ruby microframework for creating Twitter bots, heavily inspired by Sinatra.
37
- email: christian@cjohansen.no
37
+ email: chewbranca@gmail.com
38
38
  executables: []
39
39
 
40
40
  extensions: []