jekyll-koziolekweb-tags 0.2.0 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed61d38c76920fab927651b97700c9f928937bc3fb5de4670b527b4a017dac07
4
- data.tar.gz: 9bb5a329d41433716cd0c69e4d27dd3957e2a23351f909867f3fa5dafd1274f0
3
+ metadata.gz: 43266d61852a499977df46bd3d4626c0368b121dc1d962857c41b0308470bf20
4
+ data.tar.gz: f5f7fcdcade5cdead24b51f2cf2cd46a06cf3d71f42c0d9cdfb37ff441ba9749
5
5
  SHA512:
6
- metadata.gz: 10f070571ea4cc21926a7010ab24d89013117190b98de610fbbbe2b5c547a5c5eade5c3bf1350b3e86d2249bfa298ab7bf1d4150d1380758a8e4be9e2899fab8
7
- data.tar.gz: df3080ae27c1f76239feafcbd56aaf3835e57f5a50428d26c1ea9c070f021c0891e259b6265d289032b7c977c2f4937efb33d3ee727bbf54630e819550c15785
6
+ metadata.gz: 5f8d6d2baee780bcfdc57cb95a4daea148c5a3650a309f0842fdee46b9bbf8179732685ea9fe3e8a97576ef22593851f1a2044a187e20754229f20ca0230536f
7
+ data.tar.gz: 31c0a52191c88d868658edecfb63432844f9953609bcacdc6df4c25419d3a71dd85a80cfabb070125ba49228b6b2d6a119780e452aae0e77054b7aa877e2c543
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/jekyll/koziolekweb/tags/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "jekyll-koziolekweb-tags"
7
+ spec.version = Jekyll::Koziolekweb::Tags::VERSION
8
+ spec.authors = ["Koziolek"]
9
+ spec.email = ["bjkuczynski@gmail.com"]
10
+
11
+ spec.summary = "Set of structural tags that helps to organise article."
12
+ spec.description = "Here you will find a set of tags that allow you to create code listings with numbering, notes using the <aside> element and more."
13
+ spec.homepage = "https://github.com/Koziolek/jekyll-koziolekweb-tags"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.4.0"
16
+ spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(__dir__) do
21
+ `git ls-files -z`.split("\x0").reject do |f|
22
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
23
+ end
24
+ end
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
27
+
28
+ spec.metadata["source_code_uri"] = "https://github.com/Koziolek/jekyll-koziolekweb-tags"
29
+ spec.metadata["changelog_uri"] = "https://github.com/Koziolek/jekyll-koziolekweb-tags/CHANGELOG.md"
30
+
31
+
32
+ spec.require_paths = ["lib"]
33
+
34
+ # Uncomment to register a new dependency of your gem
35
+ # spec.add_dependency "example-gem", "~> 1.0"
36
+
37
+ # For more information and examples about making a new gem, check out our
38
+ # guide at: https://bundler.io/guides/creating_gem.html
39
+ end
@@ -3,7 +3,7 @@
3
3
  module Jekyll
4
4
  module Koziolekweb
5
5
  module Tags
6
- VERSION = "0.2.0"
6
+ VERSION = "0.3.0"
7
7
  end
8
8
  end
9
9
  end
@@ -32,8 +32,9 @@ module Koziolekweb
32
32
  @@file_state[current_file] += 1
33
33
  content = super
34
34
  content_with_code_fence = "```#{@lang} #{content}```"
35
+ title_with_parese = "#{@title}"
35
36
 
36
- "<p class='listing'> Listing #{@@file_state[current_file]}. #{@title}</p>#{content_with_code_fence}"
37
+ "<p class='listing'> Listing #{@@file_state[current_file]}. #{@title_with_parese}</p>#{content_with_code_fence}"
37
38
  end
38
39
  end
39
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-koziolekweb-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koziolek
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-17 00:00:00.000000000 Z
11
+ date: 2025-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -42,6 +42,7 @@ files:
42
42
  - Gemfile
43
43
  - README.md
44
44
  - Rakefile
45
+ - jekyll-koziolekweb-tags.gemspec
45
46
  - lib/jekyll/koziolekweb/tags.rb
46
47
  - lib/jekyll/koziolekweb/tags/version.rb
47
48
  - sig/jekyll/koziolekweb/tags.rbs
@@ -51,7 +52,7 @@ licenses:
51
52
  metadata:
52
53
  source_code_uri: https://github.com/Koziolek/jekyll-koziolekweb-tags
53
54
  changelog_uri: https://github.com/Koziolek/jekyll-koziolekweb-tags/CHANGELOG.md
54
- post_install_message:
55
+ post_install_message:
55
56
  rdoc_options: []
56
57
  require_paths:
57
58
  - lib
@@ -66,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
67
  - !ruby/object:Gem::Version
67
68
  version: '0'
68
69
  requirements: []
69
- rubygems_version: 3.3.4
70
- signing_key:
70
+ rubygems_version: 3.4.10
71
+ signing_key:
71
72
  specification_version: 4
72
73
  summary: Set of structural tags that helps to organise article.
73
74
  test_files: []