dapr 0.2.9 → 0.3.0

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: 7557653e645b1b964f55e38ed16cc2b097e69de47cf9cbe8509cb35a043c6887
4
- data.tar.gz: d235d474a3f637bc898ded94aaf1f7e823ebb6516241f7d2a8986cdd09d02d9f
3
+ metadata.gz: ddccde41cfa4987277e70db836676786db13d6738a1a38b4ace5c36a2058d352
4
+ data.tar.gz: d9cc8aae9caa4391550971b33efed13c78ce6c3b412ba8d4a69e4a6ac92c29de
5
5
  SHA512:
6
- metadata.gz: 1f1f751d58551b253c2bc2d5ecaf80d54ec43a82a6c53d9dd197a18462211719c7cff25aa235c8e27ced921cf9ff4d90543c3eb136a039c84a2afb39efa498ce
7
- data.tar.gz: e62bc7c55f7fc623632a79e916bd301563d0478996e1398f28e436eb7b839854b698f268df70bac9b9768ad22222476f32863e52b1edd24d0060d12e0930fcd5
6
+ metadata.gz: 243bb6776639c2d9269d80d8230914c66d1b155a519c2570b4e65c256fbd1da47bf8fc853e11ef470dd704304bbe471239dfef8cb57e0e860b9ce6a5c2cc63f0
7
+ data.tar.gz: 05ebe5607bccc04e6049ca3c27671e76611ae4bb996542b43989fff2ab86d4f715db13ad6f89b83ab0fb089388da057990ae113300cb08234fa03f51a6d0c72f
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.2.9"
2
+ ".": "0.3.0"
3
3
  }
data/.version.txt CHANGED
@@ -1 +1 @@
1
- 0.2.9
1
+ 0.3.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.11...v0.3.0) (2024-06-03)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * Forcing release with a brilliant feature ([#64](https://github.com/rubyists/dapr-ruby-client/issues/64))
9
+
10
+ ### Features
11
+
12
+ * Forcing release with a brilliant feature ([#64](https://github.com/rubyists/dapr-ruby-client/issues/64)) ([05dcacd](https://github.com/rubyists/dapr-ruby-client/commit/05dcacd5278a622fed94acdbc025d98b621b948a))
13
+
14
+ ## [0.2.11](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.10...v0.2.11) (2024-06-03)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **build:** Lowers concurrency for container jobs to 1 ([#59](https://github.com/rubyists/dapr-ruby-client/issues/59)) ([70c1c56](https://github.com/rubyists/dapr-ruby-client/commit/70c1c56990dbf4a87f8088b40483a213a674f793))
20
+ * Use secret references in matrix values ([#61](https://github.com/rubyists/dapr-ruby-client/issues/61)) ([9f45785](https://github.com/rubyists/dapr-ruby-client/commit/9f4578546cc77da79c5548347bee1b2ed6e790ec))
21
+ * Uses correct rubygems secret ([#60](https://github.com/rubyists/dapr-ruby-client/issues/60)) ([5de5ff4](https://github.com/rubyists/dapr-ruby-client/commit/5de5ff44bf0b06ee1652616f58c29a411ecb4e18))
22
+
23
+ ## [0.2.10](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.9...v0.2.10) (2024-06-03)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * Release testing PR ([#57](https://github.com/rubyists/dapr-ruby-client/issues/57)) ([1f56abf](https://github.com/rubyists/dapr-ruby-client/commit/1f56abfb350c8d4886fcc2a2fd7183b2f6456d35))
29
+ * **workflow:** Corrects workflow syntax ([#55](https://github.com/rubyists/dapr-ruby-client/issues/55)) ([dee10a4](https://github.com/rubyists/dapr-ruby-client/commit/dee10a4a9475f73b1b52bbc0408564c05bc83ab8))
30
+
3
31
  ## [0.2.9](https://github.com/rubyists/dapr-ruby-client/compare/v0.2.8...v0.2.9) (2024-06-03)
4
32
 
5
33
 
data/Readme.adoc CHANGED
@@ -46,6 +46,19 @@ gem 'datadog_api_client'
46
46
  gem 'grpc', force_ruby_platform: true
47
47
  ----
48
48
 
49
+ === Docker
50
+
51
+ If you find yourself waiting 20 minutes to build the grpc gem
52
+ in your CI environments, you might want to use the images
53
+ we publish (built from https://docker.io/library/ruby images)
54
+
55
+ .Example Dockerfile
56
+ [source,docker]
57
+ ----
58
+ FROM ghcr.io/rubyists/dapr-ruby-client:0.3.0-ruby3.3.2-alpine3.20
59
+ RUN ...
60
+ ----
61
+
49
62
  == Usage
50
63
 
51
64
  Dapr being such a Smörgåsbord, this library exposes each {dapr-building-block} as either a
@@ -159,7 +172,9 @@ Implementation of {cryptography-block}
159
172
 
160
173
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
161
174
 
162
- To install this gem on your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to https://rubygems.org[rubygems.org].
175
+ To install this gem on your local machine, run `bundle exec rake install`.
176
+
177
+ Releases are handled by release-please in github actions.
163
178
 
164
179
  == Contributing
165
180
 
data/ci/build_image.sh CHANGED
@@ -25,12 +25,20 @@ cd "$repo_top" || {
25
25
  }
26
26
 
27
27
  base_dir=$(basename "$(pwd)")
28
- : "${ALPINE_VERSION:=3.19}"
28
+ : "${ALPINE_VERSION:=3.20}"
29
29
  : "${BUILD_CONTEXT:=$(pwd)}"
30
30
  : "${IMAGE_NAME:=$base_dir}"
31
31
  : "${LICENSE:=MIT}"
32
32
  : "${REGISTRY:=ghcr.io}"
33
- : "${RUBY_VERSION:=3.3.1}"
33
+ : "${RUBY_VERSION:=3.3.2}"
34
+
35
+ base_image_tag="$RUBY_VERSION-alpine$ALPINE_VERSION"
36
+ base_exists=$(skopeo list-tags docker://docker.io/ruby |jq -r "any(.Tags[] == \"$base_image_tag\"; .)")
37
+ if [ "$base_exists" = "false" ]
38
+ then
39
+ printf "Base image %s does not exist at docker.io/ruby, cannot build.\n" "$base_image_tag" >&2
40
+ exit 99
41
+ fi
34
42
 
35
43
  usage() { # {{{
36
44
  cat <<-EOT
data/ci/publish-gem.sh CHANGED
@@ -32,7 +32,9 @@ case "$GEM_HOST" in
32
32
  github)
33
33
  gem_key='github'
34
34
  gem_host="https://rubygems.pkg.github.com/$GIT_ORG"
35
+ # Replace the gem host in the gemspec, so it allows pushing to the GitHub package registry
35
36
  sed --in-place=.bak -e "s|https://rubygems.org|https://rubygems.pkg.github.com/$GIT_ORG|" "$here/../$GEM_NAME".gemspec
37
+ # Restore the original gemspec after the script finishes
36
38
  trap 'mv -v "$here/../$GEM_NAME".gemspec.bak "$here/../$GEM_NAME".gemspec' EXIT
37
39
  ;;
38
40
  *)
@@ -41,12 +43,14 @@ case "$GEM_HOST" in
41
43
  ;;
42
44
  esac
43
45
 
44
- # Only want this part running in CI, with no ~/.gem dir
46
+ # We only want this part running in CI, with no ~/.gem dir
47
+ # For local testing, you should have a ~/.gem/credentials file with
48
+ # the keys you need to push to rubygems or github
45
49
  if [ ! -d ~/.gem ]
46
50
  then
47
51
  if [ -z "$GEM_TOKEN" ]
48
52
  then
49
- printf 'No GEM_TOKEN provided, cannot publish\n'
53
+ printf 'No GEM_TOKEN provided, cannot publish\n' >&2
50
54
  exit 1
51
55
  fi
52
56
  mkdir -p ~/.gem
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.9'
6
+ VERSION = '0.3.0'
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.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel