Skip to content

Commit

Permalink
Update gems, .ruby-version and tweak Facebook code.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdvdijk committed Jul 2, 2016
1 parent 955aa59 commit 7ef1bbd
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-1.9.3-p392
ruby-2.3.1
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ source 'http://rubygems.org'

gem "twitter"
gem "yajl-ruby"
gem "fb_graph"
gem "httpclient", ">= 2.4.0"
gem "fb_graph2"
gem "httpclient"
94 changes: 66 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,42 +1,80 @@
GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
attr_required (0.0.5)
faraday (0.8.7)
multipart-post (~> 1.1)
fb_graph (2.6.6)
httpclient (>= 2.2.0.2)
multi_json (>= 1.3)
rack-oauth2 (>= 0.14.4)
tzinfo
httpclient (2.4.0)
i18n (0.6.4)
multi_json (1.7.2)
multipart-post (1.2.0)
rack (1.5.2)
rack-oauth2 (1.0.3)
activesupport (5.0.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.4.0)
attr_required (1.0.1)
buftok (0.2.0)
concurrent-ruby (1.0.2)
domain_name (0.5.20160615)
unf (>= 0.0.5, < 1.0.0)
equalizer (0.0.10)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
fb_graph2 (0.7.7)
activesupport (>= 3.2)
httpclient (>= 2.4)
multi_json
rack-oauth2 (>= 1.1)
url_safe_base64
http (1.0.4)
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.1)
http_parser.rb (0.6.0)
httpclient (2.8.0)
i18n (0.7.0)
json (1.8.3)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
minitest (5.9.0)
multi_json (1.12.1)
multipart-post (2.0.0)
naught (1.1.0)
rack (2.0.1)
rack-oauth2 (1.3.1)
activesupport (>= 2.3)
attr_required (>= 0.0.5)
httpclient (>= 2.2.0.2)
i18n
httpclient (>= 2.4)
multi_json (>= 1.3.6)
rack (>= 1.1)
simple_oauth (0.2.0)
twitter (4.6.2)
faraday (~> 0.8, < 0.10)
multi_json (~> 1.0)
simple_oauth (~> 0.2)
tzinfo (0.3.37)
yajl-ruby (1.1.0)
simple_oauth (0.3.1)
thread_safe (0.3.5)
twitter (5.16.0)
addressable (~> 2.3)
buftok (~> 0.2.0)
equalizer (= 0.0.10)
faraday (~> 0.9.0)
http (~> 1.0)
http_parser.rb (~> 0.6.0)
json (~> 1.8)
memoizable (~> 0.4.0)
naught (~> 1.0)
simple_oauth (~> 0.3.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
url_safe_base64 (0.2.2)
yajl-ruby (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
fb_graph
httpclient (>= 2.4.0)
fb_graph2
httpclient
twitter
yajl-ruby

BUNDLED WITH
1.12.5
2 changes: 1 addition & 1 deletion lib/quotes/tweeter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def setup_twitter(settings)

# see README
def setup_facebook(settings)
@facebook = FbGraph::User.me(settings["access_token"])
@facebook = FbGraph2::User.me(settings["access_token"])
end

end
Expand Down

0 comments on commit 7ef1bbd

Please sign in to comment.