mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-03-17 11:02:17 +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",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["local>ivuorinen/renovate-config"]
|
||||||
"local>ivuorinen/renovate-config"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,13 +120,13 @@ class FormulaParser
|
|||||||
|
|
||||||
# Convert CamelCase to kebab-case
|
# Convert CamelCase to kebab-case
|
||||||
class_name
|
class_name
|
||||||
.gsub(/([a-z\d])([A-Z])/, "\1-\2")
|
.gsub(/([a-z\d])([A-Z])/, '\1-\2')
|
||||||
.downcase
|
.downcase
|
||||||
end
|
end
|
||||||
|
|
||||||
def format_time_iso8601(time)
|
def format_time_iso8601(time)
|
||||||
# Format time manually for compatibility
|
# 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
|
end
|
||||||
|
|
||||||
def write_json_output(formulae)
|
def write_json_output(formulae)
|
||||||
|
|||||||
Reference in New Issue
Block a user