herb 0.2.0-x86-linux-gnu → 0.3.0-x86-linux-gnu

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: 6057887b415fcab355abaee6d221b8485bd26cab4bea36954b396cc1041e5dca
4
- data.tar.gz: 417ba20abcc762eefd122e86686285bdff911bec16ef6994192c9285cd6897b0
3
+ metadata.gz: 91f40f0b1aa8050e871a024640ac86b280e94d4e9b09cb61936f9fceb71b45c9
4
+ data.tar.gz: 077ee0b9e5e95850b66244f149580f5877ee8b13fc63fc56851383e864a7664c
5
5
  SHA512:
6
- metadata.gz: 0f58f16240608e315917c3ec8295ad75b247d7c3b6ccaf9ad1d902875fae546a1d166723011d69b28995ccfda97d68a3e4683d6e5cc86473a435b80899e9a45e
7
- data.tar.gz: d235f68088a5e0fa380c7e9f07c8d2e69cf07a7c6c166a54064b4ba4edca80966c23dcea1b24b8bf3a707375a212889e7a527269f4888318d39075f16630730b
6
+ metadata.gz: 4bd8e3dc2c3ad81ccd43861aa3ff900c5d3f714a12e6e1fb8029601564d82b4dd758b209f60fd4ab121d5bf6835a1a0c3e023de7aafde7aa9f658223cd3c51ac
7
+ data.tar.gz: 832db948a9e90b7b96e25b7ab200edd371aa6321d4db5c42af96b72c0ef3b79f386eefbc75027de8c9fc79088f7c134ddca2c0ba4bd8fed23c392291cb3f1e76
data/Rakefile CHANGED
@@ -62,10 +62,10 @@ begin
62
62
  sh "bundle config set cache_all true"
63
63
 
64
64
  PLATFORMS.each do |platform|
65
- RakeCompilerDock.sh "bundle && rake native:#{platform} gem", platform: platform
65
+ RakeCompilerDock.sh "bundle && rake native:#{platform} gem", platform: platform
66
66
  end
67
67
 
68
- RakeCompilerDock.sh "bundle && rake java gem", rubyvm: :jruby
68
+ RakeCompilerDock.sh "bundle && rake java gem", rubyvm: :jruby
69
69
  rescue LoadError
70
70
  abort "rake_compiler_dock is required to build native gems"
71
71
  end
@@ -95,7 +95,7 @@ begin
95
95
  desc "Build the native gem for #{platform}"
96
96
  task platform => "prepare" do
97
97
  RakeCompilerDock.sh(
98
- "bundle && rake native:#{platform} gem RUBY_CC_VERSION='#{ENV.fetch("RUBY_CC_VERSION", nil)}'",
98
+ "bundle && rake native:#{platform} gem RUBY_CC_VERSION='#{ENV.fetch("RUBY_CC_VERSION", nil)}'",
99
99
  platform: platform
100
100
  )
101
101
  end
data/lib/herb/3.0/herb.so CHANGED
Binary file
data/lib/herb/3.1/herb.so CHANGED
Binary file
data/lib/herb/3.2/herb.so CHANGED
Binary file
data/lib/herb/3.3/herb.so CHANGED
Binary file
data/lib/herb/3.4/herb.so CHANGED
Binary file
data/lib/herb/cli.rb CHANGED
@@ -128,11 +128,10 @@ class Herb::CLI
128
128
  puts "This command can currently only be run within the herb repo itself"
129
129
  exit(1)
130
130
  end
131
- when "help", "-h", "--help"
131
+ when "help"
132
132
  help
133
- when "version", "-v", "--version"
134
- puts Herb.version
135
- exit(0)
133
+ when "version"
134
+ print_version
136
135
  when String
137
136
  puts "Unknown command: '#{@command}'"
138
137
  puts
@@ -147,6 +146,10 @@ class Herb::CLI
147
146
  @option_parser ||= OptionParser.new do |parser|
148
147
  parser.banner = ""
149
148
 
149
+ parser.on_tail("-v", "--version", "Show the version") do
150
+ print_version
151
+ end
152
+
150
153
  parser.on_tail("-h", "--help", "Show this message") do
151
154
  help
152
155
  exit(0)
@@ -165,4 +168,11 @@ class Herb::CLI
165
168
  def options
166
169
  option_parser.parse!(@args)
167
170
  end
171
+
172
+ private
173
+
174
+ def print_version
175
+ puts Herb.version
176
+ exit(0)
177
+ end
168
178
  end
data/lib/herb/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # typed: true
3
3
 
4
4
  module Herb
5
- VERSION = "0.2.0"
5
+ VERSION = "0.3.0"
6
6
  end
@@ -1,6 +1,6 @@
1
1
  #ifndef HERB_VERSION_H
2
2
  #define HERB_VERSION_H
3
3
 
4
- #define HERB_VERSION "0.2.0"
4
+ #define HERB_VERSION "0.3.0"
5
5
 
6
6
  #endif
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: x86-linux-gnu
6
6
  authors:
7
7
  - Marco Roth
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-06-12 00:00:00.000000000 Z
10
+ date: 2025-06-21 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Powerful and seamless HTML-aware ERB parsing and tooling.
13
13
  email: