Skip to content

Commit

Permalink
Release v0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Apr 10, 2015
1 parent a19fca8 commit 0a6fb70
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## v0.10.2 (2015-04-10)

* Enhancements
* Add `Ecto.DateTime.from_date/1`
* Allow adapter to be configured at the `:repo` level
* Add `--quiet` to `ecto.migrate`, `ecto.create` and `ecto.drop` tasks
* Support `timestampz` type for PostgreSQL

* Bug fixes
* Ensure `:invalid` error shows up as "is invalid" message
* Improve support for "schema.table" queries in MySQL and PostgreSQL

## v0.10.1 (2015-03-25)

* Enhancements
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Ecto.Mixfile do
use Mix.Project

@version "0.10.1"
@version "0.10.2"
@adapters [:pg, :mysql]

def project do
Expand Down
5 changes: 3 additions & 2 deletions test/mix/tasks/ecto.migrate_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ defmodule Mix.Tasks.Ecto.MigrateTest do
end

test "runs the migrator yielding the repository and migrations path" do
run ["-r", to_string(Repo)], fn repo, path, direction, strategy ->
run ["-r", to_string(Repo), "--quiet"], fn repo, path, direction, opts ->
assert repo == Repo
assert path == Application.app_dir(:ecto, "hello/migrations")
assert direction == :up
assert strategy[:all] == true
assert opts[:all] == true
assert opts[:log] == false
end
assert Process.get(:started)
end
Expand Down

0 comments on commit 0a6fb70

Please sign in to comment.