You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by do...@apache.org on 2021/01/03 11:42:53 UTC

[couchdb] branch main updated (af436c1 -> a89242d)

This is an automated email from the ASF dual-hosted git repository.

dottorblaster pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from af436c1  Goodbye 2020. Hello 2021. YES. (#3318)
     new 7f2feb0  Upgrade Credo to 1.5.4
     new 0eff137  Add to credo ignores and gitignore new file_system dependency
     new a89242d  Switch from assert length === 0 to Enum.empty? as Credo suggests

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .credo.exs                         | 1 +
 .gitignore                         | 1 +
 mix.exs                            | 2 +-
 mix.lock                           | 5 +++--
 test/elixir/test/all_docs_test.exs | 2 +-
 5 files changed, 7 insertions(+), 4 deletions(-)


[couchdb] 01/03: Upgrade Credo to 1.5.4

Posted by do...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dottorblaster pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 7f2feb062a204f080b004ccb166b50333fb78864
Author: Alessio Biancalana <do...@gmail.com>
AuthorDate: Fri Dec 18 23:36:31 2020 +0100

    Upgrade Credo to 1.5.4
---
 mix.exs  | 2 +-
 mix.lock | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/mix.exs b/mix.exs
index c454df3..9cba1a4 100644
--- a/mix.exs
+++ b/mix.exs
@@ -93,7 +93,7 @@ defmodule CouchDBTest.Mixfile do
       {:jwtf, path: Path.expand("src/jwtf", __DIR__)},
       {:ibrowse,
        path: Path.expand("src/ibrowse", __DIR__), override: true, compile: false},
-      {:credo, "~> 1.4.0", only: [:dev, :test, :integration], runtime: false}
+      {:credo, "~> 1.5.4", only: [:dev, :test, :integration], runtime: false}
     ]
   end
 
diff --git a/mix.lock b/mix.lock
index 8b6489f..505d7f2 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,13 +1,14 @@
 %{
   "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
   "certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm", "805abd97539caf89ec6d4732c91e62ba9da0cda51ac462380bbd28ee697a8c42"},
-  "credo": {:hex, :credo, "1.4.0", "92339d4cbadd1e88b5ee43d427b639b68a11071b6f73854e33638e30a0ea11f5", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "1fd3b70dce216574ce3c18bdf510b57e7c4c85c2ec9cad4bff854abaf7e58658"},
+  "credo": {:hex, :credo, "1.5.4", "9914180105b438e378e94a844ec3a5088ae5875626fc945b7c1462b41afc3198", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "cf51af45eadc0a3f39ba13b56fdac415c91b34f7b7533a13dc13550277141bc4"},
   "excoveralls": {:hex, :excoveralls, "0.12.1", "a553c59f6850d0aff3770e4729515762ba7c8e41eedde03208182a8dc9d0ce07", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "5c1f717066a299b1b732249e736c5da96bb4120d1e55dc2e6f442d251e18a812"},
+  "file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
   "hackney": {:hex, :hackney, "1.15.2", "07e33c794f8f8964ee86cebec1a8ed88db5070e52e904b8f12209773c1036085", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.5", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm", "e0100 [...]
   "httpotion": {:hex, :httpotion, "3.1.3", "fdaf1e16b9318dcb722de57e75ac368c93d4c6e3c9125f93e960f953a750fb77", [:mix], [{:ibrowse, "== 4.4.0", [hex: :ibrowse, repo: "hexpm", optional: false]}], "hexpm", "e420172ef697a0f1f4dc40f89a319d5a3aad90ec51fa424f08c115f04192ae43"},
   "ibrowse": {:hex, :ibrowse, "4.4.0", "2d923325efe0d2cb09b9c6a047b2835a5eda69d8a47ed6ff8bc03628b764e991", [:rebar3], [], "hexpm"},
   "idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "4bdd305eb64e18b0273864920695cb18d7a2021f31a11b9c5fbcd9a253f936e2"},
-  "jason": {:hex, :jason, "1.2.1", "12b22825e22f468c02eb3e4b9985f3d0cb8dc40b9bd704730efa11abd2708c44", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "b659b8571deedf60f79c5a608e15414085fa141344e2716fbd6988a084b5f993"},
+  "jason": {:hex, :jason, "1.2.2", "ba43e3f2709fd1aa1dce90aaabfd039d000469c05c56f0b8e31978e03fa39052", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "18a228f5f0058ee183f29f9eae0805c6e59d61c3b006760668d8d18ff0d12179"},
   "jiffy": {:hex, :jiffy, "0.15.2", "de266c390111fd4ea28b9302f0bc3d7472468f3b8e0aceabfbefa26d08cd73b7", [:rebar3], [], "hexpm"},
   "junit_formatter": {:hex, :junit_formatter, "3.0.0", "13950d944dbd295da7d8cc4798b8faee808a8bb9b637c88069954eac078ac9da", [:mix], [], "hexpm", "d77b7b9a1601185b18dfe7682b27c46d5d12721f12fdc75180a6fc573b4e64b1"},
   "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},


[couchdb] 03/03: Switch from assert length === 0 to Enum.empty? as Credo suggests

Posted by do...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dottorblaster pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit a89242d0dd8fb149e254c9ad546e1fded602f2dc
Author: Alessio Biancalana <do...@gmail.com>
AuthorDate: Sat Dec 19 18:58:52 2020 +0100

    Switch from assert length === 0 to Enum.empty? as Credo suggests
---
 test/elixir/test/all_docs_test.exs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/elixir/test/all_docs_test.exs b/test/elixir/test/all_docs_test.exs
index 5523565..935859b 100644
--- a/test/elixir/test/all_docs_test.exs
+++ b/test/elixir/test/all_docs_test.exs
@@ -420,7 +420,7 @@ defmodule AllDocsTest do
 
     resp = Couch.get("/#{db_name}/_all_docs", query: %{:end_key => 0}).body
     rows = resp["rows"]
-    assert length(rows) === 0
+    assert Enum.empty?(rows)
   end
 
   defp get_ids(resp) do


[couchdb] 02/03: Add to credo ignores and gitignore new file_system dependency

Posted by do...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dottorblaster pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 0eff137e218bbd711d74267a322d70334f549990
Author: Alessio Biancalana <do...@gmail.com>
AuthorDate: Sat Dec 19 18:56:47 2020 +0100

    Add to credo ignores and gitignore new file_system dependency
---
 .credo.exs | 1 +
 .gitignore | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.credo.exs b/.credo.exs
index 64d281e..ba4bf14 100644
--- a/.credo.exs
+++ b/.credo.exs
@@ -30,6 +30,7 @@
           ~r"/src/jason",
           ~r"/src/hackney",
           ~r"/src/httpotion",
+          ~r"/src/file_system",
           ~r"/src/credo",
           ~r"/src/idna",
           ~r"/src/junit_formatter",
diff --git a/.gitignore b/.gitignore
index 4bc87ec..de31279 100644
--- a/.gitignore
+++ b/.gitignore
@@ -84,6 +84,7 @@ src/ssl_verify_fun/
 src/thrift_protocol/
 src/triq/
 src/unicode_util_compat/
+src/file_system/
 tmp/
 
 src/couch/*.o