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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a0c467d188f6e1240e4e4cac683ff2bad025eaf
4
- data.tar.gz: 1c00e6cc2c9222098d2a2ef5b3be8bd22d400773
3
+ metadata.gz: 7875c77bb6bee074784fa8a242bdd62a0031818b
4
+ data.tar.gz: 532b0b7058945b0c1c315d177e0fe43cf1761d67
5
5
  SHA512:
6
- metadata.gz: 9c8ee7bbd73cd7c776377e00168671810fdbb451295e05b3f1dfcbf34e6771cb1936640e8189c791024666c5ddf407665096a64d4918b421cacef4ec8371c017
7
- data.tar.gz: 7dcc2d65c21a147d77a68a524f1be8d289ea45c80bd80047427ccc31fca122145f41241bb6d75db39d3fc65e13d258141d9e4f3ed59978bf64d9261691c4eb1e
6
+ metadata.gz: a5800a2006868e6b64933c8e5e7b3c1e95938e8306491db2ebaee9edff3dd304165f1101bbd8b407a6f24be160794bc6b608b0548849aeefc59d5529afe14473
7
+ data.tar.gz: a2881dae38b61adf233c8978dacc2728302e73352166d6781804edfc577d1e86cadf482ca9e3cdb64408dda471521d9f7a19fff1d83a4431f6cff64671238f7c
@@ -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.
@@ -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 'merch' then :merch
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}
@@ -1,5 +1,5 @@
1
1
  module Yt
2
2
  module Annotations
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
@@ -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', '~> 4.0'
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.1.0
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-12 00:00:00.000000000 Z
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: '4.0'
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: '4.0'
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.4.5.1
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.