refactor twitter service to handle cards (fixes #3031)

This commit is contained in:
r888888888
2017-05-09 12:46:40 -07:00
parent 2b74fe669e
commit ff5586cb01
3 changed files with 97 additions and 27 deletions

View File

@@ -64,7 +64,7 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.0)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
arel (6.0.4)
awesome_print (1.7.0)
@@ -127,7 +127,7 @@ GEM
factory_girl (4.8.0)
activesupport (>= 3.0.0)
fakeweb (1.3.0)
faraday (0.9.2)
faraday (0.10.1)
multipart-post (>= 1.2, < 3)
ffaker (2.5.0)
ffi (1.9.10-x64-mingw32)
@@ -155,10 +155,14 @@ GEM
signet (~> 0.7)
highline (1.7.8)
hike (1.2.3)
http (0.6.4)
http (2.2.2)
addressable (~> 2.3)
http-cookie (~> 1.0)
http-form_data (~> 1.0.1)
http_parser.rb (~> 0.6.0)
http-cookie (1.0.2)
domain_name (~> 0.5)
http-form_data (1.0.2)
http_parser.rb (0.6.0)
httpclient (2.8.0)
hurley (0.2)
@@ -200,7 +204,7 @@ GEM
multi_json (1.12.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
naught (1.0.0)
naught (1.1.0)
net-http-digest_auth (1.4.1)
net-http-persistent (2.9.4)
net-scp (1.2.1)
@@ -341,17 +345,16 @@ GEM
tilt (1.4.1)
timecop (0.8.1)
tins (1.6.0)
twitter (5.14.0)
addressable (~> 2.3)
twitter (6.0.0)
addressable (~> 2.5)
buftok (~> 0.2.0)
equalizer (~> 0.0.9)
faraday (~> 0.9.0)
http (~> 0.6.0)
equalizer (= 0.0.11)
faraday (~> 0.10.0)
http (~> 2.1)
http_parser.rb (~> 0.6.0)
json (~> 1.8)
memoizable (~> 0.4.0)
naught (~> 1.0)
simple_oauth (~> 0.3.0)
memoizable (~> 0.4.2)
naught (~> 1.1)
simple_oauth (~> 0.3.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
tzinfo-data (1.2015.6)