htmlsnob_ruby 0.1.0 → 0.1.2

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: 6edb4f157887baf073a8719eb2e0910c2d278e73f977ed6dae1178f17e3c3d00
4
- data.tar.gz: 13615ea1f66a208925568a2a18dc77dfdf739940e3f4c1e7327499eac1017985
3
+ metadata.gz: 809fbdfc19e4b23e55042bd9f164204f7d49c16b30ce59583e9157c90cafab1f
4
+ data.tar.gz: 27d84dcb1e734312e398f76702679d2b3e67cb8fdda075b83fe3d4a7f01256ca
5
5
  SHA512:
6
- metadata.gz: 3b0ed9e5c9320e1f5e81dc98461a06ccf95411bef68ec40197adcd37e06ea6f2b6b1bbd7ec326077e0593a0172b1b38f3b0aa47d2104482a9430c3310365b8e0
7
- data.tar.gz: 0ef0a91db24bae3a5e49dff727a13e88c77633186adfb8000e42a6f62ab0df16aae6b105863034f7fe0f2d8b4e28bc18c854be916d48212f667c986976e178dc
6
+ metadata.gz: a47696746895a52a485fe846072355ca3b6c4c432f47a252e8cfa774b5363c50312fea4b7332b90558f88f086b21d50f81d7f094663e2d7cad91a5e434853454
7
+ data.tar.gz: 5144118267a1b11a833f2cd4ecc5e78dc80002069c796723bc48e8dda70e14e2de9dcf49c85dda999664b1e0e7578e1bd691d47414f6edbde6ba8d8e0dbf2148
data/Cargo.lock CHANGED
@@ -199,7 +199,7 @@ dependencies = [
199
199
  ]
200
200
 
201
201
  [[package]]
202
- name = "htmlsnob_cli"
202
+ name = "htmlsnob_runner"
203
203
  version = "0.1.0"
204
204
  dependencies = [
205
205
  "clap",
@@ -212,7 +212,7 @@ dependencies = [
212
212
  name = "htmlsnob_ruby"
213
213
  version = "0.1.0"
214
214
  dependencies = [
215
- "htmlsnob_cli",
215
+ "htmlsnob_runner",
216
216
  "htmlsnob_rules",
217
217
  "magnus",
218
218
  ]
data/README.md CHANGED
@@ -10,15 +10,15 @@ Validates and formats HTML and ERB files according to your coding standards.
10
10
 
11
11
  Install the gem and add to the application's Gemfile by executing:
12
12
  ```
13
- bundle add htmlsnob
13
+ bundle add htmlsnob_ruby
14
14
  ```
15
15
  If bundler is not being used to manage dependencies, install the gem by executing:
16
16
  ```
17
- gem install htmlsnob
17
+ gem install htmlsnob_ruby
18
18
  ```
19
19
  Or manually add it to your application's Gemfile:
20
20
  ```ruby
21
- gem 'htmlsnob'
21
+ gem 'htmlsnob_ruby'
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -10,6 +10,6 @@ publish = false
10
10
  crate-type = ["cdylib"]
11
11
 
12
12
  [dependencies]
13
- htmlsnob_cli = { path = "../../../htmlsnob_cli" }
13
+ htmlsnob_runner = { path = "../../../htmlsnob_runner" }
14
14
  htmlsnob_rules = { path = "../../../htmlsnob_rules" }
15
15
  magnus = { version = "0.6.2" }
@@ -1,7 +1,7 @@
1
1
  use magnus::{function, prelude::*, Error, RHash, Ruby, Symbol};
2
2
 
3
3
  fn run_simple(file_paths: Vec<String>, config: Option<String>) -> (i32, String) {
4
- htmlsnob_cli::run(htmlsnob_cli::SimpleArgs {
4
+ htmlsnob_runner::run(htmlsnob_runner::SimpleArgs {
5
5
  paths: file_paths,
6
6
  autofix: false,
7
7
  config,
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HtmlsnobRuby
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmlsnob_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Dahl Møllerhøj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-06 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby binding for the HTMLSnob library, which provides HTML validation.
14
14
  email:
@@ -28,7 +28,10 @@ files:
28
28
  - ext/htmlsnob_ruby/Cargo.toml
29
29
  - ext/htmlsnob_ruby/extconf.rb
30
30
  - ext/htmlsnob_ruby/src/lib.rs
31
+ - htmlsnob_ruby-0.1.0.gem
32
+ - lib/htmlsnob/htmlsnob_ruby.bundle
31
33
  - lib/htmlsnob_ruby.rb
34
+ - lib/htmlsnob_ruby/htmlsnob_ruby.bundle
32
35
  - lib/htmlsnob_ruby/version.rb
33
36
  - sig/htmlsnob_ruby.rbs
34
37
  homepage: https://github.com/mollerhoj/htmlsnob