youtuberb 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9723022ed2efe8846dce8650e21077bc2be1e888bb034596b87620ba1cbda433
4
- data.tar.gz: ed5ecf1b108bd4b9601e4ad93836dbe070dbc16fc60a1c1bca54d79c2d34f5df
3
+ metadata.gz: 5ad415df9db8764f52eb113801d854187d73b737fefb7fa9b3bb0335eb5de93d
4
+ data.tar.gz: 30dfe24653e307396757d023e89b414a6ee4ffd080985a2709e817cb4e5c9626
5
5
  SHA512:
6
- metadata.gz: 719d5673d88e53d3fd4220a28c4eb4da599127d008a2d0223913eb1fbab10b1ac748f33d88c90c6a16069a908dfc4fa9f156eb063f0bb1e182bba4785bc09de4
7
- data.tar.gz: 50c1bc722fcd3e0db8d008938aa96e0cd866818246fe94a040caa039a5d37238608771cd8271326a444a9f67ab642192cc5b660a8d8ca8da6dc93e964221c57a
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.0)
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.1.1)
10
+ base64 (0.2.0)
11
11
  dotenv (2.7.6)
12
- faraday (2.7.11)
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"]
@@ -1,3 +1,3 @@
1
1
  module YouTube
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-01 00:00:00.000000000 Z
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.4.10
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: []