From fbbdd31bcd84b69ba47307cb6a3837931a4b81aa Mon Sep 17 00:00:00 2001 From: Matthew McGarvey Date: Mon, 22 Nov 2021 10:55:32 -0600 Subject: [PATCH] Make Avram a real dependency (#69) --- config.cr | 2 -- shard.yml | 6 +++--- spec/spec_helper.cr | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config.cr b/config.cr index 33f4ae3..176cda3 100644 --- a/config.cr +++ b/config.cr @@ -1,5 +1,3 @@ -require "avram" - database = "authentic_test" class AppDatabase < Avram::Database diff --git a/shard.yml b/shard.yml index 90896bb..87a4475 100644 --- a/shard.yml +++ b/shard.yml @@ -12,14 +12,14 @@ dependencies: lucky: github: luckyframework/lucky version: ~> 0.28.0 + avram: + github: luckyframework/avram + version: ~> 0.21.0 habitat: github: luckyframework/habitat version: ~> 0.4.7 development_dependencies: - avram: - github: luckyframework/avram - version: ~> 0.21.0 ameba: github: crystal-ameba/ameba version: ~> 0.14.2 diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index 16730c2..3ef7f29 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -1,6 +1,6 @@ require "spec" -require "../config" require "../src/authentic" +require "../config" require "./support/**" Spec.before_each do