twitter2jabber 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to twitter2jabber version 0.1.6
5
+ This documentation refers to twitter2jabber version 0.1.7
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/TODO CHANGED
@@ -1,6 +1,9 @@
1
+ - Jabber::ServerDisconnected in lib/twitter2jabber.rb:165 (??? => Jabber::ServerDisconnected < Jabber::JabberError)
2
+ - threading?
1
3
  - 'direct message' command
2
4
  - persistent cache! (friends_timeline: since/since_id?)
3
5
  - OAuth (register: http://twitter.com/oauth_clients/new)
4
6
  - better interrupt handling (in loop mode)
5
7
  - daemonize after asking for credentials (in loop mode)
6
8
  - additional commands?
9
+ - SPECS!!!
data/bin/twitter2jabber CHANGED
@@ -26,6 +26,8 @@
26
26
  ###############################################################################
27
27
  #++
28
28
 
29
+ $KCODE = 'u' unless RUBY_VERSION >= '1.9'
30
+
29
31
  require 'optparse'
30
32
  require 'yaml'
31
33
 
@@ -160,6 +162,7 @@ begin
160
162
  twitter2jabber = Twitter2Jabber.new(config)
161
163
 
162
164
  if options[:loop]
165
+ warn Process.pid if options[:verbose]
163
166
  twitter2jabber.loop(recipients, options[:pause] || config[:pause])
164
167
  else
165
168
  twitter2jabber.run(recipients)
@@ -4,7 +4,7 @@ class Twitter2Jabber
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- TINY = 6
7
+ TINY = 7
8
8
 
9
9
  class << self
10
10
 
@@ -68,6 +68,8 @@ class Twitter2Jabber
68
68
  @verbose = options[:verbose]
69
69
  @debug = options[:debug]
70
70
 
71
+ log 'HAI!'
72
+
71
73
  @twitter = twitter_connect(options[:twitter])
72
74
  @jabber = jabber_connect(options[:jabber])
73
75
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter2jabber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille