jektify 1.0.1 → 1.0.2
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 +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +8 -2
- data/lib/jektify/main.rb +5 -3
- data/lib/jektify/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 416991ab3b4c9eebc45893840a4fc95d8a60dec8
|
4
|
+
data.tar.gz: a4f013a66c68da194afdd2140d5af18f220b6a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e08130d80f6a938b21590dab02c43242e60cdbfa87fbe13bb3dadacc6e94d88b5b0fc633e8dfa19a88ec46572840f5ab50a587fd12608b4394245f8ae58ffc0e
|
7
|
+
data.tar.gz: c087fdcc13fe1f02235a85c178b46190279e460d30b501c87c25ce56ceb55a62c97260ea11a0b91c7fda0f1797c9570f57af3b1b6def807d3afbe26fb1015943
|
data/CHANGELOG.md
CHANGED
@@ -3,9 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
-
## [1.0.0] - 2018-01-
|
6
|
+
## [1.0.0] - 2018-01-02
|
7
7
|
### Adding
|
8
8
|
- Adding NodeJS feature to minify Javascript file from Jektify.
|
9
9
|
The files were "gulpfile.babel.js" and "package.json".
|
10
10
|
- Spotify user redirect link.
|
11
11
|
- New added behavior options.
|
12
|
+
|
13
|
+
## [1.0.1] - 2018-01-02
|
14
|
+
### Change
|
15
|
+
- Error correction on link homepage in gemspec
|
16
|
+
|
17
|
+
## [1.0.2] -
|
18
|
+
### Change
|
19
|
+
- Fixing error in the last method "error_different_true_false" in the file "main.rb", from "using" to "enable".
|
data/README.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
[](https://beta.gemnasium.com/projects/github.com/jektify/jektify)
|
6
6
|
[](https://hakiri.io/github/jektify/jektify/master)
|
7
7
|
|
8
|
-
|
9
8
|
[Jektify](https://github.com/jektify/jektify) is beautiful and Customizable, much more appealing than a simple "iframe"!
|
10
9
|
|
11
10
|
[Jektify](https://github.com/jektify/jektify) is a jewel using to enter a theme for track entry, playlist, albums and artists of [Spotify](https://www.spotify.com), in [Jekyll](https://jekyllrb.com) templates.
|
@@ -50,7 +49,14 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
50
49
|
|
51
50
|
*Code*
|
52
51
|
|
53
|
-
The [Jektify](https://github.com/jektify/jektify) code is stored in the folder "`lib`". Every time you change the version, it has to be changed in the file "`lib/jektify/version.rb`" respecting the version hierarchy.
|
52
|
+
The [Jektify](https://github.com/jektify/jektify) code is stored in the folder "`lib`". Every time you change the version, it has to be changed in the file "`lib/jektify/version.rb`" respecting the version hierarchy. Files where the version should be changed:
|
53
|
+
|
54
|
+
* lib/jektify/version.rb
|
55
|
+
* bin/travis
|
56
|
+
* src/dev/page/Gemfile
|
57
|
+
* package.json
|
58
|
+
* gulpfile.babel.js
|
59
|
+
* cdn/v[VERSION]
|
54
60
|
|
55
61
|
*JavaScript*
|
56
62
|
|
data/lib/jektify/main.rb
CHANGED
@@ -28,13 +28,15 @@ module Jektify
|
|
28
28
|
@site = site
|
29
29
|
|
30
30
|
# It will only generate the Javascript file for the user, if the 'Toggle' feature is enabled in the file "_config.yml".
|
31
|
-
|
31
|
+
if APP_ROOT_CONFIG["enable"] == true
|
32
|
+
@site.static_files.concat static_files if APP_ROOT_CONFIG["toggle"].nil? || APP_ROOT_CONFIG["toggle"]["enable"] == true
|
33
|
+
end
|
32
34
|
ENGINE.copy_sass_manual(APP_ROOT_CONFIG)
|
33
35
|
end
|
34
36
|
|
35
37
|
# This method searches for folders and files in the assets root directory.
|
36
38
|
# After searching all files stores in an array and then copying to
|
37
|
-
# the folder "_site".
|
39
|
+
# the folder "_site".
|
38
40
|
def static_files
|
39
41
|
source = File.dirname(ENGINE.assets_path)
|
40
42
|
asset_files.map do |file|
|
@@ -108,7 +110,7 @@ module Jektify
|
|
108
110
|
|
109
111
|
ENGINE.error_different_true_false(APP_ROOT_CONFIG["description"]["enable"], "[x] Error: The property 'spotify => description => enable' in file '_config.yml' does not exist or its value is incorrect. Use: [ true | false ]") unless APP_ROOT_CONFIG["description"].nil?
|
110
112
|
|
111
|
-
ENGINE.error_different_true_false(APP_ROOT_CONFIG["toggle"]["enable"], "[x] Error: The property 'spotify => toggle =>
|
113
|
+
ENGINE.error_different_true_false(APP_ROOT_CONFIG["toggle"]["enable"], "[x] Error: The property 'spotify => toggle => enable' in file '_config.yml' does not exist or its value is incorrect. Use: [ true | false ]") unless APP_ROOT_CONFIG["toggle"].nil?
|
112
114
|
|
113
115
|
# If there are no errors starting the plugin
|
114
116
|
RENDER.rendering(APP_NAME, APP_ROOT_CONFIG, spotify_embed_category, spotify_embed_url, spotify_embed_theme)
|
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.2
|
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: 2018-02-
|
11
|
+
date: 2018-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.6.
|
142
|
+
rubygems_version: 2.6.14
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Jekyll plugin to generate HTML code fragments to incorporate music from Spotify
|