jektify 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/README.md +7 -2
- data/lib/jektify/main.rb +8 -2
- data/lib/jektify/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e427c70129721d0ee23091e5d501820f525e506f770a0839679a4d5c22d24822
|
4
|
+
data.tar.gz: 60fcf344b96433d2d4ae10fd053b032fbe517f55260dcd0dd239d7737d63888b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 462b92aa20b607af28e5c6119ad151ed1b0d94a6d7ada54a74e27fb1a978ee8ec52f355f4ff99cead5d8b5409b15bcb72074a875b518e2e6866854fb0e839cd6
|
7
|
+
data.tar.gz: 6d0805bb8ae299946d32421686280ce027eda01a9db8f3e5732bb80a20c079269c4a124247716d810e003ad23b31c69924a6d94007c04c03785f331da8329f18
|
data/.github/workflows/ruby.yml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Jektify
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/jektify.svg)](https://badge.fury.io/rb/jektify)
|
4
|
+
[![Ruby](https://github.com/jektify/jektify/actions/workflows/ruby.yml/badge.svg)](https://github.com/jektify/jektify/actions/workflows/ruby.yml)
|
4
5
|
[![Build Status](https://travis-ci.org/jektify/jektify.svg?branch=master)](https://travis-ci.org/jektify/jektify)
|
5
6
|
[![security](https://hakiri.io/github/jektify/jektify/master.svg)](https://hakiri.io/github/jektify/jektify/master)
|
6
7
|
|
@@ -105,9 +106,13 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/jektif
|
|
105
106
|
|
106
107
|
## Donation
|
107
108
|
|
108
|
-
|
109
|
+
Click on the image below to be redirected the donation forms:
|
109
110
|
|
110
|
-
|
111
|
+
<div class="donate">
|
112
|
+
<a href="https://github.com/williamcanin/donations/blob/master/README.md">
|
113
|
+
<img width="160" height="100" src="https://raw.githubusercontent.com/williamcanin/donations/master/svg/donate/donate-hand.svg" alt="Donations"
|
114
|
+
</a>
|
115
|
+
</div>
|
111
116
|
|
112
117
|
## License
|
113
118
|
|
data/lib/jektify/main.rb
CHANGED
@@ -96,8 +96,14 @@ module Jektify
|
|
96
96
|
|
97
97
|
# Customizing Url Spotify
|
98
98
|
# E.g: { % spotify [user]/[type]/[id]/[theme] % }
|
99
|
-
spotify_embed_url = "https://embed.spotify.com/?uri=spotify:#{spotify_embed_category}:#{spotify_id}&theme=#{spotify_embed_theme}"
|
100
|
-
spotify_embed_url = "https://embed.spotify.com/?uri=spotify:user:#{spotify_user}:#{spotify_embed_category}:#{spotify_id}&theme=#{spotify_embed_theme}" unless spotify_embed_category != "playlist"
|
99
|
+
# spotify_embed_url = "https://embed.spotify.com/?uri=spotify:#{spotify_embed_category}:#{spotify_id}&theme=#{spotify_embed_theme}"
|
100
|
+
# spotify_embed_url = "https://embed.spotify.com/?uri=spotify:user:#{spotify_user}:#{spotify_embed_category}:#{spotify_id}&theme=#{spotify_embed_theme}" unless spotify_embed_category != "playlist"
|
101
|
+
|
102
|
+
# Player color based on box theme.
|
103
|
+
spotify_embed_theme == "dark" ? player_color = "0" : player_color = "1"
|
104
|
+
|
105
|
+
# Spotify Open URL Base (Web Player)
|
106
|
+
spotify_embed_url = "https://open.spotify.com/embed/#{spotify_embed_category}/#{spotify_id}?theme=#{player_color}"
|
101
107
|
|
102
108
|
|
103
109
|
# Checks a series of error values in the settings of Jektify in _config.yml
|
data/lib/jektify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jektify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William C. Canin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.2.
|
147
|
+
rubygems_version: 3.2.18
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Jekyll plugin to generate HTML code fragments to incorporate music from Spotify
|