Skip to content

Commit

Permalink
Merge pull request #15 from toyokumo/bump-deps
Browse files Browse the repository at this point in the history
Bump lib versions
  • Loading branch information
egs33 authored Mar 8, 2023
2 parents 0c96d89 + 91a55ac commit 758b307
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: DeLaGuardo/setup-clj-kondo@master
with:
version: '2022.04.25'
version: '2023.02.17'

- name: Show versions
run: |
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ jobs:
CLOJARS_USERNAME: ${{secrets.CLOJARS_USERNAME}}

- name: Create tag and release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ steps.deploy.outputs.version }}
release_name: ${{ steps.deploy.outputs.version }}
body: released
draft: false
prerelease: false
tag: ${{ steps.deploy.outputs.version }}
skipIfReleaseExists: true
generateReleaseNotes: true

- name: Update documents
run: |
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

## [Unreleased]
### Changed
* Bump library versions.

## 0.5.99
### Added
Expand Down
20 changes: 10 additions & 10 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/core.async {:mvn/version "1.3.610"}
org.clojure/tools.logging {:mvn/version "1.1.0"}
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"}
com.cognitect.aws/api {:mvn/version "0.8.484"}
com.cognitect.aws/endpoints {:mvn/version "1.1.11.926"}
com.cognitect.aws/sqs {:mvn/version "810.2.817.0"}}
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
org.clojure/core.async {:mvn/version "1.6.673"}
org.clojure/tools.logging {:mvn/version "1.2.4"}
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}
com.cognitect.aws/api {:mvn/version "0.8.652"}
com.cognitect.aws/endpoints {:mvn/version "1.1.12.415"}
com.cognitect.aws/sqs {:mvn/version "822.2.1109.0"}}

:aliases
{:dev {:extra-paths ["test" "dev-resources"]
:extra-deps {aero/aero {:mvn/version "1.1.6"}
spootnik/unilog {:mvn/version "0.7.27"}
lambdaisland/kaocha {:mvn/version "1.60.977"}}}
spootnik/unilog {:mvn/version "0.7.31"}
lambdaisland/kaocha {:mvn/version "1.80.1274"}}}

:test {:main-opts ["-m" "kaocha.runner"]}

:outdated {:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}
:main-opts ["-m" "antq.core"]}

:build {:deps {com.github.liquidz/build.edn {:git/tag "0.3.90" :git/sha "e3a3e31"}}
:build {:deps {com.github.liquidz/build.edn {:git/tag "0.9.203" :git/sha "b276908"}}
:ns-default build-edn.main}}}
2 changes: 1 addition & 1 deletion src/gluttony/record/consumer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[gluttony.record.message :as r.msg]
[gluttony.sqs :as sqs])
(:import
(cognitect.aws.client
(cognitect.aws.client.impl
Client)))

(defn- start-receivers
Expand Down
4 changes: 2 additions & 2 deletions src/gluttony/sqs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
[camel-snake-kebab.core :as csk]
[camel-snake-kebab.extras :as cske]
[clojure.core.async :as a]
[cognitect.aws.client.api.async :as aws-async]))
[cognitect.aws.client.api :as aws]))

(defn- invoke-async
[client op-map]
(let [op-map (update op-map :request #(cske/transform-keys csk/->PascalCaseKeyword %))]
(a/go
(when-let [res (a/<! (aws-async/invoke client op-map))]
(when-let [res (a/<! (aws/invoke-async client op-map))]
(cske/transform-keys csk/->kebab-case-keyword res)))))

(defn receive-message
Expand Down
10 changes: 5 additions & 5 deletions test/gluttony/sqs_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"KmsMasterKeyId"
"KmsDataKeyReusePeriodSeconds"
"DeduplicationScope"
"FifoThroughputLimit"]]]
"FifoThroughputLimit"
"RedriveAllowPolicy"
"SqsManagedSseEnabled"]]]
:MaxNumberOfMessages 'integer
:MessageAttributeNames [:seq-of 'string]
:QueueUrl 'string
Expand Down Expand Up @@ -69,8 +71,7 @@
:request {:QueueUrl 'string
:ReceiptHandle 'string}
:required [:QueueUrl
:ReceiptHandle]
:response nil}
:ReceiptHandle]}
(-> (aws/ops client)
:DeleteMessage
(dissoc :documentation))))))
Expand All @@ -83,8 +84,7 @@
:VisibilityTimeout 'integer}
:required [:QueueUrl
:ReceiptHandle
:VisibilityTimeout]
:response nil}
:VisibilityTimeout]}
(-> (aws/ops client)
:ChangeMessageVisibility
(dissoc :documentation))))))

0 comments on commit 758b307

Please sign in to comment.