oembed_proxy 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75394792451ecaedb91e46de8bdf8933572e2c6f2ec96add695f1f1e7cb2236b
4
- data.tar.gz: 2027e269564372596f6b5dca00a62a84b2621d8c61d55e10657c014f368ec1c5
3
+ metadata.gz: 66f790e0bc4b65451f19ed32319bee5881d48672ef1d2664b482fdd80ffc77a1
4
+ data.tar.gz: 92e677a4894a222e2769286e2c212bbfd3a5816b36ba61ec885e9141a2f6e974
5
5
  SHA512:
6
- metadata.gz: 0a6ce23edd163e6f0b3f4c573f6bade84c02af78feb067256b2b9b9cd6bdf4b5e5b89e69313005703c20663e6362d1ac4418d5469589946b0fa7b8810e2509a6
7
- data.tar.gz: 63fb649733b96cdc5e718d13b811f77dbceca30fddb1b68a6e5d113fff51d924ad6bc216725f8a7674fc710ce34338e5677b74299ebb4ba2d18073c7eb9ed2cc
6
+ metadata.gz: e198985a87daf021144331ae1e9b10757ddbbe5d16efd495b73e831804e09366f8c35ab4684e7283cea1e7bd3e95188a5f2c59a44b22a1a776ff5856f1663652
7
+ data.tar.gz: e66368f1a63a47ce54fcb35e30a14de6b7fd7744ed5a1625a0b7e0ca275ac85f2300b95d79105991797871fabc02edd3f85c60088b32e40ae3d9407c90fd6856
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # oEmbed Proxy Changelog
2
2
 
3
+ ## [`0.2.3`] (2020-02-03)
4
+
5
+ [`0.2.3`]: https://github.com/APMG/oembed_proxy/compare/v0.2.2...v0.2.3
6
+
7
+ * Move Facebook from Embed.ly to First Party.
8
+
9
+ ## [`0.2.2`] (2020-01-31)
10
+
11
+ [`0.2.2`]: https://github.com/APMG/oembed_proxy/compare/v0.2.0...v0.2.2
12
+
13
+ *Note: The 0.2.1 release had critical bugs and should not be used.*
14
+
15
+ * Add a new Fauxembed for NPR Sidechain embeds.
16
+
3
17
  ## [`0.2.0`] (2020-01-16)
4
18
 
5
19
  [`0.2.0`]: https://github.com/APMG/oembed_proxy/compare/v0.1.3...v0.2.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OembedProxy
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
@@ -600,13 +600,6 @@
600
600
  #\Ahttp://boston\.com/video.*#i
601
601
  #\Ahttp://www\.boston\.com/.*video.*#i
602
602
  #\Ahttp://boston\.com/.*video.*#i
603
- #\Ahttp://www\.facebook\.com/photo\.php.*#i
604
- #\Ahttp://www\.facebook\.com/video/video\.php.*#i
605
- #\Ahttp://www\.facebook\.com/v/.*#i
606
- #\Ahttps://www\.facebook\.com/photo\.php.*#i
607
- #\Ahttps://www\.facebook\.com/video/video\.php.*#i
608
- #\Ahttps://www\.facebook\.com/v/.*#i
609
- #\Ahttps://www\.facebook\.com/video.php\?v=.*#i
610
603
  #\Ahttp://cnbc\.com/id/.*\?.*video.*#i
611
604
  #\Ahttp://www\.cnbc\.com/id/.*\?.*video.*#i
612
605
  #\Ahttp://cnbc\.com/id/.*/play/1/video/.*#i
@@ -89,3 +89,14 @@ audio-api:
89
89
  documentcloud:
90
90
  endpoint: "https://www.documentcloud.org/api/oembed.json"
91
91
  pattern_list: ["#\\Ahttps?://www\\.documentcloud\\.org/documents?/.+#i"]
92
+
93
+
94
+ # Facebook oEmbed documentation: https://developers.facebook.com/docs/plugins/oembed-endpoints/
95
+
96
+ facebook-video:
97
+ endpoint: "https://www.facebook.com/plugins/video/oembed.json"
98
+ pattern_list: ["#https://www\\.facebook\\.com/.+/videos/.+/#i", "#https://www\\.facebook\\.com/.+/videos/.+/#i", "#https://www\\.facebook\\.com/video\\.php\\?id=.+#i", "#https://www\\.facebook\\.com/video\\.php\\?v=.+#i"]
99
+
100
+ facebook-post:
101
+ endpoint: "https://www.facebook.com/plugins/post/oembed.json"
102
+ pattern_list: ["#https://www\\.facebook\\.com/.+/posts/.+#i", "#https://www\\.facebook\\.com/.+/posts/.+#i", "#https://www\\.facebook\\.com/.+/activity/.+#i", "#https://www\\.facebook\\.com/photo\\.php\\?fbid=.+#i", "#https://www\\.facebook\\.com/photos/.+#i", "#https://www\\.facebook\\.com/permalink\\.php\\?story_fbid=.+#i", "#https://www\\.facebook\\.com/media/set\\?set=.+#i", "#https://www\\.facebook\\.com/questions/.+#i", "#https://www\\.facebook\\.com/notes/.+/.+/.+#i"]
data/oembed_proxy.gemspec CHANGED
@@ -7,8 +7,7 @@ require 'oembed_proxy/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'oembed_proxy'
9
9
  spec.version = OembedProxy::VERSION
10
- spec.authors = ['William Johnston']
11
- spec.email = ['wjohnston@mpr.org']
10
+ spec.authors = ['APM Digital Products Group']
12
11
 
13
12
  spec.summary = 'Simple library to manage first party, embedly, and custom oembeds'
14
13
  # spec.description = %q{TODO: Write a longer description or delete this line.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oembed_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
- - William Johnston
7
+ - APM Digital Products Group
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-31 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,8 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  description:
56
- email:
57
- - wjohnston@mpr.org
56
+ email:
58
57
  executables: []
59
58
  extensions: []
60
59
  extra_rdoc_files: []