Skip to content

Commit

Permalink
Bump open_graph_reader
Browse files Browse the repository at this point in the history
It now returns the origin for a missing og:url
  • Loading branch information
jhass authored and denschub committed May 4, 2015
1 parent a30e34b commit f1c75e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Expand Up @@ -26,6 +26,7 @@
* Submit messages in conversations with Ctrl+Enter [#5910](https://github.com/diaspora/diaspora/pull/5910)
* Support syntax highlighting for fenced code blocks [#5908](https://github.com/diaspora/diaspora/pull/5908)
* Added link to diasporafoundation.org to invitation email [#5893](https://github.com/diaspora/diaspora/pull/5893)
* Gracefully handle missing `og:url`s [#5926](https://github.com/diaspora/diaspora/pull/5926)

# 0.5.0.0

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -130,7 +130,7 @@ gem "redcarpet", "3.2.3"
gem "twitter-text", "1.11.0"
gem "roxml", "3.1.6"
gem "ruby-oembed", "0.8.14"
gem "open_graph_reader", "0.5.0"
gem "open_graph_reader", "0.6.0"

# Services

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -437,7 +437,7 @@ GEM
omniauth-oauth (~> 1.0)
omniauth-wordpress (0.2.1)
omniauth-oauth2 (~> 1.1.0)
open_graph_reader (0.5.0)
open_graph_reader (0.6.0)
faraday (~> 0.9.0)
nokogiri (~> 1.6)
orm_adapter (0.5.0)
Expand Down Expand Up @@ -763,7 +763,7 @@ DEPENDENCIES
omniauth-tumblr (= 1.1)
omniauth-twitter (= 1.0.1)
omniauth-wordpress (= 0.2.1)
open_graph_reader (= 0.5.0)
open_graph_reader (= 0.6.0)
pry
pry-byebug
pry-debundle
Expand Down
1 change: 1 addition & 0 deletions config/initializers/open_graph_reader.rb
@@ -1,6 +1,7 @@
OpenGraphReader.configure do |config|
config.synthesize_title = true
config.synthesize_url = true
config.synthesize_full_url = true
config.synthesize_image_url = true
config.guess_datetime_format = true
end

0 comments on commit f1c75e6

Please sign in to comment.