dapr 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5c7c7bde831054db4aad2dc68b50f2bfae55779d00ca0faf87360001c5fe6d1
4
- data.tar.gz: c4146057e0188a814fbc2068aa7bfbe67787821bea55031c7393484cba1fbd7a
3
+ metadata.gz: 2733f4a0ff0396bf1890a66e52a8067e78630f6ccc1c8da4c10f21a9b1450c63
4
+ data.tar.gz: 29bb3ce000ea70f780da0de87d747d6bd30e247164bae6fc76e710ce1dd68b5c
5
5
  SHA512:
6
- metadata.gz: a87b0c571da2f358afd8d6eb3c2a1bea1baa406d5a2b2bab37b8c48f6f63e7e7dd31324d941c889bfe13a7f349ab2d8f6ccc3e5139592051aa7be010bbedbf40
7
- data.tar.gz: '081d6127f7d631a2a9e5276cbfaa747ea71be03905734df34f1afbb968a4894aa1851dc97e58ed6c3066f1135988c2e7cdfc8ff48985120eb19c1386364d2b9b'
6
+ metadata.gz: ea3c0df4e833569a7ec8fc4e3c0a79dd71dcf2726eca9e23053d1ba496ec22da19135c8d496da19b40a312d151c8a40654e83586db08a97e670f8141e7081170
7
+ data.tar.gz: f1eef1074731e8c5d4de55a06612eac8277512dedb3defaaebd1871da7d058048369ab5da2f00dcae1bcc2ed8786300caa61fd522cce888bbb6a1a94f470dfe6
data/Readme.adoc ADDED
@@ -0,0 +1,36 @@
1
+ = Dapr Client for Ruby
2
+ :ifdef::env-github[]
3
+ :tip-caption: :bulb:
4
+ :note-caption: :information_source:
5
+ :important-caption: :heavy_exclamation_mark:
6
+ :caution-caption: :fire:
7
+ :warning-caption: :warning:
8
+ endif::[]
9
+
10
+ == Overview
11
+
12
+ This library provides a Ruby client for the Dapr runtime. It is a work in progress and is not yet ready for production use.
13
+
14
+ == Installation
15
+
16
+ Install the gem and add to the application's Gemfile by executing:
17
+
18
+ $ bundle add dapr-client
19
+
20
+ If bundler is not being used to manage dependencies, install the gem by executing:
21
+
22
+ $ gem install dapr-client
23
+
24
+ == Usage
25
+
26
+ This library is a WIP and will be documented as the interface is finalized.
27
+
28
+ == Development
29
+
30
+ 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.
31
+
32
+ To install this gem onto 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].
33
+
34
+ == Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rubyists/dapr.
@@ -12,7 +12,7 @@ module Rubyists
12
12
  attr_reader :pubsub_name, :client
13
13
 
14
14
  # The proto class for the publish event request
15
- Proto = Dapr::Proto::Runtime::V1::PublishEventRequest
15
+ Proto = ::Dapr::Proto::Runtime::V1::PublishEventRequest
16
16
 
17
17
  # Initialize the publisher
18
18
  # @param name [String] The name of the pubsub component in Dapr
data/lib/dapr/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Dapr
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.4'
6
6
  end
7
7
  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.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-04-15 00:00:00.000000000 Z
12
+ date: 2024-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dapr-ruby
@@ -49,8 +49,8 @@ files:
49
49
  - ".rspec"
50
50
  - ".rubocop.yml"
51
51
  - CHANGELOG.md
52
- - README.md
53
52
  - Rakefile
53
+ - Readme.adoc
54
54
  - lib/dapr.rb
55
55
  - lib/dapr/client.rb
56
56
  - lib/dapr/client/publisher.rb
data/README.md DELETED
@@ -1,31 +0,0 @@
1
- # Dapr
2
-
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dapr`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
-
15
- If bundler is not being used to manage dependencies, install the gem by executing:
16
-
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Development
24
-
25
- 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.
26
-
27
- To install this gem onto 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 [rubygems.org](https://rubygems.org).
28
-
29
- ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dapr.