Skip to content

Commit

Permalink
Retire vendored version of circular_buffer
Browse files Browse the repository at this point in the history
All of the changes to CircularBuffer from this project are finally
upstream in `circular_buffer`, so there's no reason to vendor it any
more. Additionally, upstream `circular_buffer` has quite a few more
tests than what this project ever had, so it should be easier to
maintain there.
  • Loading branch information
fhunleth committed Jun 1, 2021
1 parent 9ffc259 commit 8b5aa55
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 141 deletions.
140 changes: 0 additions & 140 deletions lib/ring_logger/circular_buffer.ex

This file was deleted.

2 changes: 1 addition & 1 deletion lib/ring_logger/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule RingLogger.Server do
@moduledoc false
@default_max_size 1024

alias RingLogger.{CircularBuffer, Client}
alias RingLogger.Client

defmodule State do
@moduledoc false
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ defmodule RingLogger.MixProject do

defp deps do
[
{:circular_buffer, "~> 0.4.0"},
{:ex_doc, "~> 0.18", only: :docs, runtime: false},
{:dialyxir, "~> 1.1.0", only: :dev, runtime: false}
]
Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%{
"circular_buffer": {:hex, :circular_buffer, "0.4.0", "a51ea76bb03c4a38207934264bcc600018ead966728ca80da731458c5f940f8b", [:mix], [], "hexpm", "c604b19f2101982b63264e2ed90c6fb0fe502540b6af83ce95135ac9b6f2d847"},
"dialyxir": {:hex, :dialyxir, "1.1.0", "c5aab0d6e71e5522e77beff7ba9e08f8e02bad90dfbeffae60eaf0cb47e29488", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "07ea8e49c45f15264ebe6d5b93799d4dd56a44036cf42d0ad9c960bc266c0b9a"},
"earmark_parser": {:hex, :earmark_parser, "1.4.13", "0c98163e7d04a15feb62000e1a891489feb29f3d10cb57d4f845c405852bbef8", [:mix], [], "hexpm", "d602c26af3a0af43d2f2645613f65841657ad6efc9f0e361c3b6c06b578214ba"},
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
Expand Down

0 comments on commit 8b5aa55

Please sign in to comment.