video_info 4.1.0 → 4.2.0

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: b389a80be182106eeba217bf53d64801d78c9e95110e39c136d53af11dd813fe
4
- data.tar.gz: 6dc99daeaafd264ef991232c85fa5bc6b4c3713d8ef83895e48bc6f27a461d61
3
+ metadata.gz: c8147a3698a183d13edcbf0a4bb084741c99b6c64f69d562ce441f7e116a8d8d
4
+ data.tar.gz: 2b52569e7059929c4c64816f5f204bdd74fd669b775558dc76a8ef8dca693bb1
5
5
  SHA512:
6
- metadata.gz: 91095899474824019cc2fa55f128fd20c3fe288aa558de950abc2ea39f2546cdfb68597992e1abad1f6294ea9deb49c190ce8676bcb036cbb2d82ee6177082d6
7
- data.tar.gz: d0a09d7f75591250157f8d4c2e9996a7072db3f41bf1fed92adf8235066c535147f7c1d4f0b5451aec16673c33635577e2bfb0d5c29cf5a901bcabb51b0abcd7
6
+ metadata.gz: bda11c5fc3854079bfe460e3a161dbba6cdd47219004b9a03f05a60448633f81e8712480e933d3812294e52dee5eedb89c44376b2872663853eea8764e9bfda4
7
+ data.tar.gz: 274803d8d83b50659cdae0b6b7f59abf7c20595d07ddedc3627298a8f7b01b0a45bd72f5bfbc7d3b58d25831c9fea408d1eccc5ce7ba0d726badf30ddbcfc1d8
@@ -20,7 +20,7 @@ jobs:
20
20
  strategy:
21
21
  fail-fast: false
22
22
  matrix:
23
- ruby: ['2.7', '3.0', '3.1', '3.2', 'head']
23
+ ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
24
24
  steps:
25
25
  - uses: actions/checkout@v3
26
26
  - uses: ruby/setup-ruby@v1
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
+
5
+ # Temporal Ruby 3.4 support, see more: https://github.com/vcr/vcr/pull/1003
6
+ gem 'base64'
data/README.md CHANGED
@@ -6,9 +6,12 @@
6
6
  [![Test Coverage](https://api.codeclimate.com/v1/badges/1f03474bdb81e735002c/test_coverage)](https://codeclimate.com/github/thibaudgg/video_info/test_coverage)
7
7
  [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
8
8
 
9
- Simple Ruby Gem to get video info from Dailymotion, Vimeo, Wistia and YouTube (with playlist).
9
+ Simple Ruby Gem to get video information from different providers. Supported providers:
10
10
 
11
- Tested against Ruby 2.7, 3.0, 3.1 and 3.2.
11
+ - YouTube (with playlists)
12
+ - Vimeo
13
+ - Dailymotion
14
+ - Wistia
12
15
 
13
16
  ## Features
14
17
 
@@ -204,4 +207,4 @@ Please read [the contributing guidelines](CONTRIBUTING.md).
204
207
 
205
208
  ### Contributors
206
209
 
207
- [https://github.com/thibaudgg/video_info/graphs/contributors](https://github.com/thibaudgg/video_info/graphs/contributors)
210
+ Thanks to [all contributors](https://github.com/thibaudgg/video_info/graphs/contributors)!
@@ -54,7 +54,7 @@ class VideoInfo
54
54
  private
55
55
 
56
56
  def _url_regex
57
- %r{(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|
57
+ %r{(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?|live|shorts)/|
58
58
  .*[?&]v=)|youtu\.be/)([^"&?/ ]{11})}x
59
59
  end
60
60
 
@@ -1,3 +1,3 @@
1
1
  class VideoInfo
2
- VERSION = "4.1.0".freeze
2
+ VERSION = "4.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-30 00:00:00.000000000 Z
11
+ date: 2024-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso8601