From 96f66caf6670ce2f7e0fd775228bac5bc8e98868 Mon Sep 17 00:00:00 2001 From: Evandro Junior Date: Thu, 17 Apr 2014 18:46:30 +0000 Subject: [PATCH] new tweeter token added --- tweeter_stream/config/twurlrc_mariajoseopinto | 13 +++++++++++++ tweeter_stream/lib/twurl/request_controller.rb | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tweeter_stream/config/twurlrc_mariajoseopinto diff --git a/tweeter_stream/config/twurlrc_mariajoseopinto b/tweeter_stream/config/twurlrc_mariajoseopinto new file mode 100644 index 0000000..6cd1d44 --- /dev/null +++ b/tweeter_stream/config/twurlrc_mariajoseopinto @@ -0,0 +1,13 @@ +--- +profiles: + evandro: + c7dZNecaM2gF5Jx0bRHxocLmv: + token: 8601482-SnlTsySr3ULpnWgjhlCys2s4RzfIu1dgxxiNHKS4Lr + consumer_key: c7dZNecaM2gF5Jx0bRHxocLmv + username: evandro + consumer_secret: uDIuSmCJaCgDMk1uuumaibzBQk4imlw4g9IdpVtC7Xo3Jj6mog + secret: adEJxbubtrGPsrU7VRIO7pv3ebvnYURsAytNMF2BtexVt +configuration: + default_profile: + - evandro + - c7dZNecaM2gF5Jx0bRHxocLmv diff --git a/tweeter_stream/lib/twurl/request_controller.rb b/tweeter_stream/lib/twurl/request_controller.rb index 368a9d8..7a946c2 100755 --- a/tweeter_stream/lib/twurl/request_controller.rb +++ b/tweeter_stream/lib/twurl/request_controller.rb @@ -16,7 +16,7 @@ module Twurl def perform_request client.perform_request_from_options(options) { |response| chunk_begining = "" - puts "Connecting to tweeter stream : " + response.inspect + puts "Connecting to tweeter stream: " + response.inspect response.read_body { |chunk| chunk = chunk_begining + chunk chunk_complete = false -- libgit2 0.21.2