yt-annotations 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/yt/annotations/card.rb +1 -3
- data/lib/yt/annotations/version.rb +1 -1
- data/yt-annotations.gemspec +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7875c77bb6bee074784fa8a242bdd62a0031818b
|
4
|
+
data.tar.gz: 532b0b7058945b0c1c315d177e0fe43cf1761d67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5800a2006868e6b64933c8e5e7b3c1e95938e8306491db2ebaee9edff3dd304165f1101bbd8b407a6f24be160794bc6b608b0548849aeefc59d5529afe14473
|
7
|
+
data.tar.gz: a2881dae38b61adf233c8978dacc2728302e73352166d6781804edfc577d1e86cadf482ca9e3cdb64408dda471521d9f7a19fff1d83a4431f6cff64671238f7c
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ For more information about changelogs, check
|
|
6
6
|
[Keep a Changelog](http://keepachangelog.com) and
|
7
7
|
[Vandamme](http://tech-angels.github.io/vandamme).
|
8
8
|
|
9
|
+
## 1.2.0 - 2015.12.02
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Parse new 'simple' card type (which YouTube now uses instead of 'merch', 'fundraising', 'associated').
|
12
|
+
|
9
13
|
## 1.1.0 - 2015.11.12
|
10
14
|
|
11
|
-
* [FEATURE] Fetches annotations and cards of YouTube videos
|
15
|
+
* [FEATURE] Fetches annotations and cards of YouTube videos.
|
data/lib/yt/annotations/card.rb
CHANGED
@@ -30,9 +30,7 @@ module Yt
|
|
30
30
|
when 'collaborator' then :channel
|
31
31
|
when 'playlist' then :playlist
|
32
32
|
when 'video' then :video
|
33
|
-
when '
|
34
|
-
when 'fundraising' then :crowdfunding
|
35
|
-
when 'associated' then :website
|
33
|
+
when 'simple' then :website
|
36
34
|
end
|
37
35
|
|
38
36
|
{url: json['url'], new_window: true, type: link_type}
|
data/yt-annotations.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_dependency 'activesupport', '
|
25
|
+
spec.add_dependency 'activesupport', '>= 4', '< 6'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
28
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yt-annotations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- claudiob
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '6'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '6'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
151
|
version: '0'
|
146
152
|
requirements: []
|
147
153
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.5.0
|
149
155
|
signing_key:
|
150
156
|
specification_version: 4
|
151
157
|
summary: Fetch annotations and cards from YouTube videos.
|