Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Decode HTML entities

  • Loading branch information...
commit 8aa25f250e85213d3b9c50cb48e719f9ba075d67 1 parent 191a70f
@sferik authored
View
12 lib/t/cli.rb
@@ -144,7 +144,7 @@ def direct_messages
elsif options['long']
array = direct_messages.map do |direct_message|
created_at = direct_message.created_at > 6.months.ago ? direct_message.created_at.strftime("%b %e %H:%M") : direct_message.created_at.strftime("%b %e %Y")
- [direct_message.id, created_at, "@#{direct_message.sender.screen_name}", direct_message.text.gsub(/\n+/, ' ')]
+ [direct_message.id, created_at, "@#{direct_message.sender.screen_name}", HTMLEntities.new.decode(direct_message.text).gsub(/\n+/, ' ')]
end
if STDOUT.tty?
headings = ["ID", "Posted at", "Screen name", "Text"]
@@ -178,7 +178,7 @@ def direct_messages_sent
elsif options['long']
array = direct_messages.map do |direct_message|
created_at = direct_message.created_at > 6.months.ago ? direct_message.created_at.strftime("%b %e %H:%M") : direct_message.created_at.strftime("%b %e %Y")
- [direct_message.id, created_at, "@#{direct_message.recipient.screen_name}", direct_message.text.gsub(/\n+/, ' ')]
+ [direct_message.id, created_at, "@#{direct_message.recipient.screen_name}", HTMLEntities.new.decode(direct_message.text).gsub(/\n+/, ' ')]
end
if STDOUT.tty?
headings = ["ID", "Posted at", "Screen name", "Text"]
@@ -638,11 +638,11 @@ def status(status_id)
end
if options['csv']
say ["ID", "Text", "Screen name", "Posted at", "Location", "Retweets", "Source", "URL"].to_csv
- say [status.id, status.text, status.user.screen_name, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), location, status.retweet_count, strip_tags(status.source), "https://twitter.com/#{status.user.screen_name}/status/#{status.id}"].to_csv
+ say [status.id, HTMLEntities.new.decode(status.text), status.user.screen_name, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), location, status.retweet_count, strip_tags(status.source), "https://twitter.com/#{status.user.screen_name}/status/#{status.id}"].to_csv
else
array = []
array << ["ID", status.id.to_s]
- array << ["Text", status.text.gsub(/\n+/, ' ')]
+ array << ["Text", HTMLEntities.new.decode(status.text).gsub(/\n+/, ' ')]
array << ["Screen name", "@#{status.user.screen_name}"]
posted_at = status.created_at > 6.months.ago ? status.created_at.strftime("%b %e %H:%M") : status.created_at.strftime("%b %e %Y")
array << ["Posted at", posted_at]
@@ -828,7 +828,7 @@ def whois(user)
user = client.user(user, :include_entities => false)
if options['csv']
say ["ID", "Verified", "Name", "Screen name", "Bio", "Location", "Following", "Last update", "Lasted updated at", "Since", "Tweets", "Favorites", "Listed", "Following", "Followers", "URL"].to_csv
- say [user.id, user.verified?, user.name, user.screen_name, user.description, user.location, user.following?, user.status.text, user.status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), user.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), user.statuses_count, user.favourites_count, user.listed_count, user.friends_count, user.followers_count, user.url].to_csv
+ say [user.id, user.verified?, user.name, user.screen_name, user.description, user.location, user.following?, HTMLEntities.new.decode(user.status.text), user.status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), user.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), user.statuses_count, user.favourites_count, user.listed_count, user.friends_count, user.followers_count, user.url].to_csv
else
array = []
name_label = user.verified ? "Name (Verified)" : "Name"
@@ -838,7 +838,7 @@ def whois(user)
array << ["Location", user.location] unless user.location.nil?
status = user.following ? "Following" : "Not following"
array << ["Status", status]
- array << ["Last update", "#{user.status.text.gsub(/\n+/, ' ')} (#{time_ago_in_words(user.status.created_at)} ago)"] unless user.status.nil?
+ array << ["Last update", "#{HTMLEntities.new.decode(user.status.text).gsub(/\n+/, ' ')} (#{time_ago_in_words(user.status.created_at)} ago)"] unless user.status.nil?
created_at = user.created_at > 6.months.ago ? user.created_at.strftime("%b %e %H:%M") : user.created_at.strftime("%b %e %Y")
array << ["Since", created_at]
array << ["Tweets", number_with_delimiter(user.statuses_count)]
View
11 lib/t/printable.rb
@@ -3,6 +3,7 @@
# 'fastercsv' required on Ruby versions < 1.9
require 'fastercsv' unless Array.new.respond_to?(:to_csv)
require 'highline'
+require 'htmlentities'
require 'thor/shell/color'
module T
@@ -67,25 +68,25 @@ def print_lists(lists)
def print_status(status)
if STDOUT.tty? && !options['no-color']
say(" #{Thor::Shell::Color::BOLD}@#{status.user.screen_name}", :yellow)
- print_wrapped(status.text, :indent => 3)
+ print_wrapped(HTMLEntities.new.decode(status.text), :indent => 3)
else
say(" @#{status.user.screen_name}")
- print_wrapped(status.text, :indent => 3)
+ print_wrapped(HTMLEntities.new.decode(status.text), :indent => 3)
end
say
end
def print_statuses(statuses)
- statuses.reverse! if options['reverse']
+ statuses.reverse! if options['reverse'] || options['stream']
if options['csv']
say ["ID", "Posted at", "Screen name", "Text"].to_csv unless statuses.empty?
statuses.each do |status|
- say [status.id, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), status.user.screen_name, status.text].to_csv
+ say [status.id, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), status.user.screen_name, HTMLEntities.new.decode(status.text)].to_csv
end
elsif options['long']
array = statuses.map do |status|
created_at = status.created_at > 6.months.ago ? status.created_at.strftime("%b %e %H:%M") : status.created_at.strftime("%b %e %Y")
- [status.id, created_at, "@#{status.user.screen_name}", status.text.gsub(/\n+/, ' ')]
+ [status.id, created_at, "@#{status.user.screen_name}", HTMLEntities.new.decode(status.text).gsub(/\n+/, ' ')]
end
if STDOUT.tty?
headings = ["ID", "Posted at", "Screen name", "Text"]
View
9 lib/t/search.rb
@@ -2,6 +2,7 @@
require 'csv'
# 'fastercsv' required on Ruby versions < 1.9
require 'fastercsv' unless Array.new.respond_to?(:to_csv)
+require 'htmlentities'
require 'retryable'
require 't/collectable'
require 't/printable'
@@ -37,12 +38,12 @@ def all(query)
if options['csv']
say ["ID", "Posted at", "Screen name", "Text"].to_csv unless statuses.empty?
statuses.each do |status|
- say [status.id, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), status.from_user, status.text].to_csv
+ say [status.id, status.created_at.utc.strftime("%Y-%m-%d %H:%M:%S %z"), status.from_user, HTMLEntities.new.decode(status.text)].to_csv
end
elsif options['long']
array = statuses.map do |status|
created_at = status.created_at > 6.months.ago ? status.created_at.strftime("%b %e %H:%M") : status.created_at.strftime("%b %e %Y")
- [status.id, created_at, "@#{status.from_user}", status.text.gsub(/\n+/, ' ')]
+ [status.id, created_at, "@#{status.from_user}", HTMLEntities.new.decode(status.text).gsub(/\n+/, ' ')]
end
if STDOUT.tty?
headings = ["ID", "Posted at", "Screen name", "Text"]
@@ -56,10 +57,10 @@ def all(query)
statuses.each do |status|
if STDOUT.tty? && !options['no-color']
say(" #{Thor::Shell::Color::BOLD}@#{status.from_user}", :yellow)
- print_wrapped(status.text, :indent => 3)
+ print_wrapped(HTMLEntities.new.decode(status.text), :indent => 3)
else
say(" @#{status.from_user}")
- print_wrapped(status.text, :indent => 3)
+ print_wrapped(HTMLEntities.new.decode(status.text), :indent => 3)
end
say
end
View
12 spec/cli_spec.rb
@@ -743,7 +743,7 @@
194546876782092291,2011-04-23 22:02:44 +0000,skilldrick,@shinypb Well played :) @hoverbird
194546811480969217,2011-04-23 22:02:29 +0000,sam,"Can someone project the date that I'll get a 27"" retina display?"
194546738810458112,2011-04-23 22:02:11 +0000,shinypb,"@skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain."
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
194546649203347456,2011-04-23 22:01:50 +0000,skilldrick,"@hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all."
194546583608639488,2011-04-23 22:01:34 +0000,sean,@mep Thanks for coming by. Was great to have you.
194546388707717120,2011-04-23 22:00:48 +0000,hoverbird,"@shinypb @trammell it's all suck a ""duck blur"" sometimes."
@@ -1723,7 +1723,7 @@
194546876782092291,2011-04-23 22:02:44 +0000,skilldrick,@shinypb Well played :) @hoverbird
194546811480969217,2011-04-23 22:02:29 +0000,sam,"Can someone project the date that I'll get a 27"" retina display?"
194546738810458112,2011-04-23 22:02:11 +0000,shinypb,"@skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain."
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
194546649203347456,2011-04-23 22:01:50 +0000,skilldrick,"@hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all."
194546583608639488,2011-04-23 22:01:34 +0000,sean,@mep Thanks for coming by. Was great to have you.
194546388707717120,2011-04-23 22:00:48 +0000,hoverbird,"@shinypb @trammell it's all suck a ""duck blur"" sometimes."
@@ -1992,7 +1992,7 @@
194546876782092291,2011-04-23 22:02:44 +0000,skilldrick,@shinypb Well played :) @hoverbird
194546811480969217,2011-04-23 22:02:29 +0000,sam,"Can someone project the date that I'll get a 27"" retina display?"
194546738810458112,2011-04-23 22:02:11 +0000,shinypb,"@skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain."
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
194546649203347456,2011-04-23 22:01:50 +0000,skilldrick,"@hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all."
194546583608639488,2011-04-23 22:01:34 +0000,sean,@mep Thanks for coming by. Was great to have you.
194546388707717120,2011-04-23 22:00:48 +0000,hoverbird,"@shinypb @trammell it's all suck a ""duck blur"" sometimes."
@@ -2351,7 +2351,7 @@
194546876782092291,2011-04-23 22:02:44 +0000,skilldrick,@shinypb Well played :) @hoverbird
194546811480969217,2011-04-23 22:02:29 +0000,sam,"Can someone project the date that I'll get a 27"" retina display?"
194546738810458112,2011-04-23 22:02:11 +0000,shinypb,"@skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain."
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
194546649203347456,2011-04-23 22:01:50 +0000,skilldrick,"@hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all."
194546583608639488,2011-04-23 22:01:34 +0000,sean,@mep Thanks for coming by. Was great to have you.
194546388707717120,2011-04-23 22:00:48 +0000,hoverbird,"@shinypb @trammell it's all suck a ""duck blur"" sometimes."
@@ -2808,7 +2808,7 @@
Bio A mind forever voyaging through strange seas of thought, alone.
Location San Francisco
Status Not following
-Last update RT @tenderlove: [ANN] sqlite3-ruby =&gt; sqlite3 (10 months ago)
+Last update RT @tenderlove: [ANN] sqlite3-ruby => sqlite3 (10 months ago)
Since Jul 16 2007
Tweets 3,479
Favorites 1,040
@@ -2826,7 +2826,7 @@
@cli.whois("sferik")
$stdout.string.should == <<-eos
ID,Verified,Name,Screen name,Bio,Location,Following,Last update,Lasted updated at,Since,Tweets,Favorites,Listed,Following,Followers,URL
-7505382,false,Erik Michaels-Ober,sferik,"A mind forever voyaging through strange seas of thought, alone.",San Francisco,false,RT @tenderlove: [ANN] sqlite3-ruby =&gt; sqlite3,2011-01-16 21:38:25 +0000,2007-07-16 12:59:01 +0000,3479,1040,41,197,1048,https://github.com/sferik
+7505382,false,Erik Michaels-Ober,sferik,"A mind forever voyaging through strange seas of thought, alone.",San Francisco,false,RT @tenderlove: [ANN] sqlite3-ruby => sqlite3,2011-01-16 21:38:25 +0000,2007-07-16 12:59:01 +0000,3479,1040,41,197,1048,https://github.com/sferik
eos
end
end
View
4 spec/list_spec.rb
@@ -386,7 +386,7 @@
194546876782092291,2011-04-23 22:02:44 +0000,skilldrick,@shinypb Well played :) @hoverbird
194546811480969217,2011-04-23 22:02:29 +0000,sam,"Can someone project the date that I'll get a 27"" retina display?"
194546738810458112,2011-04-23 22:02:11 +0000,shinypb,"@skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain."
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
194546649203347456,2011-04-23 22:01:50 +0000,skilldrick,"@hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all."
194546583608639488,2011-04-23 22:01:34 +0000,sean,@mep Thanks for coming by. Was great to have you.
194546388707717120,2011-04-23 22:00:48 +0000,hoverbird,"@shinypb @trammell it's all suck a ""duck blur"" sometimes."
@@ -464,6 +464,8 @@
should have_been_made
end
end
+ context "--stream" do
+ end
context "with a user passed" do
it "should request the correct resource" do
@list.timeline("testcli/presidents")
View
26 spec/search_spec.rb
@@ -48,7 +48,7 @@
194521262415032320,2011-04-23 20:20:57 +0000,JessRoveel,Pondre lo mas importante de Hamlet en Twitter para recordarlo mejor :D
194521262326951936,2011-04-23 20:20:57 +0000,lauravgeest,Twitter doet het al 7 uur niet meer
194521262234669056,2011-04-23 20:20:57 +0000,Jenny_Bearx333,"I keep thinking that twitter is @instagram , and therefore double tap all the pics I like... #NotWorking"
-194521262138204160,2011-04-23 20:20:57 +0000,misspoxtonX,RT @jordantaylorhi: twitter friends &gt; twats at school
+194521262138204160,2011-04-23 20:20:57 +0000,misspoxtonX,RT @jordantaylorhi: twitter friends > twats at school
194521262134001665,2011-04-23 20:20:57 +0000,PatrickBrickman,RT @zeus30hightower: Too all Bama fans and followers my cousin mark Barron doesn't have a twitter so please disregard any tweets from that user
194521262129811456,2011-04-23 20:20:57 +0000,KolonelX,Ik refresh twitter op me telefoon terwijl ik tweetdeck voor me open heb staan
194521261852995586,2011-04-23 20:20:57 +0000,VLGPRLG5,"@mikeyway and you too RT @NimcyGD: @gerardway Get your ass back to twitter, okay? :3"
@@ -130,7 +130,7 @@
it "should have the correct output" do
@search.favorites("twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -141,7 +141,7 @@
@search.favorites("twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
@@ -193,7 +193,7 @@
it "should have the correct output" do
@search.mentions("twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -204,7 +204,7 @@
@search.mentions("twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
@@ -256,7 +256,7 @@
it "should have the correct output" do
@search.list("presidents", "twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -267,7 +267,7 @@
@search.list("presidents", "twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
@@ -347,7 +347,7 @@
it "should have the correct output" do
@search.retweets("twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -358,7 +358,7 @@
@search.retweets("twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
@@ -410,7 +410,7 @@
it "should have the correct output" do
@search.timeline("twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -421,7 +421,7 @@
@search.timeline("twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
@@ -473,7 +473,7 @@
it "should have the correct output" do
@search.user("sferik", "twitter")
$stdout.string.should =~ /@bartt/
- $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons\. Lot’s/
+ $stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
end
context "--csv" do
@@ -484,7 +484,7 @@
@search.user("sferik", "twitter")
$stdout.string.should == <<-eos
ID,Posted at,Screen name,Text
-194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -&gt; FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
+194546727670390784,2011-04-23 22:02:09 +0000,bartt,"@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come."
eos
end
end
View
1  t.gemspec
@@ -8,6 +8,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'fastercsv', '~> 1.5'
gem.add_dependency 'geokit', '~> 1.6'
gem.add_dependency 'highline', '~> 1.6'
+ gem.add_dependency 'htmlentities', '~> 4.3'
gem.add_dependency 'json', '~> 1.6'
gem.add_dependency 'oauth', '~> 0.4'
gem.add_dependency 'retryable', '~> 1.2'

1 comment on commit 8aa25f2

Please sign in to comment.
Something went wrong with that request. Please try again.