瀏覽代碼

Update vendored in hex_core to version 0.5.1

version 0.5.1 is a maintenance release of hex_core specifically for
 rebar3 which contains a configuration update. Prior to v0.5.1 if no
 repo_organization key was set this could result in a function clause
 error. The behavior is to now set repo_organization to undefined in
 this case.
pull/2132/head
Bryan Paxton 5 年之前
父節點
當前提交
a24fb34869
共有 21 個檔案被更改,包括 25 行新增23 行删除
  1. +1
    -1
      src/r3_hex_api.erl
  2. +1
    -1
      src/r3_hex_api_key.erl
  3. +1
    -1
      src/r3_hex_api_package.erl
  4. +1
    -1
      src/r3_hex_api_package_owner.erl
  5. +1
    -1
      src/r3_hex_api_release.erl
  6. +1
    -1
      src/r3_hex_api_user.erl
  7. +1
    -1
      src/r3_hex_core.erl
  8. +2
    -2
      src/r3_hex_core.hrl
  9. +1
    -1
      src/r3_hex_erl_tar.erl
  10. +1
    -1
      src/r3_hex_erl_tar.hrl
  11. +1
    -1
      src/r3_hex_filename.erl
  12. +1
    -1
      src/r3_hex_http.erl
  13. +1
    -1
      src/r3_hex_http_httpc.erl
  14. +1
    -1
      src/r3_hex_pb_names.erl
  15. +1
    -1
      src/r3_hex_pb_package.erl
  16. +1
    -1
      src/r3_hex_pb_signed.erl
  17. +1
    -1
      src/r3_hex_pb_versions.erl
  18. +1
    -1
      src/r3_hex_registry.erl
  19. +4
    -2
      src/r3_hex_repo.erl
  20. +1
    -1
      src/r3_hex_tarball.erl
  21. +1
    -1
      src/r3_safe_erl_term.xrl

+ 1
- 1
src/r3_hex_api.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% @hidden

+ 1
- 1
src/r3_hex_api_key.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_api_key).
-export([

+ 1
- 1
src/r3_hex_api_package.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_api_package).
-export([get/2, search/3]).

+ 1
- 1
src/r3_hex_api_package_owner.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_api_package_owner).
-export([

+ 1
- 1
src/r3_hex_api_release.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_api_release).
-export([

+ 1
- 1
src/r3_hex_api_user.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_api_user).
-export([

+ 1
- 1
src/r3_hex_core.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% @doc
%% hex_core entrypoint module.

+ 2
- 2
src/r3_hex_core.hrl 查看文件

@ -1,3 +1,3 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-define(HEX_CORE_VERSION, "0.5.0").
-define(HEX_CORE_VERSION, "0.5.1").

+ 1
- 1
src/r3_hex_erl_tar.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% @private
%% Copied from https://github.com/erlang/otp/blob/OTP-20.0.1/lib/stdlib/src/erl_tar.erl

+ 1
- 1
src/r3_hex_erl_tar.hrl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
% Copied from https://github.com/erlang/otp/blob/OTP-20.0.1/lib/stdlib/src/erl_tar.hrl

+ 1
- 1
src/r3_hex_filename.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
% @private
% Excerpt from https://github.com/erlang/otp/blob/OTP-20.0.1/lib/stdlib/src/filename.erl#L761-L788

+ 1
- 1
src/r3_hex_http.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_http).
-export([request/5]).

+ 1
- 1
src/r3_hex_http_httpc.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% @hidden

+ 1
- 1
src/r3_hex_pb_names.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% -*- coding: utf-8 -*-
%% Automatically generated, do not edit

+ 1
- 1
src/r3_hex_pb_package.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% -*- coding: utf-8 -*-
%% Automatically generated, do not edit

+ 1
- 1
src/r3_hex_pb_signed.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% -*- coding: utf-8 -*-
%% Automatically generated, do not edit

+ 1
- 1
src/r3_hex_pb_versions.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%% -*- coding: utf-8 -*-
%% Automatically generated, do not edit

+ 1
- 1
src/r3_hex_registry.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_registry).
-export([

+ 4
- 2
src/r3_hex_repo.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_repo).
-export([
@ -161,7 +161,9 @@ tarball_url(Config, Name, Version) ->
build_url(#{repo_url := URI, repo_organization := Org}, Path) when is_binary(Org) ->
<<URI/binary, "/repos/", Org/binary, "/", Path/binary>>;
build_url(#{repo_url := URI, repo_organization := undefined}, Path) ->
<<URI/binary, "/", Path/binary>>.
<<URI/binary, "/", Path/binary>>;
build_url(Config, Path) ->
build_url(Config#{repo_organization => undefined}, Path).
tarball_filename(Name, Version) ->
<<Name/binary, "-", Version/binary, ".tar">>.

+ 1
- 1
src/r3_hex_tarball.erl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
-module(r3_hex_tarball).
-export([create/2, create_docs/1, unpack/2, format_checksum/1, format_error/1]).

+ 1
- 1
src/r3_safe_erl_term.xrl 查看文件

@ -1,4 +1,4 @@
%% Vendored from hex_core v0.5.0, do not edit manually
%% Vendored from hex_core v0.5.1, do not edit manually
%%% Author : Robert Virding
%%% Purpose : Token definitions for Erlang.

Loading…
取消
儲存