jekyll-plantuml 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2697b42a31945ffb30c6daaffbd25fad42fac637ded85a28d880a901498eae00
4
- data.tar.gz: f707a12ea2d90e5b128afc2b98f9d482fcf44041cfc4d0b1671d3a63e71d5ddb
3
+ metadata.gz: 86089f21384efec7b5247e76310cf6f216163302a8503dfb14c0398c6cc3b44c
4
+ data.tar.gz: a0720294a6a0a642117c736544d24f8a839c7adca81e6c2c222be47c9cf1b574
5
5
  SHA512:
6
- metadata.gz: 251252e096489b6522e3d2b0d1a6d72eaacae391dbb4a25191a387ae309ff9a462d19b718bcc6c9c58edd336e65882f992d47b78302ffd93b34f33b39b3b7792
7
- data.tar.gz: fa076635bda7053181e182622159ec0274878f41d7c562caec73512f7e46afc0e854da25ca142efc862bbe4df991db475af4ab9198ba0eb30e8d30e29c177b65
6
+ metadata.gz: 7c1411a7d223784a48c1f24fe9757cdf1454aac992333289e3d1352e546bd2ae0a1f5ba7deaf6a9a38fb16110fa6d6d29304792290a8a660bf64fff6e7ef71cb
7
+ data.tar.gz: 538a39cf5816c611381903cb4b3fd6df1375ff8a5777acea4e65e7e9d35d7502398e5990870c7121e53cd1612db0e7a4fa4bc0f997843f2967d173a0b89a2a32
@@ -20,5 +20,6 @@ jobs:
20
20
  - uses: ruby/setup-ruby@v1
21
21
  with:
22
22
  ruby-version: ${{ matrix.ruby }}
23
+ - run: sudo apt-get -y install plantuml
23
24
  - run: bundle update
24
25
  - run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -13,3 +13,5 @@ Metrics/MethodLength:
13
13
  Enabled: false
14
14
  Metrics/AbcSize:
15
15
  Max: 30
16
+ Naming/FileName:
17
+ Enabled: false
data/.rultor.yml CHANGED
@@ -5,6 +5,7 @@ assets:
5
5
  install: |
6
6
  pdd -f /dev/null
7
7
  sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
8
+ sudo apt-get -y install plantuml
8
9
  release:
9
10
  script: |-
10
11
  bundle exec rake
data/README.md CHANGED
@@ -18,7 +18,7 @@ create a plugin file within your Jekyll project's `_plugins` directory:
18
18
 
19
19
  ```ruby
20
20
  # _plugins/plantuml-plugin.rb
21
- require "jekyll_plantuml"
21
+ require "jekyll-plantuml"
22
22
  ```
23
23
 
24
24
  Highly recommend to use Bundler. If you're using it, add this line
data/Rakefile CHANGED
@@ -35,7 +35,11 @@ def version
35
35
  Gem::Specification.load(Dir['*.gemspec'].first).version
36
36
  end
37
37
 
38
- task default: %i[clean rubocop copyright]
38
+ task default: %i[clean jekylls rubocop copyright]
39
+
40
+ task :jekylls do
41
+ sh 'cd test-jekylls; make'
42
+ end
39
43
 
40
44
  require 'rdoc/task'
41
45
  desc 'Build RDoc documentation'
data/lib/version.rb CHANGED
@@ -23,5 +23,5 @@
23
23
  # SOFTWARE.
24
24
 
25
25
  module PlantUML
26
- VERSION = '1.4.0'
26
+ VERSION = '1.4.1'
27
27
  end
@@ -0,0 +1,2 @@
1
+ _site/
2
+ uml/
@@ -0,0 +1,13 @@
1
+ .ONESHELL:
2
+ .SHELLFLAGS: -e -o pipefail -c
3
+ .PHONY: clean sa env lint
4
+
5
+ SHELL = bash
6
+
7
+ TESTS = $(wildcard */)
8
+ all:
9
+ for t in ${TESTS}; do
10
+ cd $${t}
11
+ bundle install
12
+ bundle exec jekyll build
13
+ done
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gem 'jekyll', '4.3.2'
6
+ gem 'jekyll-plantuml', path: '../..'
@@ -0,0 +1,6 @@
1
+ title: simple
2
+ markdown: kramdown
3
+ encoding: utf-8
4
+ timezone: Europe/Moscow
5
+ plugins:
6
+ - jekyll-plantuml
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html>
6
+ <body>
7
+ {{ content }}
8
+ </body>
9
+ </html>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ date: 2023-06-02
4
+ title: "Test"
5
+ ---
6
+
7
+ This is just a test:
8
+
9
+ {% plantuml %}
10
+ [First] - [Second]
11
+ {% endplantuml %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-plantuml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
@@ -46,9 +46,15 @@ files:
46
46
  - README.md
47
47
  - Rakefile
48
48
  - jekyll-plantuml.gemspec
49
- - lib/jekyll_plantuml.rb
49
+ - lib/jekyll-plantuml.rb
50
50
  - lib/version.rb
51
51
  - renovate.json
52
+ - test-jekylls/.gitignore
53
+ - test-jekylls/Makefile
54
+ - test-jekylls/simple/Gemfile
55
+ - test-jekylls/simple/_config.yml
56
+ - test-jekylls/simple/_layouts/default.html
57
+ - test-jekylls/simple/_posts/2023/06/2023-06-02-test.md
52
58
  homepage: https://github.com/yegor256/jekyll-plantuml
53
59
  licenses:
54
60
  - MIT
File without changes