jekyll-sketchviz 0.0.0.alpha
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 +7 -0
- data/.rubocop.yml +8 -0
- data/CHANGELOG.md +5 -0
- data/README.md +35 -0
- data/Rakefile +12 -0
- data/jekyll-sketchviz.gemspec +34 -0
- data/lib/jekyll/sketchviz/version.rb +7 -0
- data/lib/jekyll/sketchviz.rb +10 -0
- data/spec/jekyll/sketchviz_spec.rb +11 -0
- data/spec/spec_helper.rb +15 -0
- metadata +62 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 966e409936c2d7cfbdc57bd2cf0557543faf453ae7d8dde79ad84918acabf48c
|
4
|
+
data.tar.gz: 3236702c589ef5f2c7411828a358377e97fdac67bf67a6aae4c2a593f28dd98f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c852fd0feca4cb4bfc093203b38012bf0de7e122e2051f773d3059c3e21c659b07743e748d44f86a793d0b37e50311ea8968f20bf8bdaed11a69a9b783901543
|
7
|
+
data.tar.gz: 3e8bc9a3874699a867d8a2371bfee4e1741b705ccb1db18b3d4a4a5978852fff6274d158fb52bbd9fd44c07f6615686ae55d732fc9d1ec6416bf41008619b74a
|
data/.rubocop.yml
ADDED
data/CHANGELOG.md
ADDED
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Jekyll::Sketchviz
|
2
|
+
|
3
|
+
TODO: Delete this and the text below, and describe your gem
|
4
|
+
|
5
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jekyll/sketchviz`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
+
|
11
|
+
Install the gem and add to the application's Gemfile by executing:
|
12
|
+
|
13
|
+
```bash
|
14
|
+
bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
15
|
+
```
|
16
|
+
|
17
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
18
|
+
|
19
|
+
```bash
|
20
|
+
gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
21
|
+
```
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-sketchviz.
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/jekyll/sketchviz/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
host = 'https://github.com/cprima/jekyll-sketchviz'
|
7
|
+
|
8
|
+
spec.name = "jekyll-sketchviz"
|
9
|
+
spec.version = "0.0.0.alpha"
|
10
|
+
spec.authors = ["Christian Prior-Mamulyan"]
|
11
|
+
spec.email = ["cprior@gmail.com"]
|
12
|
+
|
13
|
+
spec.summary = 'A Jekyll plugin to transform Graphviz .dot files into sketch-style SVGs using Rough.js.'
|
14
|
+
spec.description = <<~END_DESC
|
15
|
+
jekyll-sketchviz is a Jekyll plugin that integrates Graphviz and Rough.js to process .dot files into SVG diagrams during the site build. It supports configurable output formats, including unstyled filesystem SVGs and inline SVGs styled via CSS. The plugin leverages Jekyll collections for input management and provides a Liquid tag API for flexible inclusion in site content.
|
16
|
+
END_DESC
|
17
|
+
spec.homepage = host
|
18
|
+
spec.required_ruby_version = ">= 3.0.0"
|
19
|
+
|
20
|
+
spec.metadata["allowed_push_host"] = 'https://rubygems.org'
|
21
|
+
spec.metadata["homepage_uri"] = host
|
22
|
+
spec.metadata["source_code_uri"] = "#{host}"
|
23
|
+
spec.metadata["changelog_uri"] = "#{host}/CHANGELOG.md"
|
24
|
+
|
25
|
+
# Specify which files should be added to the gem when it is released.
|
26
|
+
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
|
31
|
+
# Uncomment to register a new dependency of your gem
|
32
|
+
# spec.add_dependency "jekyll", ">= 3.0" # Example dependency
|
33
|
+
|
34
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "jekyll/sketchviz"
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
# Enable flags like --only-failures and --next-failure
|
7
|
+
config.example_status_persistence_file_path = ".rspec_status"
|
8
|
+
|
9
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
10
|
+
config.disable_monkey_patching!
|
11
|
+
|
12
|
+
config.expect_with :rspec do |c|
|
13
|
+
c.syntax = :expect
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-sketchviz
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.alpha
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christian Prior-Mamulyan
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-12-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: 'jekyll-sketchviz is a Jekyll plugin that integrates Graphviz and Rough.js
|
14
|
+
to process .dot files into SVG diagrams during the site build. It supports configurable
|
15
|
+
output formats, including unstyled filesystem SVGs and inline SVGs styled via CSS.
|
16
|
+
The plugin leverages Jekyll collections for input management and provides a Liquid
|
17
|
+
tag API for flexible inclusion in site content.
|
18
|
+
|
19
|
+
'
|
20
|
+
email:
|
21
|
+
- cprior@gmail.com
|
22
|
+
executables: []
|
23
|
+
extensions: []
|
24
|
+
extra_rdoc_files: []
|
25
|
+
files:
|
26
|
+
- ".rubocop.yml"
|
27
|
+
- CHANGELOG.md
|
28
|
+
- README.md
|
29
|
+
- Rakefile
|
30
|
+
- jekyll-sketchviz.gemspec
|
31
|
+
- lib/jekyll/sketchviz.rb
|
32
|
+
- lib/jekyll/sketchviz/version.rb
|
33
|
+
- spec/jekyll/sketchviz_spec.rb
|
34
|
+
- spec/spec_helper.rb
|
35
|
+
homepage: https://github.com/cprima/jekyll-sketchviz
|
36
|
+
licenses: []
|
37
|
+
metadata:
|
38
|
+
allowed_push_host: https://rubygems.org
|
39
|
+
homepage_uri: https://github.com/cprima/jekyll-sketchviz
|
40
|
+
source_code_uri: https://github.com/cprima/jekyll-sketchviz
|
41
|
+
changelog_uri: https://github.com/cprima/jekyll-sketchviz/CHANGELOG.md
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 3.0.0
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
requirements: []
|
57
|
+
rubygems_version: 3.5.23
|
58
|
+
signing_key:
|
59
|
+
specification_version: 4
|
60
|
+
summary: A Jekyll plugin to transform Graphviz .dot files into sketch-style SVGs using
|
61
|
+
Rough.js.
|
62
|
+
test_files: []
|