Current section

26 Versions

Jump to

Compare versions

3 files changed
+13 additions
-13 deletions
  @@ -1,6 +1,6 @@
1 1 {<<"links">>,[{<<"GitHub">>,<<"https://github.com/bartblast/hologram">>}]}.
2 2 {<<"name">>,<<"hologram">>}.
3 - {<<"version">>,<<"0.5.0">>}.
3 + {<<"version">>,<<"0.5.1">>}.
4 4 {<<"description">>,
5 5 <<"Full stack isomorphic Elixir web framework that can be used on top of Phoenix.">>}.
6 6 {<<"elixir">>,<<"~> 1.0">>}.
  @@ -15,8 +15,8 @@ defmodule Hologram.Runtime.Connection do
15 15
16 16 connection_id = UUID.uuid4()
17 17
18 - context = gproc_context(Hologram.env())
19 - :gproc.reg({:n, context, {:hologram_connection, connection_id}})
18 + # context = gproc_context(Hologram.env())
19 + # :gproc.reg({:n, context, {:hologram_connection, connection_id}})
20 20
21 21 state = %{
22 22 connection_id: connection_id,
  @@ -53,13 +53,13 @@ defmodule Hologram.Runtime.Connection do
53 53 {:ok, state}
54 54 end
55 55
56 - @impl WebSock
57 - def terminate(_reason, state) do
58 - context = gproc_context(Hologram.env())
59 - :gproc.unreg({:n, context, {:hologram_connection, state.connection_id}})
56 + # @impl WebSock
57 + # def terminate(_reason, state) do
58 + # context = gproc_context(Hologram.env())
59 + # :gproc.unreg({:n, context, {:hologram_connection, state.connection_id}})
60 60
61 - :ok
62 - end
61 + # :ok
62 + # end
63 63
64 64 defp decode(message) do
65 65 case Jason.decode!(message) do
  @@ -83,11 +83,11 @@ defmodule Hologram.Runtime.Connection do
83 83 Jason.encode!([type, payload, correlation_id])
84 84 end
85 85
86 - defp gproc_context(:dev), do: :l
86 + # defp gproc_context(:dev), do: :l
87 87
88 - defp gproc_context(:test), do: :l
88 + # defp gproc_context(:test), do: :l
89 89
90 - defp gproc_context(_env), do: :g
90 + # defp gproc_context(_env), do: :g
91 91
92 92 defp handle_message("page_bundle_path", page_module, connection_state) do
93 93 page_bundle_path =
  @@ -2,7 +2,7 @@
2 2 defmodule Hologram.MixProject do
3 3 use Mix.Project
4 4
5 - @version "0.5.0"
5 + @version "0.5.1"
6 6
7 7 defp aliases do
8 8 [