diff --git a/CHANGELOG.md b/CHANGELOG.md index 7895775..136f8f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,8 +62,8 @@ project adheres to [Semantic Versioning][semver]. ## v0.10.3 -- fixed: Handle unique cosntraint error formats. -- changed: Updated depenendencies. +- fixed: Handle unique constraint error formats. +- changed: Updated dependencies. ## v0.10.2 @@ -130,7 +130,7 @@ project adheres to [Semantic Versioning][semver]. - added: `:time` decode support. ## v0.7.1 -- fixed: Backport of default drops to `:restrict` are now backwards compatible with older versions of `ecto_sql`. We don't really have support for `drop index ... cascade` as it is not in the grammer of sqlite. +- fixed: Backport of default drops to `:restrict` are now backwards compatible with older versions of `ecto_sql`. We don't really have support for `drop index ... cascade` as it is not in the grammar of sqlite. ## v0.7.0 - changed: update dependencies to the latest. diff --git a/README.md b/README.md index 51c7855..ec687f7 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Running unit tests mix test ``` -Runing integration tests +Running integration tests ```sh EXQLITE_INTEGRATION=true mix test diff --git a/integration_test/test_helper.exs b/integration_test/test_helper.exs index ebe16d3..1805346 100644 --- a/integration_test/test_helper.exs +++ b/integration_test/test_helper.exs @@ -81,7 +81,7 @@ excludes = [ # SQLite will return a string for schemaless map types as # Ecto does not have enough information to call the associated loader - # that converts the string JSON representaiton into a map + # that converts the string JSON representation into a map :map_type_schemaless, # right now in lock_for_migrations() we do effectively nothing, this is because diff --git a/lib/ecto/adapters/sqlite3.ex b/lib/ecto/adapters/sqlite3.ex index 75da941..6e63bba 100644 --- a/lib/ecto/adapters/sqlite3.ex +++ b/lib/ecto/adapters/sqlite3.ex @@ -124,7 +124,7 @@ defmodule Ecto.Adapters.SQLite3 do ### Case sensitivity - Case sensitivty for `LIKE` is off by default, and controlled by the `:case_sensitive_like` + Case sensitivity for `LIKE` is off by default, and controlled by the `:case_sensitive_like` option outlined above. However, for equality comparison, case sensitivity is always _on_. diff --git a/test/ecto/adapters/sqlite3/connection/interesect_test.exs b/test/ecto/adapters/sqlite3/connection/intersect_test.exs similarity index 100% rename from test/ecto/adapters/sqlite3/connection/interesect_test.exs rename to test/ecto/adapters/sqlite3/connection/intersect_test.exs diff --git a/test/ecto/adapters/sqlite3/connection/to_constraints_test.exs b/test/ecto/adapters/sqlite3/connection/to_constraints_test.exs index 1428059..ae914d7 100644 --- a/test/ecto/adapters/sqlite3/connection/to_constraints_test.exs +++ b/test/ecto/adapters/sqlite3/connection/to_constraints_test.exs @@ -1,4 +1,4 @@ -defmodule Ecto.Adapters.SQLite3.Connection.ToCosntraintsTest do +defmodule Ecto.Adapters.SQLite3.Connection.ToConstraintsTest do use ExUnit.Case, async: true alias Ecto.Adapters.SQLite3.Connection diff --git a/test/ecto/adapters/sqlite3/connection/windowing_test.exs b/test/ecto/adapters/sqlite3/connection/windowing_test.exs index 87e6e2e..af30b55 100644 --- a/test/ecto/adapters/sqlite3/connection/windowing_test.exs +++ b/test/ecto/adapters/sqlite3/connection/windowing_test.exs @@ -98,7 +98,7 @@ defmodule Ecto.Adapters.SQLite3.Connection.WindowingTest do ~s{ORDER BY s0."x")} == all(query) end - test "partition by ond order by over" do + test "partition by one order by over" do query = Schema |> select([r], count(r.x) |> over(partition_by: [r.x, r.z], order_by: r.x))