Skip to content

Instantly share code, notes, and snippets.

@dgoldie
Created August 31, 2014 17:41
Show Gist options
  • Save dgoldie/25d3ca6668a1779bc816 to your computer and use it in GitHub Desktop.
Save dgoldie/25d3ca6668a1779bc816 to your computer and use it in GitHub Desktop.
upgrade phoenix
defmodule Thor.Mixfile do
use Mix.Project
def project do
[ app: :thor,
version: "0.0.1",
elixir: "0.15.1",
elixirc_paths: ["lib", "web"],
deps: deps ]
end
# Configuration for the OTP application
def application do
[
mod: { Thor, [] },
applications: [:phoenix, :postgrex, :ecto, :logger ]
]
end
# Returns the list of dependencies in the format:
# { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" }
#
# To specify particular versions, regardless of the tag, do:
# { :barbat, "~> 0.1", github: "elixir-lang/barbat" }
defp deps do
[
{:phoenix, "0.4.0"},
# {:phoenix, github: "phoenixframework/phoenix"},
# {:cowboy, "~> 0.10.0", github: "extend/cowboy", optional: true},
{:cowboy, "~> 1.0.0"},
{:oauthex, github: "dgoldie/oauthex"},
{:httpoison, github: "edgurgel/httpoison"},
{:sweet_xml, github: "dgoldie/sweet_xml"},
# {:apex, github: "BjRo/apex"},
# {:postgrex, github: "ericmj/postgrex"},
{:postgrex, "~> 0.5.4"},
# {:ecto, github: "elixir-lang/ecto"},
{:ecto, "~> 0.2.3"},
# {:timex, github: "bitwalker/timex"}
{:timex, "~> 0.11.0"}
]
end
end
$ cat mix.lock
%{"apex": {:git, "git://github.com/BjRo/apex.git", "ca3cfbcf4473a4314d8dfa7f4bed610be652a03b", []},
"cowboy": {:package, "1.0.0"},
"cowlib": {:package, "1.0.0"},
"decimal": {:package, "0.2.4"},
"ecto": {:package, "0.2.3"},
"exlager": {:git, "git://github.com/khia/exlager.git", "dca404300b04d2ad8f42e9ecc6f4c757e169071f", []},
"goldrush": {:git, "git://github.com/DeadZen/goldrush.git", "71e63212f12c25827e0c1b4198d37d5d018a7fec", [tag: "0.1.6"]},
"hackney": {:package, "0.13.1"},
"hackney_lib": {:git, "https://github.com/benoitc/hackney_lib.git", "48a5a3fc64892c95e4e3efdd464f26ca5683d2f9", [tag: "0.3.0"]},
"httpoison": {:git, "git://github.com/edgurgel/httpoison.git", "35c7ad9dcf294316ad9e4b3400603e2aac956a82", []},
"idna": {:package, "1.0.1"},
"inflex": {:package, "0.2.4"},
"jazz": {:package, "0.2.0"},
"lager": {:git, "https://github.com/basho/lager.git", "dd267603e93e8babe9ef9164fc176b430d669431", []},
"linguist": {:package, "0.1.1"},
"oauth": {:git, "git://github.com/tim/erlang-oauth.git", "2ee206ea921722893200a0ad534c6b6130233325", []},
"oauthex": {:git, "git://github.com/dgoldie/oauthex.git", "202399c92ac6407e610e9e4a96122ece6f38691b", []},
"plug": {:package, "0.5.3"},
"poolboy": {:package, "1.2.1"},
"postgrex": {:package, "0.5.4"},
"ranch": {:package, "1.0.0"},
"sweet_xml": {:git, "git://github.com/dgoldie/sweet_xml.git", "2c1fd86de961b0f962d49a1dcc581473632bb252", []},
"timex": {:package, "0.11.0"},
"xml_sugar": {:git, "git://github.com/gniquil/xml_sugar.git", "130421c93f24413aafc8fbe4022b6e8f140ccffd", []}}
2.1.2 apollo:~/code/work/fbrain/thor (master)!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment