diff --git a/shard.yml b/shard.yml index 27bf20c3..c3d0af88 100644 --- a/shard.yml +++ b/shard.yml @@ -1,6 +1,6 @@ name: granite -version: 0.23.2 +version: 0.23.4 crystal: ">= 1.6.0, < 2.0.0" @@ -13,18 +13,18 @@ license: MIT dependencies: db: github: crystal-lang/crystal-db - version: ~> 0.11.0 + version: ~> 0.13.1 development_dependencies: mysql: github: crystal-lang/crystal-mysql - version: ~> 0.14.0 + version: ~> 0.16.0 sqlite3: github: crystal-lang/crystal-sqlite3 - version: ~> 0.19.0 + version: ~> 0.21.0 pg: github: will/crystal-pg - version: ~> 0.26.0 + version: ~> 0.29.0 ameba: github: crystal-ameba/ameba version: ~> 1.5.0 diff --git a/spec/granite_spec.cr b/spec/granite_spec.cr index 2b40e935..3c61df2a 100644 --- a/spec/granite_spec.cr +++ b/spec/granite_spec.cr @@ -264,8 +264,7 @@ describe Granite::Base do describe "#to_yaml" do it "emits nil values when told" do t = TodoEmitNull.new(name: "test todo", priority: 20) - result = %(---\nid: \nname: test todo\npriority: 20\ncreated_at: \nupdated_at: \n) - + result = %(---\nid:\nname: test todo\npriority: 20\ncreated_at:\nupdated_at:\n) t.to_yaml.should eq result end diff --git a/spec/mocks/db_mock.cr b/spec/mocks/db_mock.cr index 1c2a8646..7f6d8415 100644 --- a/spec/mocks/db_mock.cr +++ b/spec/mocks/db_mock.cr @@ -26,6 +26,7 @@ end class FakeConnection < DB::Connection def initialize + super(DB::Connection::Options.new) @context = FakeContext.new @prepared_statements = false end diff --git a/src/granite/version.cr b/src/granite/version.cr index 2be44f48..fb12f2ad 100644 --- a/src/granite/version.cr +++ b/src/granite/version.cr @@ -1,3 +1,3 @@ module Granite - VERSION = "0.23.1" + VERSION = {{ `shards version #{__DIR__}`.strip.stringify }} end