Subiendo api v2

This commit is contained in:
2025-04-16 10:03:13 -03:00
commit 226933fda7
7537 changed files with 576844 additions and 0 deletions

0
deps/castore/.fetch vendored Normal file
View File

BIN
deps/castore/.hex vendored Normal file

Binary file not shown.

56
deps/castore/README.md vendored Normal file
View File

@ -0,0 +1,56 @@
# CAStore
[![CI badge](https://github.com/elixir-mint/castore/actions/workflows/ci.yml/badge.svg)](https://github.com/elixir-mint/castore/actions/workflows/ci.yml)
[![Documentation badge](https://img.shields.io/badge/Documentation-ff69b4)](https://hexdocs.pm/castore)
[![Hex.pm badge](https://img.shields.io/badge/Package%20on%20hex.pm-informational)](https://hex.pm/packages/castore)
Up-to-date CA certificate store for Elixir.
## Installation
In your `mix.exs`:
```elixir
def deps do
[
{:castore, "~> 1.0"}
]
end
```
Then, run `$ mix deps.get`.
## Usage
This is a micro-library whose only job is storing an up-to-date CA certificate store. The only provided function is `CAStore.file_path/0`, which returns the path of the CA certificate store file.
```elixir
CAStore.file_path()
#=> /Users/me/castore/_build/dev/lib/castore/priv/cacerts.pem"
```
See [the documentation](https://hexdocs.pm/castore).
## Updates
Every time there is an update to the CA certificate store, we'll release a new **patch version** of the library. For example, `1.0.12``1.0.13`.
## Contributing
If you want to locally update the CA certificate store file bundled with this library, run the `mix certdata` from the root of this library.
## License
Copyright 2018 Eric Meadows-Jönsson and Andrea Leopardi
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1
deps/castore/VERSION vendored Normal file
View File

@ -0,0 +1 @@
1.0.12

12
deps/castore/hex_metadata.config vendored Normal file
View File

@ -0,0 +1,12 @@
{<<"app">>,<<"castore">>}.
{<<"build_tools">>,[<<"mix">>]}.
{<<"description">>,<<"Up-to-date CA certificate store.">>}.
{<<"elixir">>,<<"~> 1.0">>}.
{<<"files">>,
[<<"lib/castore.ex">>,<<"priv">>,<<"priv/cacerts.pem">>,<<"mix.exs">>,
<<"README.md">>,<<"VERSION">>]}.
{<<"licenses">>,[<<"Apache-2.0">>]}.
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/elixir-mint/castore">>}]}.
{<<"name">>,<<"castore">>}.
{<<"requirements">>,[]}.
{<<"version">>,<<"1.0.12">>}.

24
deps/castore/lib/castore.ex vendored Normal file
View File

@ -0,0 +1,24 @@
defmodule CAStore do
@moduledoc """
Functionality to retrieve the up-to-date CA certificate store.
The only purpose of this library is to keep an up-to-date CA certificate store file.
This is why this module only provides one function, `file_path/0`, to access the path of
the CA certificate store file. You can then read this file and use its contents for your
own purposes.
"""
@doc """
Returns the path to the CA certificate store PEM file.
## Examples
CAStore.file_path()
#=> /Users/me/castore/_build/dev/lib/castore/priv/cacerts.pem"
"""
@spec file_path() :: Path.t()
def file_path() do
Application.app_dir(:castore, "priv/cacerts.pem")
end
end

56
deps/castore/mix.exs vendored Normal file
View File

@ -0,0 +1,56 @@
defmodule CAStore.MixProject do
use Mix.Project
@repo_url "https://github.com/elixir-mint/castore"
def project do
[
app: :castore,
version: version(),
elixir: "~> 1.0",
start_permanent: Mix.env() == :prod,
deps: deps(),
xref: [exclude: [:public_key]],
# Hex
package: package(),
description: "Up-to-date CA certificate store.",
# Docs
name: "CAStore",
docs: [
source_ref: "v#{version()}",
source_url: @repo_url
]
]
end
def application do
[
extra_applications: extra_applications(Mix.env())
]
end
defp extra_applications(:prod), do: [:logger]
defp extra_applications(_env), do: [:public_key] ++ extra_applications(:prod)
defp deps do
[
{:ex_doc, "~> 0.29", only: :dev}
]
end
defp package do
[
files: ["lib/castore.ex", "priv", "mix.exs", "README.md", "VERSION"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @repo_url}
]
end
defp version do
"VERSION"
|> File.read!()
|> String.trim()
end
end

3642
deps/castore/priv/cacerts.pem vendored Normal file

File diff suppressed because it is too large Load Diff