herbst 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b1a11bff9f5b5f00be6b23b297bc01faf785e1f661124b90129e9a509ecb10b4
4
+ data.tar.gz: 1d36830e13ca7faf498a8e30dd9997d58ffbc8b4027d832780969c3c9ab400c4
5
+ SHA512:
6
+ metadata.gz: f1334e96f1c98dfa0a1a40d79955c45fcba7ef9ebf7ee0d943545c21c2288bcadb3114783226f3f63b2fc0199908b716de2f35ca95bc2949839b870bf320f37e
7
+ data.tar.gz: f93966c0949452056e56629a501640141d51ff2f2a72cedd3209379a9e650ad9fada8e6d91ece8e55cc87f82197d0b85adbcdf2b92b94f805d38fd67d91e1aec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Marco Roth
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ <h2 align="center">Herbst 🍂</h2>
2
+
3
+ <h4 align="center">Herb Syntax Tree</h4>
4
+
5
+ <div align="center">Unified syntax tree for HTML templating languages.</div><br/>
6
+
7
+ ## What is Herbst?
8
+
9
+ Herbst (German for "autumn") provides tooling to translate various HTML templating languages like Haml, Slim, and others into the same unified syntax tree used by [Herb](https://herb-tools.dev).
10
+
11
+ ## Why Herbst?
12
+
13
+ Herbst bridges the gap between different HTML templating languages and the Herb ecosystem by:
14
+
15
+ - **Translating** Haml, Slim, and other HTML templating languages to Herb's unified syntax tree
16
+ - **Enabling** Herb tooling (linter, formatter, language server) to work with any supported templating language
17
+ - **Unifying** the developer experience across different HTML templating languages
18
+
19
+ All these HTML templating languages eventually produce HTML, and Herbst ensures they can all benefit from Herb's HTML-aware tooling.
20
+
21
+ ## Installation
22
+
23
+ Install the gem and add to the application's Gemfile by executing:
24
+
25
+ ```bash
26
+ bundle add herbst
27
+ ```
28
+
29
+ If bundler is not being used to manage dependencies, install the gem by executing:
30
+
31
+ ```bash
32
+ gem install herbst
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ Herbst is currently in early development. Usage instructions will be added as the gem matures.
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+
43
+ 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).
44
+
45
+ ## Contributing
46
+
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/herbst. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/marcoroth/herbst/blob/main/CODE_OF_CONDUCT.md).
48
+
49
+ ## Code of Conduct
50
+
51
+ Everyone interacting in the Herbst project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marcoroth/herbst/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+ require "rubocop/rake_task"
6
+
7
+ Minitest::TestTask.create
8
+ RuboCop::RakeTask.new
9
+
10
+ task default: %i[test rubocop]
data/herbst.gemspec ADDED
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/herbst/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "herbst"
7
+ spec.version = Herbst::VERSION
8
+ spec.authors = ["Marco Roth"]
9
+ spec.email = ["marco.roth@intergga.ch"]
10
+
11
+ spec.summary = "Herb Syntax Tree - Unified syntax tree for HTML templating languages"
12
+ spec.description = "Herbst provides tooling to translate Haml, Slim, and other HTML templating languages into the unified syntax tree used by Herb, enabling HTML-aware tooling across different HTML templating languages."
13
+ spec.homepage = "https://github.com/marcoroth/herbst"
14
+ spec.required_ruby_version = ">= 3.2.0"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/marcoroth/herbst"
18
+ spec.metadata["changelog_uri"] = "https://github.com/marcoroth/herbst/blob/main/CHANGELOG.md"
19
+ spec.metadata["rubygems_mfa_required"] = "true"
20
+
21
+ spec.files = Dir[
22
+ "herbst.gemspec",
23
+ "LICENSE.txt",
24
+ "Rakefile",
25
+ "README.md",
26
+ "lib/**/*.rb",
27
+ "sig/**/*.rbs",
28
+ "exe/*"
29
+ ]
30
+
31
+ spec.bindir = "exe"
32
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ["lib"]
34
+
35
+ spec.add_dependency "herb"
36
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Herbst
4
+ VERSION = "0.0.1"
5
+ end
data/lib/herbst.rb ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "herbst/version"
4
+
5
+ module Herbst
6
+ end
data/sig/herbst.rbs ADDED
@@ -0,0 +1,3 @@
1
+ module Herbst
2
+ VERSION: String
3
+ end
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: herbst
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Marco Roth
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: herb
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ description: Herbst provides tooling to translate Haml, Slim, and other HTML templating
27
+ languages into the unified syntax tree used by Herb, enabling HTML-aware tooling
28
+ across different HTML templating languages.
29
+ email:
30
+ - marco.roth@intergga.ch
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - LICENSE.txt
36
+ - README.md
37
+ - Rakefile
38
+ - herbst.gemspec
39
+ - lib/herbst.rb
40
+ - lib/herbst/version.rb
41
+ - sig/herbst.rbs
42
+ homepage: https://github.com/marcoroth/herbst
43
+ licenses: []
44
+ metadata:
45
+ homepage_uri: https://github.com/marcoroth/herbst
46
+ source_code_uri: https://github.com/marcoroth/herbst
47
+ changelog_uri: https://github.com/marcoroth/herbst/blob/main/CHANGELOG.md
48
+ rubygems_mfa_required: 'true'
49
+ rdoc_options: []
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 3.2.0
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubygems_version: 3.6.9
64
+ specification_version: 4
65
+ summary: Herb Syntax Tree - Unified syntax tree for HTML templating languages
66
+ test_files: []