htx 1.0.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d869f62a146bed898334d085ce1dc507d214950d166454b65e502058bc68e6b6
4
- data.tar.gz: fd81c8b3b82f2bd95e85899f14ee35f881f11a8b0f8b07b38af1f5b0ee599a87
3
+ metadata.gz: 22f4b36c70794662297860c06e7459fd31c8e6a3d5660bac76fa8dc96d5b4841
4
+ data.tar.gz: 88b6761149af062d969aed55c13e5e98d55b89a1d32d3472acd00ea8888d44d7
5
5
  SHA512:
6
- metadata.gz: bd23ac9b3363d467c1e47258654ed3d9a136e32e66379374b2d33a1abeeb358a1957de66364ad5af3dd20768a4ace5226ccb57c256b18b232de0381fe3144d25
7
- data.tar.gz: e304e3e8b87c093eabc07628c0179c15eef76d9870483d96a129ce9f2f1358d0ec50df14e369e2c052aa59b992bcae2647753f3cb62f9e37de1d06b221332f4b
6
+ metadata.gz: e1070a23592b8cf6efb7f7a69b1c7cb94e6c13715d6dc9b809f605a1f8064fabea453a3c79cfb5dc106affc22eefd459b5e3c1c7d04564680c67e946bcdf71f2
7
+ data.tar.gz: bc8451597f94d3770ce44ecd97a66a40a79e2f75be6ccb176371997b590316e1e2d731af092ba1571e3ecd5f009b6c6122d2eeba4dc17e23decf843d31a9acdb
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2019-2024 Nate Pickens
1
+ Copyright 2019-2025 Nate Pickens
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
4
4
  documentation files (the "Software"), to deal in the Software without restriction, including without
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/lib/htx/template.rb CHANGED
@@ -80,6 +80,21 @@ module HTX
80
80
  @compiled
81
81
  end
82
82
 
83
+ ##
84
+ # Returns high-level object info string.
85
+ #
86
+ def inspect
87
+ "#<#{self.class} "\
88
+ "@as_module=#{@as_module.inspect}, "\
89
+ "@assign_to=#{@assign_to.inspect}, "\
90
+ "@base_indent=#{@base_indent.inspect}, "\
91
+ "@compiled=#{@compiled&.sub(/\n[\s\S]+/, ' [...]').inspect}, "\
92
+ "@content=#{@content&.sub(/\n[\s\S]+/, ' [...]').inspect}, "\
93
+ "@import_path=#{@import_path.inspect}, "\
94
+ "@name=#{@name.inspect}"\
95
+ '>'
96
+ end
97
+
83
98
  private
84
99
 
85
100
  ##
data/lib/htx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HTX
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Pickens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2025-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -73,8 +73,9 @@ licenses:
73
73
  - MIT
74
74
  metadata:
75
75
  bug_tracker_uri: https://github.com/npickens/htx/issues
76
- documentation_uri: https://github.com/npickens/htx/blob/1.0.0/README.md
77
- source_code_uri: https://github.com/npickens/htx/tree/1.0.0
76
+ changelog_uri: https://github.com/npickens/htx/blob/master/CHANGELOG.md
77
+ documentation_uri: https://github.com/npickens/htx/blob/1.0.1/README.md
78
+ source_code_uri: https://github.com/npickens/htx/tree/1.0.1
78
79
  post_install_message:
79
80
  rdoc_options: []
80
81
  require_paths: