youtuberb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/you_tube/objects/video.rb +1 -0
- data/lib/you_tube/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ad415df9db8764f52eb113801d854187d73b737fefb7fa9b3bb0335eb5de93d
|
4
|
+
data.tar.gz: 30dfe24653e307396757d023e89b414a6ee4ffd080985a2709e817cb4e5c9626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11e24c67431887e27a22bcb20c2d0dcd347f266247f634697916f23a4dcf9a193a820220d1598ef471ab91ab9d9ffd3e7776552e22500e564b8edd400f7774c7
|
7
|
+
data.tar.gz: f97e03dab51aadaa65f5ebf76b7416a4bf1f81b2b7416e3fa8d48e851f5162597a783e6ff1605d478583951b07ba3be6df38a5b8ed4f1f4c7eef45157c947faf
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
youtuberb (0.2.
|
4
|
+
youtuberb (0.2.1)
|
5
5
|
faraday (~> 2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
base64 (0.
|
10
|
+
base64 (0.2.0)
|
11
11
|
dotenv (2.7.6)
|
12
|
-
faraday (2.
|
12
|
+
faraday (2.8.1)
|
13
13
|
base64
|
14
14
|
faraday-net_http (>= 2.0, < 3.1)
|
15
15
|
ruby2_keywords (>= 0.0.4)
|
@@ -23,6 +23,7 @@ module YouTube
|
|
23
23
|
# Is a Video is blocked in any countries?
|
24
24
|
if options["contentDetails"]
|
25
25
|
self.blocked = !options["contentDetails"]["regionRestriction"].nil?
|
26
|
+
self.age_restricted = !options["contentDetails"]["contentRating"].nil? && options["contentDetails"]["contentRating"]["ytRating"] == "ytAgeRestricted"
|
26
27
|
end
|
27
28
|
|
28
29
|
if options["liveStreamingDetails"]
|
data/lib/you_tube/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youtuberb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dean Perry
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- dean@deanpcmad.com
|
30
30
|
executables: []
|
@@ -64,7 +64,7 @@ licenses:
|
|
64
64
|
metadata:
|
65
65
|
homepage_uri: https://deanpcmad.com
|
66
66
|
source_code_uri: https://github.com/deanpcmad/youtuberb
|
67
|
-
post_install_message:
|
67
|
+
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|
70
70
|
- lib
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
83
|
-
signing_key:
|
82
|
+
rubygems_version: 3.5.1
|
83
|
+
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: A Ruby library for interacting with the YouTube API
|
86
86
|
test_files: []
|