jekyll-favicon 0.2.9 → 1.0.0.pre.1
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/.devcontainer/Dockerfile +20 -0
- data/.devcontainer/devcontainer.json +35 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +4 -4
- data/.github/workflows/gem-push.yml +3 -3
- data/.github/workflows/test.yml +38 -0
- data/.gitignore +5 -0
- data/CHANGELOG.md +21 -0
- data/Gemfile +2 -0
- data/README.md +74 -24
- data/Rakefile +9 -7
- data/bin/console +1 -0
- data/config/jekyll/favicon.yml +115 -0
- data/config/jekyll/favicon/static_file.yml +3 -0
- data/config/jekyll/favicon/static_file/convertible.yml +42 -0
- data/config/jekyll/favicon/static_file/mutable.yml +22 -0
- data/config/jekyll/favicon/static_file/referenceable.yml +15 -0
- data/config/jekyll/favicon/static_file/sourceable.yml +3 -0
- data/config/jekyll/favicon/static_file/taggable.yml +22 -0
- data/gemfiles/jekyll36.gemfile +6 -0
- data/gemfiles/jekyll37.gemfile +6 -0
- data/gemfiles/jekyll38.gemfile +6 -0
- data/gemfiles/jekyll39.gemfile +6 -0
- data/gemfiles/jekyll40.gemfile +6 -0
- data/gemfiles/jekyll41.gemfile +6 -0
- data/gemfiles/jekyll42.gemfile +6 -0
- data/jekyll-favicon.gemspec +8 -8
- data/lib/jekyll-favicon.rb +7 -14
- data/lib/jekyll/favicon.rb +19 -13
- data/lib/jekyll/favicon/configuration.rb +73 -0
- data/lib/jekyll/favicon/configuration/defaults.rb +49 -0
- data/lib/jekyll/favicon/generator.rb +11 -84
- data/lib/jekyll/favicon/hooks.rb +12 -10
- data/lib/jekyll/favicon/static_data_file.rb +17 -0
- data/lib/jekyll/favicon/static_file.rb +97 -0
- data/lib/jekyll/favicon/static_file/convertible.rb +118 -0
- data/lib/jekyll/favicon/static_file/mutable.rb +81 -0
- data/lib/jekyll/favicon/static_file/referenceable.rb +22 -0
- data/lib/jekyll/favicon/static_file/sourceable.rb +73 -0
- data/lib/jekyll/favicon/static_file/taggable.rb +59 -0
- data/lib/jekyll/favicon/static_graphic_file.rb +21 -0
- data/lib/jekyll/favicon/tag.rb +14 -16
- data/lib/jekyll/favicon/utils.rb +24 -0
- data/lib/jekyll/favicon/utils/configuration/compact.rb +61 -0
- data/lib/jekyll/favicon/utils/configuration/merge.rb +63 -0
- data/lib/jekyll/favicon/utils/configuration/patch.rb +48 -0
- data/lib/jekyll/favicon/utils/convert.rb +42 -0
- data/lib/jekyll/favicon/utils/tag.rb +54 -0
- data/lib/jekyll/favicon/version.rb +3 -1
- metadata +71 -73
- data/.rubocop.yml +0 -5
- data/.ruby-version +0 -1
- data/.travis.yml +0 -21
- data/Gemfile.lock +0 -97
- data/lib/browserconfig.rb +0 -54
- data/lib/hash.rb +0 -12
- data/lib/image.rb +0 -33
- data/lib/jekyll/favicon/config/defaults.yml +0 -55
- data/lib/jekyll/favicon/icon.rb +0 -73
- data/lib/jekyll/favicon/metadata.rb +0 -12
- data/lib/jekyll/favicon/templates/chrome.html.erb +0 -6
- data/lib/jekyll/favicon/templates/classic.html.erb +0 -8
- data/lib/jekyll/favicon/templates/ie.html.erb +0 -4
- data/lib/jekyll/favicon/templates/safari.html.erb +0 -8
- data/lib/string.rb +0 -14
- data/lib/webmanifest.rb +0 -30
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'jekyll/favicon/static_file'
|
4
|
+
require 'jekyll/favicon/static_file/convertible'
|
5
|
+
|
6
|
+
module Jekyll
|
7
|
+
module Favicon
|
8
|
+
# Favicon::StaticFile subclass
|
9
|
+
class StaticGraphicFile < StaticFile
|
10
|
+
include StaticFile::Convertible
|
11
|
+
|
12
|
+
def generable?
|
13
|
+
convertible? && super
|
14
|
+
end
|
15
|
+
|
16
|
+
def patch(configuration)
|
17
|
+
convertible_patch super(configuration)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/jekyll/favicon/tag.rb
CHANGED
@@ -1,23 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'liquid'
|
4
|
+
require 'jekyll/favicon/static_file'
|
5
|
+
|
1
6
|
module Jekyll
|
2
7
|
module Favicon
|
3
|
-
# New `favicon` tag
|
8
|
+
# New `favicon` tag include html tags on templates
|
4
9
|
class Tag < Liquid::Tag
|
5
|
-
|
6
|
-
super
|
7
|
-
@text = text
|
8
|
-
end
|
9
|
-
|
10
|
+
# :reek:UtilityFunction
|
10
11
|
def render(context)
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
foot = '<!-- End Jekyll Favicon tag -->'
|
20
|
-
[head, body.join("\n"), foot].join("\n")
|
12
|
+
context.registers[:site]
|
13
|
+
.static_files
|
14
|
+
.select { |static_file| static_file.is_a? StaticFile }
|
15
|
+
.select(&:taggable?)
|
16
|
+
.collect(&:tags)
|
17
|
+
.flatten
|
18
|
+
.join("\n")
|
21
19
|
end
|
22
20
|
end
|
23
21
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'jekyll/favicon/utils/configuration/compact'
|
4
|
+
require 'jekyll/favicon/utils/configuration/merge'
|
5
|
+
require 'jekyll/favicon/utils/configuration/patch'
|
6
|
+
require 'jekyll/favicon/utils/convert'
|
7
|
+
require 'jekyll/favicon/utils/tag'
|
8
|
+
|
9
|
+
module Jekyll
|
10
|
+
module Favicon
|
11
|
+
# Favicon utils functions
|
12
|
+
module Utils
|
13
|
+
include Configuration::Compact
|
14
|
+
include Configuration::Merge
|
15
|
+
include Configuration::Patch
|
16
|
+
include Convert
|
17
|
+
include Tag
|
18
|
+
|
19
|
+
def self.except(hash, *keys)
|
20
|
+
hash.reject { |key, _| keys.include? key }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Favicon
|
5
|
+
module Utils
|
6
|
+
module Configuration
|
7
|
+
# Favicon configuration compact logic
|
8
|
+
module Compact
|
9
|
+
def self.included(klass)
|
10
|
+
klass.extend(ClassMethods)
|
11
|
+
end
|
12
|
+
|
13
|
+
# Nil and empty remove from configurations
|
14
|
+
module ClassMethods
|
15
|
+
def compact(compactable)
|
16
|
+
case compactable
|
17
|
+
when Hash, Array
|
18
|
+
compact_deep(compactable) || compactable.class[]
|
19
|
+
else
|
20
|
+
compactable
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def compact_deep(compactable)
|
27
|
+
case compactable
|
28
|
+
when Hash then compact_hash compactable
|
29
|
+
when Array then compact_array compactable
|
30
|
+
else compactable
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def compact_hash(hash)
|
35
|
+
compacted_hash = hash.each_with_object({}) do |(key, value), memo|
|
36
|
+
next unless (compacted = compact_deep(value))
|
37
|
+
|
38
|
+
memo[key] = compacted
|
39
|
+
end
|
40
|
+
compact_shallow compacted_hash
|
41
|
+
end
|
42
|
+
|
43
|
+
def compact_array(array)
|
44
|
+
compacted_array = array.each_with_object([]) do |value, memo|
|
45
|
+
next unless (compacted = compact_deep(value))
|
46
|
+
|
47
|
+
memo << compacted
|
48
|
+
end
|
49
|
+
compact_shallow compacted_array
|
50
|
+
end
|
51
|
+
|
52
|
+
# :reek:UtilityFunction
|
53
|
+
def compact_shallow(compactable)
|
54
|
+
compactable.empty? ? nil : compactable.compact
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Favicon
|
5
|
+
module Utils
|
6
|
+
module Configuration
|
7
|
+
# Favicon configuration merge logic
|
8
|
+
module Merge
|
9
|
+
def self.included(klass)
|
10
|
+
klass.extend(ClassMethods)
|
11
|
+
end
|
12
|
+
|
13
|
+
# Merge configurations
|
14
|
+
module ClassMethods
|
15
|
+
def merge(left = nil, *right_and_or_rest)
|
16
|
+
return left if right_and_or_rest.empty?
|
17
|
+
|
18
|
+
right, *rest = right_and_or_rest
|
19
|
+
merged = merge_pair left, right
|
20
|
+
return merged if rest.empty?
|
21
|
+
|
22
|
+
merge(merged, *rest)
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def merge_pair(left, right)
|
28
|
+
return right if !left || !right || !left.instance_of?(right.class)
|
29
|
+
|
30
|
+
case right
|
31
|
+
when Hash then merge_pair_hash left, right
|
32
|
+
when Array then merge_pair_array left, right
|
33
|
+
else right
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def merge_pair_hash(left_hash, right_hash)
|
38
|
+
left_hash.merge(right_hash) do |_, left_value, right_value|
|
39
|
+
merge left_value, right_value
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def merge_pair_array(left_array, right_array)
|
44
|
+
joint_array = left_array + right_array
|
45
|
+
joint_array.group_by { |map| merge_group map }
|
46
|
+
.collect { |group, values| merge_collect group, values }
|
47
|
+
.flatten
|
48
|
+
end
|
49
|
+
|
50
|
+
# :reek:UtilityFunction
|
51
|
+
def merge_group(map, keys = %w[name dir])
|
52
|
+
map.is_a?(Hash) ? map.values_at(*keys) : []
|
53
|
+
end
|
54
|
+
|
55
|
+
def merge_collect(group, values)
|
56
|
+
group.first ? merge(*values) : values
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Favicon
|
5
|
+
module Utils
|
6
|
+
module Configuration
|
7
|
+
# Favicon configuration patch logic
|
8
|
+
module Patch
|
9
|
+
def self.included(klass)
|
10
|
+
klass.extend(ClassMethods)
|
11
|
+
end
|
12
|
+
|
13
|
+
# Patch configuration with the block provided
|
14
|
+
module ClassMethods
|
15
|
+
def patch(value_or_values, &block)
|
16
|
+
patch_method = case value_or_values
|
17
|
+
when Array then :patch_array
|
18
|
+
when Hash then :patch_hash
|
19
|
+
when Symbol, String then :patch_value
|
20
|
+
else return value_or_values
|
21
|
+
end
|
22
|
+
send patch_method, value_or_values, &block
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def patch_array(values, &block)
|
28
|
+
values.collect { |value| patch value, &block }
|
29
|
+
end
|
30
|
+
|
31
|
+
def patch_hash(values, &block)
|
32
|
+
values.transform_values { |value| patch value, &block }
|
33
|
+
end
|
34
|
+
|
35
|
+
def patch_value(value, &block)
|
36
|
+
block.call patch_value_string_symbol(value)
|
37
|
+
end
|
38
|
+
|
39
|
+
# :reek:UtilityFunction
|
40
|
+
def patch_value_string_symbol(value)
|
41
|
+
value.to_s.start_with?(':') ? value[1..-1].to_sym : value
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'mini_magick'
|
4
|
+
|
5
|
+
module Jekyll
|
6
|
+
module Favicon
|
7
|
+
module Utils
|
8
|
+
# Favicon convert for include
|
9
|
+
module Convert
|
10
|
+
def self.included(klass)
|
11
|
+
klass.extend(ClassMethods)
|
12
|
+
end
|
13
|
+
|
14
|
+
# Favicon convert utils functions
|
15
|
+
module ClassMethods
|
16
|
+
def convert(input, output, options = {})
|
17
|
+
MiniMagick::Tool::Convert.new do |convert|
|
18
|
+
convert.flatten
|
19
|
+
convert_options(convert, options) << input << output
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def convert_options(convert, options = {})
|
26
|
+
priorities = %w[resize scale]
|
27
|
+
convert_apply convert, options.slice(*priorities)
|
28
|
+
common_options = options.reject { |key| priorities.include? key }
|
29
|
+
convert_apply convert, common_options
|
30
|
+
end
|
31
|
+
|
32
|
+
# :reek:UtilityFunction
|
33
|
+
def convert_apply(convert, options = {})
|
34
|
+
options.each_with_object(convert) do |(option, value), memo|
|
35
|
+
memo.send option.to_sym, value
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rexml/document'
|
4
|
+
|
5
|
+
module Jekyll
|
6
|
+
module Favicon
|
7
|
+
module Utils
|
8
|
+
# Favicon rexml for include
|
9
|
+
module Tag
|
10
|
+
def self.included(klass)
|
11
|
+
klass.extend(ClassMethods)
|
12
|
+
end
|
13
|
+
|
14
|
+
# Favicon rexml utils functions
|
15
|
+
module ClassMethods
|
16
|
+
# :reek:FeatureEnvy
|
17
|
+
def mutate_element(parent, changes = {})
|
18
|
+
changes.each_with_object(parent) do |(key, value), memo|
|
19
|
+
if key.start_with? '__' then memo.text = value
|
20
|
+
elsif key.start_with? '_' then memo.add_attribute key[1..-1], value
|
21
|
+
else mutate_element mutate_find_or_create_element(memo, key), value
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def build_element(name, parent = nil, config = {})
|
27
|
+
element = REXML::Element.new name, parent
|
28
|
+
return populate_element element, config if config.is_a? Enumerable
|
29
|
+
|
30
|
+
element.text = config and return element
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
# :reek:UtilityFunction
|
36
|
+
def mutate_find_or_create_element(parent, key)
|
37
|
+
parent.get_elements(key).first || parent.add_element(key)
|
38
|
+
end
|
39
|
+
|
40
|
+
# :reek:FeatureEnvy
|
41
|
+
def populate_element(element, config)
|
42
|
+
config.each_with_object(element) do |(key, value), memo|
|
43
|
+
if key.start_with? '__' then memo.text = value
|
44
|
+
elsif (child_key = key.match(/^_(.*)$/))
|
45
|
+
memo.add_attribute child_key[1], value
|
46
|
+
else build_element key, memo, value
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
metadata
CHANGED
@@ -1,111 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-favicon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alvaro Faundez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.17'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.17'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: minitest
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
19
|
+
version: '5.8'
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
26
|
+
version: '5.8'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest-hooks
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 1.4.2
|
33
|
+
version: '1.5'
|
51
34
|
type: :development
|
52
35
|
prerelease: false
|
53
36
|
version_requirements: !ruby/object:Gem::Requirement
|
54
37
|
requirements:
|
55
38
|
- - "~>"
|
56
39
|
- !ruby/object:Gem::Version
|
57
|
-
version: '1.
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.4.2
|
40
|
+
version: '1.5'
|
61
41
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
42
|
+
name: minitest-reporters
|
63
43
|
requirement: !ruby/object:Gem::Requirement
|
64
44
|
requirements:
|
65
45
|
- - "~>"
|
66
46
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
47
|
+
version: 1.4.3
|
68
48
|
type: :development
|
69
49
|
prerelease: false
|
70
50
|
version_requirements: !ruby/object:Gem::Requirement
|
71
51
|
requirements:
|
72
52
|
- - "~>"
|
73
53
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
54
|
+
version: 1.4.3
|
75
55
|
- !ruby/object:Gem::Dependency
|
76
56
|
name: rake
|
77
57
|
requirement: !ruby/object:Gem::Requirement
|
78
58
|
requirements:
|
79
59
|
- - "~>"
|
80
60
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '10.0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rubocop
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 0.54.0
|
96
|
-
- - "~>"
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: 0.54.0
|
61
|
+
version: '12.3'
|
99
62
|
type: :development
|
100
63
|
prerelease: false
|
101
64
|
version_requirements: !ruby/object:Gem::Requirement
|
102
65
|
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: 0.54.0
|
106
66
|
- - "~>"
|
107
67
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
68
|
+
version: '12.3'
|
109
69
|
- !ruby/object:Gem::Dependency
|
110
70
|
name: jekyll
|
111
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,16 +90,36 @@ dependencies:
|
|
130
90
|
name: mini_magick
|
131
91
|
requirement: !ruby/object:Gem::Requirement
|
132
92
|
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '4.11'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '4.11'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rexml
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.2'
|
133
110
|
- - ">="
|
134
111
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
112
|
+
version: 3.2.5
|
136
113
|
type: :runtime
|
137
114
|
prerelease: false
|
138
115
|
version_requirements: !ruby/object:Gem::Requirement
|
139
116
|
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '3.2'
|
140
120
|
- - ">="
|
141
121
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
122
|
+
version: 3.2.5
|
143
123
|
description: Jekyll-favicon is a jekyll plugin that adds the tag favicon, generating
|
144
124
|
html tags for favicon.
|
145
125
|
email:
|
@@ -148,43 +128,60 @@ executables: []
|
|
148
128
|
extensions: []
|
149
129
|
extra_rdoc_files: []
|
150
130
|
files:
|
131
|
+
- ".devcontainer/Dockerfile"
|
132
|
+
- ".devcontainer/devcontainer.json"
|
151
133
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
152
134
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
153
135
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
154
136
|
- ".github/workflows/gem-push.yml"
|
137
|
+
- ".github/workflows/test.yml"
|
155
138
|
- ".gitignore"
|
156
|
-
- ".rubocop.yml"
|
157
|
-
- ".ruby-version"
|
158
|
-
- ".travis.yml"
|
159
139
|
- CHANGELOG.md
|
160
140
|
- CODE_OF_CONDUCT.md
|
161
141
|
- CONTRIBUTING.md
|
162
142
|
- Gemfile
|
163
|
-
- Gemfile.lock
|
164
143
|
- LICENSE.txt
|
165
144
|
- README.md
|
166
145
|
- Rakefile
|
167
146
|
- bin/console
|
168
147
|
- bin/setup
|
148
|
+
- config/jekyll/favicon.yml
|
149
|
+
- config/jekyll/favicon/static_file.yml
|
150
|
+
- config/jekyll/favicon/static_file/convertible.yml
|
151
|
+
- config/jekyll/favicon/static_file/mutable.yml
|
152
|
+
- config/jekyll/favicon/static_file/referenceable.yml
|
153
|
+
- config/jekyll/favicon/static_file/sourceable.yml
|
154
|
+
- config/jekyll/favicon/static_file/taggable.yml
|
155
|
+
- gemfiles/jekyll36.gemfile
|
156
|
+
- gemfiles/jekyll37.gemfile
|
157
|
+
- gemfiles/jekyll38.gemfile
|
158
|
+
- gemfiles/jekyll39.gemfile
|
159
|
+
- gemfiles/jekyll40.gemfile
|
160
|
+
- gemfiles/jekyll41.gemfile
|
161
|
+
- gemfiles/jekyll42.gemfile
|
169
162
|
- jekyll-favicon.gemspec
|
170
|
-
- lib/browserconfig.rb
|
171
|
-
- lib/hash.rb
|
172
|
-
- lib/image.rb
|
173
163
|
- lib/jekyll-favicon.rb
|
174
164
|
- lib/jekyll/favicon.rb
|
175
|
-
- lib/jekyll/favicon/
|
165
|
+
- lib/jekyll/favicon/configuration.rb
|
166
|
+
- lib/jekyll/favicon/configuration/defaults.rb
|
176
167
|
- lib/jekyll/favicon/generator.rb
|
177
168
|
- lib/jekyll/favicon/hooks.rb
|
178
|
-
- lib/jekyll/favicon/
|
179
|
-
- lib/jekyll/favicon/
|
169
|
+
- lib/jekyll/favicon/static_data_file.rb
|
170
|
+
- lib/jekyll/favicon/static_file.rb
|
171
|
+
- lib/jekyll/favicon/static_file/convertible.rb
|
172
|
+
- lib/jekyll/favicon/static_file/mutable.rb
|
173
|
+
- lib/jekyll/favicon/static_file/referenceable.rb
|
174
|
+
- lib/jekyll/favicon/static_file/sourceable.rb
|
175
|
+
- lib/jekyll/favicon/static_file/taggable.rb
|
176
|
+
- lib/jekyll/favicon/static_graphic_file.rb
|
180
177
|
- lib/jekyll/favicon/tag.rb
|
181
|
-
- lib/jekyll/favicon/
|
182
|
-
- lib/jekyll/favicon/
|
183
|
-
- lib/jekyll/favicon/
|
184
|
-
- lib/jekyll/favicon/
|
178
|
+
- lib/jekyll/favicon/utils.rb
|
179
|
+
- lib/jekyll/favicon/utils/configuration/compact.rb
|
180
|
+
- lib/jekyll/favicon/utils/configuration/merge.rb
|
181
|
+
- lib/jekyll/favicon/utils/configuration/patch.rb
|
182
|
+
- lib/jekyll/favicon/utils/convert.rb
|
183
|
+
- lib/jekyll/favicon/utils/tag.rb
|
185
184
|
- lib/jekyll/favicon/version.rb
|
186
|
-
- lib/string.rb
|
187
|
-
- lib/webmanifest.rb
|
188
185
|
homepage: https://github.com/afaundez/jekyll-favicon
|
189
186
|
licenses:
|
190
187
|
- MIT
|
@@ -197,14 +194,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
194
|
requirements:
|
198
195
|
- - ">="
|
199
196
|
- !ruby/object:Gem::Version
|
200
|
-
version: 2.
|
197
|
+
version: 2.5.0
|
201
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
199
|
requirements:
|
203
|
-
- - "
|
200
|
+
- - ">"
|
204
201
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
202
|
+
version: 1.3.1
|
206
203
|
requirements: []
|
207
|
-
|
204
|
+
rubyforge_project:
|
205
|
+
rubygems_version: 2.7.6.3
|
208
206
|
signing_key:
|
209
207
|
specification_version: 4
|
210
208
|
summary: Jekyll plugin for favicon tag generation.
|