Update internal json v3 formula tests

This commit is contained in:
apainintheneck 2024-04-26 23:49:39 -07:00
parent ff0c24786b
commit 541305ae98
2 changed files with 28 additions and 25 deletions

View File

@ -216,7 +216,7 @@ module Formulary
T.bind(self, SoftwareSpec) T.bind(self, SoftwareSpec)
deps&.each do |name, info| deps&.each do |name, info|
tags = case info["tags"] tags = case info&.dig("tags")
in Array => tag_list in Array => tag_list
tag_list.map(&:to_sym) tag_list.map(&:to_sym)
in String => tag in String => tag
@ -225,7 +225,7 @@ module Formulary
nil nil
end end
if info.key?("uses_from_macos") if info&.key?("uses_from_macos")
bounds = info["uses_from_macos"] || {} bounds = info["uses_from_macos"] || {}
bounds.deep_transform_keys!(&:to_sym) bounds.deep_transform_keys!(&:to_sym)
bounds.deep_transform_values!(&:to_sym) bounds.deep_transform_values!(&:to_sym)

View File

@ -32,9 +32,6 @@
"post_install_defined": false, "post_install_defined": false,
"ruby_source_path": "Formula/f/fennel.rb", "ruby_source_path": "Formula/f/fennel.rb",
"ruby_source_sha256": "5856e655fd1cea11496d67bc27fb14fee5cfbdea63c697c3773c7f247581197d", "ruby_source_sha256": "5856e655fd1cea11496d67bc27fb14fee5cfbdea63c697c3773c7f247581197d",
"dependencies": [
"lua"
],
"version": "1.4.0", "version": "1.4.0",
"bottle": { "bottle": {
"files": { "files": {
@ -43,6 +40,9 @@
"sha256": "f46028597883cbc38864c61bd3fa402da9cb90ce97415d51a7b5279bc17f7bd0" "sha256": "f46028597883cbc38864c61bd3fa402da9cb90ce97415d51a7b5279bc17f7bd0"
} }
} }
},
"dependencies": {
"lua": null
} }
}, },
"ponyc": { "ponyc": {
@ -59,25 +59,6 @@
"post_install_defined": false, "post_install_defined": false,
"ruby_source_path": "Formula/p/ponyc.rb", "ruby_source_path": "Formula/p/ponyc.rb",
"ruby_source_sha256": "81d51c25d18710191beb62f9f380bae3d878aad815a65ec1ee2a3b132c1fadb3", "ruby_source_sha256": "81d51c25d18710191beb62f9f380bae3d878aad815a65ec1ee2a3b132c1fadb3",
"build_dependencies": [
"cmake",
"python@3.12"
],
"uses_from_macos": [
{
"llvm": [
"build",
"test"
]
},
"zlib"
],
"uses_from_macos_bounds": [
{
},
{
}
],
"version": "0.58.1", "version": "0.58.1",
"bottle": { "bottle": {
"files": { "files": {
@ -110,6 +91,28 @@
"sha256": "ab49318d75eed3ee932c8e5add22f252ec0c852aad94945022877f926e93899f" "sha256": "ab49318d75eed3ee932c8e5add22f252ec0c852aad94945022877f926e93899f"
} }
} }
},
"dependencies": {
"cmake": {
"tags": [
"build"
]
},
"python@3.12": {
"tags": [
"build"
]
},
"llvm": {
"tags": [
"build",
"test"
],
"uses_from_macos": null
},
"zlib": {
"uses_from_macos": null
}
} }
} }
} }