ruby-oembed 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/CHANGELOG.rdoc +7 -4
- data/README.md +3 -5
- data/lib/oembed/providers/aggregators/embedly_urls.yml +6 -167
- data/lib/oembed/providers/builtin_providers.rb +6 -1
- data/lib/oembed/providers/tiktok.rb +13 -0
- data/lib/oembed/version.rb +1 -1
- data/ruby-oembed.gemspec +1 -2
- metadata +8 -76
- data/integration_test/test.rb +0 -31
- data/integration_test/test_urls.csv +0 -502
- data/lib/oembed/providers/tik_tok.rb +0 -11
- data/spec/cassettes/OEmbed_Provider.yml +0 -1088
- data/spec/cassettes/OEmbed_ProviderDiscovery.yml +0 -27184
- data/spec/cassettes/OEmbed_Providers_CodePen.yml +0 -177
- data/spec/cassettes/OEmbed_Providers_FacebookPost.yml +0 -539
- data/spec/cassettes/OEmbed_Providers_FacebookVideo.yml +0 -267
- data/spec/cassettes/OEmbed_Providers_Instagram.yml +0 -1473
- data/spec/cassettes/OEmbed_Providers_Slideshare.yml +0 -1019
- data/spec/cassettes/OEmbed_Providers_TikTok.yml +0 -293
- data/spec/cassettes/OEmbed_Providers_Twitter.yml +0 -339
- data/spec/cassettes/OEmbed_Providers_Youtube.yml +0 -373
- data/spec/formatter/ducktype_backend_spec.rb +0 -94
- data/spec/formatter/json/.DS_Store +0 -0
- data/spec/formatter/json/jsongem_backend_spec.rb +0 -71
- data/spec/formatter/json/yaml_backend_spec.rb +0 -55
- data/spec/formatter/xml/nokogiri_backend_spec.rb +0 -59
- data/spec/formatter/xml/rexml_backend_spec.rb +0 -55
- data/spec/formatter/xml/xmlsimple_backend_spec.rb +0 -59
- data/spec/formatter_spec.rb +0 -37
- data/spec/provider_discovery_spec.rb +0 -141
- data/spec/provider_spec.rb +0 -543
- data/spec/providers/code_pen_spec.rb +0 -21
- data/spec/providers/facebook_post_spec.rb +0 -54
- data/spec/providers/facebook_video_spec.rb +0 -48
- data/spec/providers/instagram_spec.rb +0 -48
- data/spec/providers/slideshare_spec.rb +0 -35
- data/spec/providers/tik_tok_spec.rb +0 -26
- data/spec/providers/twitter_spec.rb +0 -37
- data/spec/providers/youtube_spec.rb +0 -36
- data/spec/providers_spec.rb +0 -441
- data/spec/response_spec.rb +0 -230
- data/spec/spec_helper.rb +0 -129
- data/spec/spec_helper_examples.yml +0 -27
- data/spec/support/shared_examples_for_providers.rb +0 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eeb96fbccad7fd520db58a1a89c977249ec15af8318b1a40800e2467a3c2e341
|
4
|
+
data.tar.gz: 80ac3291c0193e290ddae08a434bcefa40d94767a2f3db3986c83554f6ff05b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06bd338f7b9f3d33e0cb865e9c605cd38393d4324d5191d1654089862a0f5fc81c7cb54c14557fc5c1f842ffdd935b8e463368af40ce6532bddd4cc56dd6ecef
|
7
|
+
data.tar.gz: 529bc64612cb52c8950e0fa93d4ab3afc6a13b2c1ca2cf31b2b69d41a0ed7f7244695f1f2d2dc8577c8614d769893ce748dd504f260d6d081dabd5a1c8a3d639
|
data/.travis.yml
CHANGED
data/CHANGELOG.rdoc
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
= CHANGELOG
|
2
2
|
|
3
|
-
== Unreleased (0.
|
3
|
+
== Unreleased (0.16.1)
|
4
|
+
|
5
|
+
== 0.16.0 - 8 January 2022
|
6
|
+
|
7
|
+
* Add a built-in TikTok provider.
|
8
|
+
* Reduce gem size by excluding test files; Pull #81 (fauno)
|
4
9
|
|
5
10
|
== 0.15.0 - 1 January 2021
|
6
11
|
|
7
12
|
* *DEPRECATION* When creating an `OEmbed::Provider` instance, specifying the format via positional argument is now deprecated. Please use a named argument instead: `OEmbed::Provider.new(@endpoint_url, format: :json)`
|
8
13
|
* *DEPRECATION* Do not use the `new` method for `Instagram`, `FacebookPost`, or `FacebookVideo` providers to set your access token. Instead either use the `OEMBED_FACEBOOK_TOKEN` environment variable or call `Instagram.access_token = @your_token`.
|
9
|
-
* Add built-in TikTok provider (Happy 2021)!
|
10
|
-
* Add support for Instgram Reels URLs to the built-in OEmbed::Providers::Instagram.
|
11
|
-
* Updated the list of {Embedly}[https://embed.ly/] and {Noembed}[https://noembed.com/] URL schemes.
|
12
14
|
* Fix Issue #77: Built-in Instagram & Facebook providers are now instances again.
|
13
15
|
* Add support for `OEmbed::Provider` instances with `required_query_params` (like access tokens), where the provider will fail to answer until it is fully configured.
|
16
|
+
* Add support for Instgram Reels URLs to the built-in OEmbed::Providers::Instagram.
|
14
17
|
* Support focused rspec tests for local development (e.g. "fcontext" or "fit")
|
15
18
|
* Fix a few typos in documentation & tests; Pull #76 (Inge Jørgensen)
|
16
19
|
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# ruby-oembed
|
2
2
|
|
3
3
|
[![Gem](https://img.shields.io/gem/v/ruby-oembed.svg)](https://rubygems.org/gems/ruby-oembed)
|
4
|
-
[![Travis
|
4
|
+
[![Travis CI](https://img.shields.io/travis/com/ruby-oembed/ruby-oembed.svg)](https://app.travis-ci.com/github/ruby-oembed/ruby-oembed)
|
5
5
|
[![Code Climate](https://img.shields.io/codeclimate/maintainability/ruby-oembed/ruby-oembed.svg)](https://codeclimate.com/github/ruby-oembed/ruby-oembed)
|
6
6
|
[![Coveralls](https://coveralls.io/repos/github/ruby-oembed/ruby-oembed/badge.svg?branch=coveralls)](https://coveralls.io/github/ruby-oembed/ruby-oembed?branch=coveralls)
|
7
|
-
![Maintenance](https://img.shields.io/maintenance/yes/
|
7
|
+
![Maintenance](https://img.shields.io/maintenance/yes/2022.svg)
|
8
8
|
|
9
9
|
|
10
10
|
An oEmbed consumer library written in Ruby, letting you easily get embeddable HTML representations of supported web pages, based on their URLs. See [oembed.com](http://oembed.com) for more about the protocol.
|
@@ -106,8 +106,6 @@ The following, optional, backends are currently supported:
|
|
106
106
|
|
107
107
|
# Lend a Hand
|
108
108
|
|
109
|
-
**Note:** Work is under way on a v1.0 of ruby-oembed. If you'd like to contribute, take a look at [the rubocop branch!](https://github.com/ruby-oembed/ruby-oembed/tree/rubocop)
|
110
|
-
|
111
109
|
Code for the ruby-oembed library is [hosted on GitHub](https://github.com/ruby-oembed/ruby-oembed).
|
112
110
|
|
113
111
|
```bash
|
@@ -127,7 +125,7 @@ If you encounter any bug, feel free to [create an Issue](https://github.com/ruby
|
|
127
125
|
|
128
126
|
We gladly accept pull requests! Just [fork](http://help.github.com/forking/) the library and commit your changes along with relevant tests. Once you're happy with the changes, [send a pull request](http://help.github.com/pull-requests/).
|
129
127
|
|
130
|
-
We do our best to [keep our tests green](
|
128
|
+
We do our best to [keep our tests green](https://app.travis-ci.com/github/ruby-oembed/ruby-oembed)
|
131
129
|
|
132
130
|
# Contributors
|
133
131
|
|