herb-analysis 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: d5395b182d0ec212e85ce95f1f59e984add2c92c0aea21772e799a00a4ff7ca3
4
+ data.tar.gz: b75a202daa2be1a1e155c64d60868c10787a9fa8e4b46dbb620bfc12d839435b
5
+ SHA512:
6
+ metadata.gz: 0e21138269698fcf1239f7b194b5abab8ecbaaa90367e994c1afdbe900f2d072ad07d562237b6bf4049aa5834e9a38b759d3c9a33839d7aa96c548ba51a3e364
7
+ data.tar.gz: 986de025ce18f9daf9834f2f01f96c80a32b47155d59dab2993d1dbae5d604253b4a2ed148ad759306de5ee99c2cc6a4f983ca8dba4bdfaf2fd950b1257f34f9
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 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,38 @@
1
+ # Herb Analysis
2
+
3
+ **Gem:** [`herb-analysis`](https://rubygems.org/gems/herb-analysis)
4
+
5
+ ---
6
+
7
+ The Herb Analysis package builds template indexes and resolves render call sites and partials across a project.
8
+
9
+ This is the Ruby counterpart of the [`@herb-tools/analysis`](https://www.npmjs.com/package/@herb-tools/analysis) package.
10
+
11
+ > [!NOTE]
12
+ > This gem is currently an empty placeholder. The implementation lands in a future release.
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ bundle add herb-analysis
18
+ ```
19
+
20
+ Or install it directly:
21
+
22
+ ```bash
23
+ gem install herb-analysis
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ ```ruby
29
+ require "herb/analysis"
30
+ ```
31
+
32
+ ## Development
33
+
34
+ Run `bin/setup` to install dependencies, then `rake test` to run the tests. Run `bin/console` for an interactive prompt.
35
+
36
+ ## License
37
+
38
+ Herb is available as open source under the terms of the [MIT License](https://github.com/marcoroth/herb/blob/main/LICENSE.txt).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: [:test, :rubocop]
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Herb
4
+ module Analysis
5
+ VERSION = "0.0.1"
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "analysis/version"
4
+
5
+ module Herb
6
+ module Analysis
7
+ class Error < StandardError; end
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ module Herb
2
+ module Analysis
3
+ VERSION: String
4
+
5
+ class Error < StandardError
6
+ end
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: herb-analysis
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
+ description: The Herb Analysis package builds template indexes and resolves render
13
+ call sites and partials across a project.
14
+ email:
15
+ - marco.roth@intergga.ch
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - LICENSE.txt
21
+ - README.md
22
+ - Rakefile
23
+ - lib/herb/analysis.rb
24
+ - lib/herb/analysis/version.rb
25
+ - sig/herb/analysis.rbs
26
+ homepage: https://herb-tools.dev
27
+ licenses:
28
+ - MIT
29
+ metadata:
30
+ allowed_push_host: https://rubygems.org
31
+ rubygems_mfa_required: 'true'
32
+ homepage_uri: https://herb-tools.dev
33
+ changelog_uri: https://github.com/marcoroth/herb/releases
34
+ source_code_uri: https://github.com/marcoroth/herb
35
+ bug_tracker_uri: https://github.com/marcoroth/herb/issues
36
+ documentation_uri: https://docs.herb-tools.dev
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 3.2.0
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 4.0.6
52
+ specification_version: 4
53
+ summary: Project analysis for HTML+ERB templates
54
+ test_files: []