mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-02-06 12:46:54 +00:00
fix: regexp problems
This commit is contained in:
4
.github/renovate.json
vendored
4
.github/renovate.json
vendored
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>ivuorinen/renovate-config"
|
||||
]
|
||||
"extends": ["local>ivuorinen/renovate-config"]
|
||||
}
|
||||
|
||||
@@ -120,13 +120,13 @@ class FormulaParser
|
||||
|
||||
# Convert CamelCase to kebab-case
|
||||
class_name
|
||||
.gsub(/([a-z\d])([A-Z])/, "\1-\2")
|
||||
.gsub(/([a-z\d])([A-Z])/, '\1-\2')
|
||||
.downcase
|
||||
end
|
||||
|
||||
def format_time_iso8601(time)
|
||||
# Format time manually for compatibility
|
||||
time.strftime("%Y-%m-%dT%H:%M:%S%z").gsub(/(\d{2})(\d{2})$/, "\1:\2")
|
||||
time.strftime("%Y-%m-%dT%H:%M:%S%z").gsub(/(\d{2})(\d{2})$/, '\1:\2')
|
||||
end
|
||||
|
||||
def write_json_output(formulae)
|
||||
|
||||
Reference in New Issue
Block a user