tucana 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ad076f2f161ada507545e49657a6ffbcf6d8af8a8508d1b4a7a5b81dac506fc0
4
+ data.tar.gz: 9c08b8ce6dc1d84048072f3a9f75df8e77e43dfdad3e439b563ce8c04962b262
5
+ SHA512:
6
+ metadata.gz: b806d9d28c412480ee84447f4ae8e7b902d79b32b1c05a0ca18a82c9d0ee91a7da7c8f5a409cb2238b580d696920250dbf056d0d33c5a30f0881ade6eaacb363
7
+ data.tar.gz: 62d0d794a9f6d5c0eb250315dc6888be30ee35f173da96bb7922ee2430c62d538b36d9aff17db6bc1769558abbadecc11e729e216d8565c1c6fb1e26151f1036
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,36 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 3.0.0
7
+ NewCops: enable
8
+
9
+ Gemspec/DevelopmentDependencies:
10
+ EnforcedStyle: gemspec
11
+
12
+ Metrics/AbcSize:
13
+ Enabled: false
14
+
15
+ Metrics/MethodLength:
16
+ Enabled: false
17
+
18
+ Metrics/CyclomaticComplexity:
19
+ Enabled: false
20
+
21
+ Metrics/PerceivedComplexity:
22
+ Enabled: false
23
+
24
+ Style/StringLiterals:
25
+ Enabled: true
26
+ EnforcedStyle: double_quotes
27
+
28
+ Style/StringLiteralsInInterpolation:
29
+ Enabled: true
30
+ EnforcedStyle: double_quotes
31
+
32
+ Layout/LineLength:
33
+ Max: 120
34
+
35
+ RSpec/ExampleLength:
36
+ Enabled: false
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in tucana.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,90 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ tucana (0.0.0)
5
+ grpc (~> 1.65)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ bigdecimal (3.1.8)
12
+ diff-lcs (1.5.1)
13
+ google-protobuf (4.27.2-x86_64-linux)
14
+ bigdecimal
15
+ rake (>= 13)
16
+ googleapis-common-protos-types (1.15.0)
17
+ google-protobuf (>= 3.18, < 5.a)
18
+ grpc (1.65.1-x86_64-linux)
19
+ google-protobuf (>= 3.25, < 5.0)
20
+ googleapis-common-protos-types (~> 1.0)
21
+ grpc-tools (1.65.1)
22
+ json (2.7.2)
23
+ language_server-protocol (3.17.0.3)
24
+ parallel (1.25.1)
25
+ parser (3.3.3.0)
26
+ ast (~> 2.4.1)
27
+ racc
28
+ racc (1.8.0)
29
+ rainbow (3.1.1)
30
+ rake (13.2.1)
31
+ regexp_parser (2.9.2)
32
+ rexml (3.3.1)
33
+ strscan
34
+ rspec (3.13.0)
35
+ rspec-core (~> 3.13.0)
36
+ rspec-expectations (~> 3.13.0)
37
+ rspec-mocks (~> 3.13.0)
38
+ rspec-core (3.13.0)
39
+ rspec-support (~> 3.13.0)
40
+ rspec-expectations (3.13.0)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.13.0)
43
+ rspec-mocks (3.13.0)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-support (3.13.1)
47
+ rubocop (1.64.1)
48
+ json (~> 2.3)
49
+ language_server-protocol (>= 3.17.0)
50
+ parallel (~> 1.10)
51
+ parser (>= 3.3.0.2)
52
+ rainbow (>= 2.2.2, < 4.0)
53
+ regexp_parser (>= 1.8, < 3.0)
54
+ rexml (>= 3.2.5, < 4.0)
55
+ rubocop-ast (>= 1.31.1, < 2.0)
56
+ ruby-progressbar (~> 1.7)
57
+ unicode-display_width (>= 2.4.0, < 3.0)
58
+ rubocop-ast (1.31.3)
59
+ parser (>= 3.3.1.0)
60
+ rubocop-capybara (2.21.0)
61
+ rubocop (~> 1.41)
62
+ rubocop-factory_bot (2.26.1)
63
+ rubocop (~> 1.61)
64
+ rubocop-rake (0.6.0)
65
+ rubocop (~> 1.0)
66
+ rubocop-rspec (2.31.0)
67
+ rubocop (~> 1.40)
68
+ rubocop-capybara (~> 2.17)
69
+ rubocop-factory_bot (~> 2.22)
70
+ rubocop-rspec_rails (~> 2.28)
71
+ rubocop-rspec_rails (2.29.1)
72
+ rubocop (~> 1.61)
73
+ ruby-progressbar (1.13.0)
74
+ strscan (3.1.0)
75
+ unicode-display_width (2.5.0)
76
+
77
+ PLATFORMS
78
+ x86_64-linux
79
+
80
+ DEPENDENCIES
81
+ grpc-tools (~> 1.65)
82
+ rake (~> 13.0)
83
+ rspec (~> 3.0)
84
+ rubocop (~> 1.21)
85
+ rubocop-rake (~> 0.6)
86
+ rubocop-rspec (~> 2.29)
87
+ tucana!
88
+
89
+ BUNDLED WITH
90
+ 2.4.12
data/Rakefile ADDED
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "fileutils"
4
+
5
+ require "bundler/gem_tasks"
6
+ require "rspec/core/rake_task"
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+
10
+ require "rubocop/rake_task"
11
+
12
+ RuboCop::RakeTask.new
13
+
14
+ PROJECT_ROOT = File.expand_path("../..", __dir__)
15
+ RUBY_ROOT = "#{PROJECT_ROOT}/build/ruby".freeze
16
+ INPUT_INTERNAL_DIR = "#{PROJECT_ROOT}/internal".freeze
17
+ OUTPUT_INTERNAL_DIR = "#{RUBY_ROOT}/lib/tucana/internal".freeze
18
+
19
+ def system!(*args)
20
+ system(*args, exception: true)
21
+ end
22
+
23
+ namespace :generate_ruby do
24
+ desc "Generate ruby files for the internal protocol"
25
+ task :internal do
26
+ FileUtils.rm_rf(OUTPUT_INTERNAL_DIR)
27
+ FileUtils.mkdir_p(OUTPUT_INTERNAL_DIR)
28
+ FileUtils.chdir RUBY_ROOT do
29
+ Dir["#{INPUT_INTERNAL_DIR}/*.proto"].each do |file|
30
+ # rubocop:disable Layout/LineLength
31
+ system!("bundle exec grpc_tools_ruby_protoc -I #{INPUT_INTERNAL_DIR} --ruby_out=#{OUTPUT_INTERNAL_DIR} --grpc_out=#{OUTPUT_INTERNAL_DIR} #{file}")
32
+ # rubocop:enable Layout/LineLength
33
+ end
34
+ end
35
+ end
36
+ end
37
+
38
+ task default: %i[spec rubocop]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Tucana
4
+ VERSION = "0.0.0"
5
+ end
data/lib/tucana.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "tucana/version"
4
+
5
+ module Tucana
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
metadata ADDED
@@ -0,0 +1,152 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tucana
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Niklas van Schrick
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: grpc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.65'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.65'
27
+ - !ruby/object:Gem::Dependency
28
+ name: grpc-tools
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.65'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.65'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.21'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.21'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.6'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.6'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.29'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.29'
111
+ description:
112
+ email:
113
+ - mc.taucher2003@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".rspec"
119
+ - ".rubocop.yml"
120
+ - Gemfile
121
+ - Gemfile.lock
122
+ - Rakefile
123
+ - lib/tucana.rb
124
+ - lib/tucana/version.rb
125
+ homepage: https://github.com/code0-tech/tucana
126
+ licenses:
127
+ - ''
128
+ metadata:
129
+ homepage_uri: https://github.com/code0-tech/tucana
130
+ source_code_uri: https://github.com/code0-tech/tucana
131
+ changelog_uri: https://github.com/code0-tech/tucana/releases
132
+ rubygems_mfa_required: 'true'
133
+ post_install_message:
134
+ rdoc_options: []
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: 3.0.0
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ requirements: []
148
+ rubygems_version: 3.4.10
149
+ signing_key:
150
+ specification_version: 4
151
+ summary: Code0 GRPC Protocol.
152
+ test_files: []