jekyll-spotify 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spotify.rb +2 -2
- metadata +3 -11
- data/.gitignore +0 -6
- data/.rspec +0 -2
- data/CHANGELOG +0 -6
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -21
- data/README.md +0 -49
- data/jekyll-spotify.gemspec +0 -27
- data/lib/jekyll-spotify/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65bdb5e117c51657b35dddeb5c46ec99f18fcd96
|
4
|
+
data.tar.gz: 661ff7eccc2e6904cbca7fcd149d4760b88d0bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 106119ba3d5fe1077e064e65ecf8699d8a73e3ce3fcefbf2ccd8caf22f16839ac74782a6b0bb935543538f9874b86f41e423b7fcc56feed892e21e5330dd17ae
|
7
|
+
data.tar.gz: c513953205e27f3222253c15b5690890f5e756dde6529f55208d1f59c5a4db1aaba9515c6932e974271a247d9f645d311159a25884467bcdc625cea9186abcac
|
data/lib/spotify.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
#
|
10
10
|
#
|
11
11
|
# Output: <iframe src="https://embed.spotify.com/?uri=spotify%3Atrack%3A3fuNydG9kg2Y09i8Foqq0p"
|
12
|
-
# width="100%" height="300" frameborder="0" allowtransparency="true"></iframe>
|
12
|
+
# width="100%" height="300" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>
|
13
13
|
#
|
14
14
|
|
15
15
|
module Jekyll
|
@@ -29,7 +29,7 @@ module Jekyll
|
|
29
29
|
end
|
30
30
|
|
31
31
|
if @id
|
32
|
-
%(<iframe src=\"https://embed.spotify.com/?uri=#{@id}\" width=\"#{@width}\" height=\"#{@height}\" frameborder=\"0\" allowtransparency=\"true\"></iframe>)
|
32
|
+
%(<iframe src=\"https://embed.spotify.com/?uri=#{@id}\" width=\"#{@width}\" height=\"#{@height}\" frameborder=\"0\" allowtransparency=\"true\" allow=\"encrypted-media\"></iframe>)
|
33
33
|
else
|
34
34
|
%(Error input, expected syntax: {% spotify id [width] [height] %})
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-spotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MertcanGokgoz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -45,14 +45,6 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- ".gitignore"
|
49
|
-
- ".rspec"
|
50
|
-
- CHANGELOG
|
51
|
-
- Gemfile
|
52
|
-
- LICENSE.txt
|
53
|
-
- README.md
|
54
|
-
- jekyll-spotify.gemspec
|
55
|
-
- lib/jekyll-spotify/version.rb
|
56
48
|
- lib/spotify.rb
|
57
49
|
homepage: https://github.com/MertcanGokgoz/Jekyll-Spotify
|
58
50
|
licenses:
|
@@ -74,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
66
|
version: '0'
|
75
67
|
requirements: []
|
76
68
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.5.
|
69
|
+
rubygems_version: 2.5.2.3
|
78
70
|
signing_key:
|
79
71
|
specification_version: 4
|
80
72
|
summary: Jekyll-Spotify Easily output Spotify Embed Player
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/CHANGELOG
DELETED
data/Gemfile
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2016 MertcanGokgoz
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Jekyll Spotify [![Gem Version](https://badge.fury.io/rb/jekyll-spotify.svg)](https://badge.fury.io/rb/jekyll-spotify)
|
2
|
-
|
3
|
-
This Jekyll pluging provides a tag that takes Spotify URI and generates a html snippet to embed player your site.
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add gemfile
|
8
|
-
|
9
|
-
```
|
10
|
-
gem 'jekyll-spotify'
|
11
|
-
```
|
12
|
-
|
13
|
-
Execute
|
14
|
-
|
15
|
-
```
|
16
|
-
bundle
|
17
|
-
```
|
18
|
-
|
19
|
-
Alternative install the gem
|
20
|
-
|
21
|
-
```
|
22
|
-
gem install jekyll-spotify
|
23
|
-
```
|
24
|
-
|
25
|
-
and put this `_config.yml`
|
26
|
-
|
27
|
-
```
|
28
|
-
gems: [jekyll-spotify]
|
29
|
-
```
|
30
|
-
|
31
|
-
## Usage
|
32
|
-
|
33
|
-
```
|
34
|
-
{% spotify spotify:track:3fuNydG9kg2Y09i8Foqq0p %}
|
35
|
-
```
|
36
|
-
|
37
|
-
or
|
38
|
-
|
39
|
-
```
|
40
|
-
{% spotify spotify:track:3fuNydG9kg2Y09i8Foqq0p 200 300 %}
|
41
|
-
```
|
42
|
-
|
43
|
-
## Result
|
44
|
-
|
45
|
-
output the following code include page
|
46
|
-
|
47
|
-
```
|
48
|
-
<iframe src="https://embed.spotify.com/?uri=spotify%3Atrack%3A3fuNydG9kg2Y09i8Foqq0p" width="100%" height="300" frameborder="0" allowtransparency="true"></iframe>
|
49
|
-
```
|
data/jekyll-spotify.gemspec
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'jekyll-spotify/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "jekyll-spotify"
|
8
|
-
spec.version = Jekyll::Spotify::VERSION
|
9
|
-
spec.authors = ["MertcanGokgoz"]
|
10
|
-
spec.email = ["mertcan.gokgoz@gmail.com"]
|
11
|
-
spec.date = "2016-10-08"
|
12
|
-
spec.rubygems_version = "2.4.6"
|
13
|
-
spec.required_ruby_version = '>= 2.0.0'
|
14
|
-
|
15
|
-
spec.summary = %q{Jekyll-Spotify Easily output Spotify Embed Player}
|
16
|
-
spec.description = %q{Easily output Spotify Embed Player}
|
17
|
-
spec.homepage = "https://github.com/MertcanGokgoz/Jekyll-Spotify"
|
18
|
-
spec.license = "MIT"
|
19
|
-
|
20
|
-
spec.files = `git ls-files -z`.split("\x0")
|
21
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
|
-
spec.require_paths = ["lib"]
|
24
|
-
|
25
|
-
spec.add_dependency "jekyll", "~> 3.0"
|
26
|
-
spec.add_development_dependency "bundler", "~> 1.6"
|
27
|
-
end
|