dapr 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdeb79cfa744ea1ef4f7188298ca887359ce26c703944d6e4fa109d2e485ee66
4
- data.tar.gz: 4f9ac87190179fe43e61110b1328a0e5b1edb9cd2180ec902307fe6386c31052
3
+ metadata.gz: ab73a04ceb11b16505a3c4ef97bb859a39c1a90204f349d2074baf68d836b497
4
+ data.tar.gz: e7bed4198c5b268a4a6839305931c70120c50aa0a2c8bbc59fa32a2d3e447758
5
5
  SHA512:
6
- metadata.gz: 856a772018ee14ad66121bc774254c161e8437d60ed5a43d0dd449a011ce7198cb493c6f00713ec8054dc34f3c1c616db756df1184f6d889b574c5475cc2d22f
7
- data.tar.gz: 169b7844c310f71d9b75b392114f7bc8bc9f69d40fa59a3f0fb351148a94fb1a6b1930cdc1f25f0a7a97aa6428c1bdfc981bdbeb3aede368e53c59fefc2b86d4
6
+ metadata.gz: 65ae1a9c3cde7f50f9e621b2ab3abdc0849b8acf3834f3f41c8d4eeb23a235f79c9af0cc008f718828aaa2ce1924793bdc69f63c4350d3ff6a42ae088fff746f
7
+ data.tar.gz: 800b9beafda6d2d4a66c841155bf1b9e39e6eab2a4ff66e54e90880e9fd853063c477a2506c52c9aeb0a6f747b564122afa979d4370d7a969d9489a67af7e4c6
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.2.2"
2
+ ".": "0.2.4"
3
3
  }
data/.version.txt CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.4](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.3...v0.2.4) (2024-06-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Adds codeql scanning back to the release pipeline ([#29](https://github.com/rubyists/dapr-ruby-client/issues/29)) ([0b0d602](https://github.com/rubyists/dapr-ruby-client/commit/0b0d602db68dd8bf6583552a2e7d92276135be8f))
9
+ * Uses .yaml suffix for all yaml files ([8c7aaf9](https://github.com/rubyists/dapr-ruby-client/commit/8c7aaf98eeb5d9eb6d7a74bf0fb574654e150a83))
10
+
11
+ ## [0.2.3](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.2...v0.2.3) (2024-06-03)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * Hack it up to allow publishing to multiple gem package repos ([#26](https://github.com/rubyists/dapr-ruby-client/issues/26)) ([e59ca38](https://github.com/rubyists/dapr-ruby-client/commit/e59ca38bf2aee9950ef84bd57548f0f3d81c402d))
17
+
3
18
  ## [0.2.2](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.1...v0.2.2) (2024-06-02)
4
19
 
5
20
 
data/ci/publish-gem.sh ADDED
@@ -0,0 +1,73 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if readlink -f . >/dev/null 2>&1 # {{{ makes readlink work on mac
4
+ then
5
+ readlink=readlink
6
+ else
7
+ if greadlink -f . >/dev/null 2>&1
8
+ then
9
+ readlink=greadlink
10
+ else
11
+ printf "You must install greadlink to use this (brew install coreutils)\n" >&2
12
+ fi
13
+ fi # }}}
14
+
15
+ # Set here to the full path to this script
16
+ me=${BASH_SOURCE[0]}
17
+ [ -L "$me" ] && me=$($readlink -f "$me")
18
+ here=$(cd "$(dirname "$me")" && pwd)
19
+ just_me=$(basename "$me")
20
+
21
+ : ${GEM_NAME:=dapr}
22
+ : ${GIT_ORG:=rubyists}
23
+
24
+ GEM_HOST=$1
25
+ : ${GEM_HOST:=rubygems}
26
+
27
+ case "$GEM_HOST" in
28
+ rubygems)
29
+ gem_key='rubygems'
30
+ gem_host='https://rubygems.org'
31
+ ;;
32
+ github)
33
+ gem_key='github'
34
+ gem_host="https://rubygems.pkg.github.com/$GIT_ORG"
35
+ sed -i bak -e "s|https://rubygems.org|https://rubygems.pkg.github.com/$GIT_ORG|" "$here/../$GEM_NAME".gemspec
36
+ trap 'mv -v "$here/../$GEM_NAME".gemspec.bak "$here/../$GEM_NAME".gemspec' EXIT
37
+ ;;
38
+ *)
39
+ printf 'Unknown GEM_HOST: %s\n' "$GEM_HOST" >&2
40
+ exit 1
41
+ ;;
42
+ esac
43
+
44
+ # Only want this part running in CI, with no ~/.gem dir
45
+ if [ ! -d ~/.gem ]
46
+ then
47
+ if [ -z "$GEM_TOKEN" ]
48
+ then
49
+ printf 'No GEM_TOKEN provided, cannot publish\n'
50
+ exit 1
51
+ fi
52
+ mkdir -p ~/.gem
53
+ printf '%s\n:%s: %s\n' '---' "$gem_key" "$GEM_TOKEN" > ~/.gem/credentials
54
+ chmod 600 ~/.gem/credentials
55
+ fi
56
+
57
+ if [ -f "$here"/../.version.txt ]
58
+ then
59
+ version=$(<"$here"/../.version.txt)
60
+ else
61
+ version=$(git describe --tags --abbrev=0 | sed -e 's/^v//')
62
+ fi
63
+
64
+ gem="$(printf '%s-%s.gem' "$GEM_NAME" "$version")"
65
+ if [[ "${TRACE:-false}" == true || "${ACTIONS_STEP_DEBUG:-false}" == true ]]
66
+ then
67
+ printf "DEBUG: [%s] Building And Publishing %s to %s\n" "$just_me" "$gem" "$gem_host" >&2
68
+ fi
69
+
70
+ bundle exec gem build
71
+ bundle exec gem push -k "$gem_key" --host "$gem_host" "$gem"
72
+
73
+ # vim: set foldmethod=marker et ts=4 sts=4 sw=4 ft=bash :
data/lib/dapr/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Rubyists
4
4
  module Dapr
5
5
  # x-release-please-start-version
6
- VERSION = '0.2.2'
6
+ VERSION = '0.2.4'
7
7
  # x-release-please-end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -55,6 +55,7 @@ files:
55
55
  - CHANGELOG.md
56
56
  - Rakefile
57
57
  - Readme.adoc
58
+ - ci/publish-gem.sh
58
59
  - coverage/coverage.json
59
60
  - lib/dapr.rb
60
61
  - lib/dapr/client.rb