From d3c8acec4871ac831b670511571e10516cab671f Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:18:22 +0800 Subject: [PATCH 1/2] fixes tests (#249) --- prologue.nimble | 2 +- src/prologue/security/hasher.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prologue.nimble b/prologue.nimble index 7a499fa58..401268a7f 100644 --- a/prologue.nimble +++ b/prologue.nimble @@ -8,7 +8,7 @@ srcDir = "src" # Dependencies -requires "nim >= 1.6.0" +requires "nim >= 2.0.0" requires "regex >= 0.20.0" requires "nimcrypto >= 0.5.4" requires "cookiejar >= 0.2.0" diff --git a/src/prologue/security/hasher.nim b/src/prologue/security/hasher.nim index 4e3557f1b..ded8e24a0 100644 --- a/src/prologue/security/hasher.nim +++ b/src/prologue/security/hasher.nim @@ -16,7 +16,7 @@ import std/[strformat, strutils] -import pkg/nimcrypto/pbkdf2 +import pkg/nimcrypto/[pbkdf2, sha, sha2] from ../core/types import SecretKey from ../core/encode import base64Encode From 2bb4b23839ebd391d8f4f85ebd3871779ce702e9 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:18:41 +0800 Subject: [PATCH 2/2] Delete .circleci directory (#250) --- .circleci/config.yml | 74 -------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 3ea23b322..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,74 +0,0 @@ -version: 2 -jobs: - build: - working_directory: /usr/src/prologue - docker: - - image: nimlang/nim - steps: - - checkout - - run: - name: refresh - command: nimble refresh - - run: - name: intall - command: nimble install -y - - run: - name: extension - command: nimble extension - - run: - name: compile - command: nimble tcompile - - run: - name: readme - command: nimble treadme - - run: - name: examples - command: nimble texamples - - build_alpine: - working_directory: /usr/src/prologue - docker: - - image: nimlang/nim:alpine - steps: - - checkout - - run: - name: refresh - command: nimble refresh - - run: - name: intall - command: nimble install -y - - run: - name: extension - command: nimble extension - - run: - name: compile - command: nimble tcompile - - run: - name: readme - command: nimble treadme - - run: - name: examples - command: nimble texamples - - test_app: - working_directory: /usr/src/prologue - docker: - - image: nimlang/nim - steps: - - checkout - - run: - name: refresh - command: nimble refresh - - run: - name: intall - command: nimble install -y - - run: - name: extension - command: nimble extension - -workflows: - version: 2 - build_and_test: - jobs: - - build - - build_alpine