pulsar-client-ruby 0.1.0
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 +7 -0
- data/Gemfile +16 -0
- data/LICENSE +305 -0
- data/README.md +27 -0
- data/Rakefile +27 -0
- data/lib/pulsar/client/version.rb +7 -0
- data/lib/pulsar/client.rb +10 -0
- data/lib/pulsar/proto/PulsarApi.pb.rb +930 -0
- data/pulsar-client.gemspec +34 -0
- data/spec/pulsar/client_spec.rb +11 -0
- data/spec/spec_helper.rb +15 -0
- metadata +55 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/pulsar/client/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'pulsar-client-ruby'
|
7
|
+
spec.version = Pulsar::Client::VERSION
|
8
|
+
spec.author = 'Apache Pulsar Contributors'
|
9
|
+
spec.email = 'dev@pulsar.apache.org'
|
10
|
+
spec.license = 'Apache-2.0'
|
11
|
+
spec.summary = 'Apache Pulsar native client for Ruby'
|
12
|
+
spec.description = spec.summary
|
13
|
+
spec.homepage = 'https://pulsar.apache.org/'
|
14
|
+
spec.required_ruby_version = '>= 2.6.0'
|
15
|
+
|
16
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
17
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
18
|
+
spec.metadata['source_code_uri'] = 'https://github.com/apache/pulsar-client-ruby'
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = %w[Gemfile Rakefile LICENSE README.md] +
|
23
|
+
Dir.glob('{lib,spec}/**/*', File::FNM_DOTMATCH).reject { |f| File.directory?(f) } +
|
24
|
+
Dir.glob('*.gemspec')
|
25
|
+
spec.bindir = 'bin'
|
26
|
+
spec.executables = %w[]
|
27
|
+
spec.require_paths = %w[lib]
|
28
|
+
|
29
|
+
# Uncomment to register a new dependency of your gem
|
30
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
31
|
+
|
32
|
+
# For more information and examples about making a new gem, check out our
|
33
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
34
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'pulsar/client'
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
# Enable flags like --only-failures and --next-failure
|
7
|
+
config.example_status_persistence_file_path = '.rspec_status'
|
8
|
+
|
9
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
10
|
+
config.disable_monkey_patching!
|
11
|
+
|
12
|
+
config.expect_with :rspec do |c|
|
13
|
+
c.syntax = :expect
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pulsar-client-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Apache Pulsar Contributors
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Apache Pulsar native client for Ruby
|
14
|
+
email: dev@pulsar.apache.org
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Gemfile
|
20
|
+
- LICENSE
|
21
|
+
- README.md
|
22
|
+
- Rakefile
|
23
|
+
- lib/pulsar/client.rb
|
24
|
+
- lib/pulsar/client/version.rb
|
25
|
+
- lib/pulsar/proto/PulsarApi.pb.rb
|
26
|
+
- pulsar-client.gemspec
|
27
|
+
- spec/pulsar/client_spec.rb
|
28
|
+
- spec/spec_helper.rb
|
29
|
+
homepage: https://pulsar.apache.org/
|
30
|
+
licenses:
|
31
|
+
- Apache-2.0
|
32
|
+
metadata:
|
33
|
+
homepage_uri: https://pulsar.apache.org/
|
34
|
+
rubygems_mfa_required: 'true'
|
35
|
+
source_code_uri: https://github.com/apache/pulsar-client-ruby
|
36
|
+
post_install_message:
|
37
|
+
rdoc_options: []
|
38
|
+
require_paths:
|
39
|
+
- lib
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 2.6.0
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
requirements: []
|
51
|
+
rubygems_version: 3.3.7
|
52
|
+
signing_key:
|
53
|
+
specification_version: 4
|
54
|
+
summary: Apache Pulsar native client for Ruby
|
55
|
+
test_files: []
|