Skip to content

Commit

Permalink
Prepare for fork
Browse files Browse the repository at this point in the history
As I'd like to publish another Hex package that depends on the
upstream elixir_nsq + some fixes, it looks like the only way to
do that is to fork upstream and push that as a new package.
  • Loading branch information
clarkema committed Aug 12, 2017
1 parent 1cae65b commit cb399c4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 14 additions & 8 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ defmodule ElixirNsq.Mixfile do
use Mix.Project

def project do
[app: :elixir_nsq,
version: "1.0.3",
[app: :ex_nsq,
version: "1.1.0",
elixir: "~> 1.1",
description: description(),
package: package(),
Expand Down Expand Up @@ -35,29 +35,35 @@ defmodule ElixirNsq.Mixfile do
{:httpotion, "~> 2.1.0"},
{:uuid, "~> 1.1.2"},
{:socket, "~> 0.3.1"},
{:ex_doc, ">= 0.0.0", only: :dev},


# testing
{:secure_random, "~> 0.2", only: :test},

# Small HTTP server for running tests
{:http_server, github: "parroty/http_server"},
{:http_server, github: "parroty/http_server", only: :test},
]
end

defp description do
"""
A client library for NSQ, `elixir_nsq` aims to be complete, easy to use,
and well tested. Developed at Wistia (http://wistia.com).
A client library for NSQ, `ex_nsq` aims to be complete, easy to use,
and well tested.
Originally developed at Wistia (http://wistia.com) as `elixir_nsq`,
`ex_nsq` was forked to make a version with merged PRs and updated
dependencies available on Hex.pm for other projects to depend upon.
"""
end

defp package do
[
files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
maintainers: ["Max Schnur ([email protected])"],
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Mike Clarke"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/wistia/elixir_nsq"
"GitHub" => "https://github.com/lambdafn/ex_nsq"
},
]
end
Expand Down
2 changes: 2 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
%{"connection": {:hex, :connection, "1.0.1"},
"cowboy": {:hex, :cowboy, "1.0.4", "a324a8df9f2316c833a470d918aaf73ae894278b8aa6226ce7a9bf699388f878", [:make, :rebar], [{:cowlib, "~> 1.0.0", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.0", [hex: :ranch, optional: false]}]},
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []},
"earmark": {:hex, :earmark, "1.2.3", "206eb2e2ac1a794aa5256f3982de7a76bf4579ff91cb28d0e17ea2c9491e46a4", [:mix], []},
"ex_doc": {:hex, :ex_doc, "0.16.2", "3b3e210ebcd85a7c76b4e73f85c5640c011d2a0b2f06dcdf5acdb2ae904e5084", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]},
"http_server": {:git, "https://github.com/parroty/http_server.git", "922d10420836a51289ed04f0bb5022bf695da1ab", []},
"httpotion": {:hex, :httpotion, "2.1.0", "3fe84fbd13d4560c2514da656d022b1191a079178ee4992d245fc3c33c01ee18", [:mix], []},
"ibrowse": {:hex, :ibrowse, "4.4.0", "2d923325efe0d2cb09b9c6a047b2835a5eda69d8a47ed6ff8bc03628b764e991", [:rebar3], []},
Expand Down

0 comments on commit cb399c4

Please sign in to comment.