From d1ecb76cdccb9c7599a477b8b606b0f28869f01d Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Sat, 6 May 2023 10:53:31 -0400 Subject: [PATCH] Update to lucky 1.0.0-rc1 --- shard.lock | 42 +++++++++++++++++++----------- shard.yml | 12 ++++----- spec/setup/configure_lucky_flow.cr | 4 +-- spec/spec_helper.cr | 2 ++ src/version.cr | 2 +- tasks.cr | 1 + 6 files changed, 39 insertions(+), 24 deletions(-) diff --git a/shard.lock b/shard.lock index aff3c9c..3a214d8 100644 --- a/shard.lock +++ b/shard.lock @@ -2,31 +2,27 @@ version: 2.0 shards: authentic: git: https://github.com/luckyframework/authentic.git - version: 0.8.2 + version: 0.9.0 avram: git: https://github.com/luckyframework/avram.git - version: 0.23.0 + version: 1.0.0 backtracer: git: https://github.com/sija/backtracer.cr.git - version: 1.2.1 + version: 1.2.2 cadmium_transliterator: git: https://github.com/cadmiumcr/transliterator.git version: 0.1.0+git.commit.46c4c14594057dbcfaf27e7e7c8c164d3f0ce3f1 - carbon: - git: https://github.com/luckyframework/carbon.git - version: 0.2.1 - cry: git: https://github.com/luckyframework/cry.git version: 0.4.3 crystar: git: https://github.com/naqvis/crystar.git - version: 0.2.0 + version: 0.2.0+git.commit.56db8bb9dfbd5ed6d7908353405a5fae632a6561 db: git: https://github.com/crystal-lang/crystal-db.git @@ -38,15 +34,23 @@ shards: exception_page: git: https://github.com/crystal-loot/exception_page.git - version: 0.2.2 + version: 0.3.0 + + fnv: + git: https://github.com/naqvis/crystal-fnv.git + version: 0.1.3 habitat: git: https://github.com/luckyframework/habitat.git version: 0.4.7 + html5: + git: https://github.com/naqvis/crystal-html5.git + version: 0.4.0 + lucky: git: https://github.com/luckyframework/lucky.git - version: 0.30.1 + version: 1.0.0 lucky_cache: git: https://github.com/luckyframework/lucky_cache.git @@ -58,11 +62,11 @@ shards: lucky_flow: git: https://github.com/luckyframework/lucky_flow.git - version: 0.7.3 + version: 0.9.0 lucky_router: git: https://github.com/luckyframework/lucky_router.git - version: 0.5.1 + version: 0.5.2 lucky_task: git: https://github.com/luckyframework/lucky_task.git @@ -82,7 +86,7 @@ shards: selenium: git: https://github.com/matthewmcgarvey/selenium.cr.git - version: 0.9.1 + version: 0.10.0 shell-table: git: https://github.com/luckyframework/shell-table.cr.git @@ -98,9 +102,17 @@ shards: webdrivers: git: https://github.com/matthewmcgarvey/webdrivers.cr.git - version: 0.4.0 + version: 0.4.1 + + webless: + git: https://github.com/matthewmcgarvey/webless.git + version: 0.1.0 wordsmith: git: https://github.com/luckyframework/wordsmith.git - version: 0.3.0 + version: 0.4.0 + + xpath2: + git: https://github.com/naqvis/crystal-xpath2.git + version: 0.1.3 diff --git a/shard.yml b/shard.yml index 24bbe56..dafb21a 100644 --- a/shard.yml +++ b/shard.yml @@ -13,13 +13,13 @@ crystal: 1.5.0 dependencies: lucky: github: luckyframework/lucky - version: ~> 0.30.1 + version: ~> 1.0.0-rc1 + avram: + github: luckyframework/avram + version: ~> 1.0.0-rc1 authentic: github: luckyframework/authentic - version: ~> 0.8.2 - carbon: - github: luckyframework/carbon - version: ~> 0.2.0 + version: ~> 0.9.0 lucky_env: github: luckyframework/lucky_env version: ~> 0.1.4 @@ -31,4 +31,4 @@ dependencies: development_dependencies: lucky_flow: github: luckyframework/lucky_flow - version: ~> 0.7.3 + version: ~> 0.9.0 diff --git a/spec/setup/configure_lucky_flow.cr b/spec/setup/configure_lucky_flow.cr index cc9e935..d651d9d 100644 --- a/spec/setup/configure_lucky_flow.cr +++ b/spec/setup/configure_lucky_flow.cr @@ -4,10 +4,10 @@ LuckyFlow.configure do |settings| settings.stop_retrying_after = 200.milliseconds settings.base_uri = Lucky::RouteHelper.settings.base_uri - + # By default, LuckyFlow is set in "headless" mode (no browser window shown). # Uncomment this to enable running `LuckyFlow` in a Google Chrome window instead. # Be sure to disable for CI. # settings.driver = LuckyFlow::Drivers::Chrome end -Spec.before_each { LuckyFlow::Server::INSTANCE.reset } +LuckyFlow::Spec.setup \ No newline at end of file diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index 1a9cc7e..f64b64a 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -2,6 +2,8 @@ ENV["LUCKY_ENV"] = "test" ENV["DEV_PORT"] = "5001" require "spec" require "lucky_flow" +require "lucky_flow/ext/lucky" +require "lucky_flow/ext/avram" require "../src/app" require "./support/flows/base_flow" require "./support/**" diff --git a/src/version.cr b/src/version.cr index e38ca6b..9fa3801 100644 --- a/src/version.cr +++ b/src/version.cr @@ -1,3 +1,3 @@ module Scribe - VERSION = "2023-03-25" + VERSION = "2023-05-06" end diff --git a/tasks.cr b/tasks.cr index c192d8a..176c5ae 100644 --- a/tasks.cr +++ b/tasks.cr @@ -7,5 +7,6 @@ require "lucky_task" require "./tasks/**" require "./db/migrations/**" require "lucky/tasks/**" +require "avram/lucky/tasks" LuckyTask::Runner.run