Skip to content

Commit bdc9620

Browse files
committed
Prepare for fork
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.
1 parent 1cae65b commit bdc9620

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

mix.exs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ defmodule ElixirNsq.Mixfile do
22
use Mix.Project
33

44
def project do
5-
[app: :elixir_nsq,
6-
version: "1.0.3",
5+
[app: :ex_nsq,
6+
version: "1.1.0",
77
elixir: "~> 1.1",
88
description: description(),
99
package: package(),
@@ -35,29 +35,35 @@ defmodule ElixirNsq.Mixfile do
3535
{:httpotion, "~> 2.1.0"},
3636
{:uuid, "~> 1.1.2"},
3737
{:socket, "~> 0.3.1"},
38+
{:ex_doc, ">= 0.0.0", only: :dev},
39+
3840

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

4244
# Small HTTP server for running tests
43-
{:http_server, github: "parroty/http_server"},
45+
{:http_server, github: "parroty/http_server", only: :test},
4446
]
4547
end
4648

4749
defp description do
4850
"""
49-
A client library for NSQ, `elixir_nsq` aims to be complete, easy to use,
50-
and well tested. Developed at Wistia (http://wistia.com).
51+
A client library for NSQ, `ex_nsq` aims to be complete, easy to use,
52+
and well tested.
53+
54+
Originally developed at Wistia (http://wistia.com) as `elixir_nsq`,
55+
`ex_nsq` was forked to make a version with merged PRs and updated
56+
dependencies available on Hex.pm for other projects to depend upon.
5157
"""
5258
end
5359

5460
defp package do
5561
[
56-
files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
57-
maintainers: ["Max Schnur (max@wistia.com)"],
62+
files: ["lib", "mix.exs", "README*", "LICENSE*"],
63+
maintainers: ["Mike Clarke (mike@lambdafunctions.com)"],
5864
licenses: ["MIT"],
5965
links: %{
60-
"GitHub" => "https://github.com/wistia/elixir_nsq"
66+
"GitHub" => "https://github.com/lambdafn/ex_nsq"
6167
},
6268
]
6369
end

mix.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
%{"connection": {:hex, :connection, "1.0.1"},
22
"cowboy": {:hex, :cowboy, "1.0.4", "a324a8df9f2316c833a470d918aaf73ae894278b8aa6226ce7a9bf699388f878", [:make, :rebar], [{:cowlib, "~> 1.0.0", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.0", [hex: :ranch, optional: false]}]},
33
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []},
4+
"earmark": {:hex, :earmark, "1.2.3", "206eb2e2ac1a794aa5256f3982de7a76bf4579ff91cb28d0e17ea2c9491e46a4", [:mix], []},
5+
"ex_doc": {:hex, :ex_doc, "0.16.2", "3b3e210ebcd85a7c76b4e73f85c5640c011d2a0b2f06dcdf5acdb2ae904e5084", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]},
46
"http_server": {:git, "https://github.com/parroty/http_server.git", "922d10420836a51289ed04f0bb5022bf695da1ab", []},
57
"httpotion": {:hex, :httpotion, "2.1.0", "3fe84fbd13d4560c2514da656d022b1191a079178ee4992d245fc3c33c01ee18", [:mix], []},
68
"ibrowse": {:hex, :ibrowse, "4.4.0", "2d923325efe0d2cb09b9c6a047b2835a5eda69d8a47ed6ff8bc03628b764e991", [:rebar3], []},

0 commit comments

Comments
 (0)