igsr5-portfolio-proto 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d11f36b1cb759e3b608a5a8fa75806a57a6a5e959b39d4a79b409063517fc622
4
+ data.tar.gz: c3d494aa4296d0f916b7efa6969bae3e4eb4d86a6c8531274b35932998d3b561
5
+ SHA512:
6
+ metadata.gz: 61f16385ad9a7654a2e432ceb6515f5d8815ceee4acdeaf99c7b434424e435cc884e89cab09a49133e0d840e3e001a97b0a4b670652be7856a3d27b2677ba850
7
+ data.tar.gz: fa1a180b0d3c20eedc5b15d344e50831c74c6246f7ffcba125124870b398f125512b7dcabe47ca676739d706d9983d081466eccc28e382270998091277953a08
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-04-03
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in portfolio.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rubocop", "~> 1.21"
data/Gemfile.lock ADDED
@@ -0,0 +1,40 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ portfolio (0.6.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ parallel (1.22.1)
11
+ parser (3.1.1.0)
12
+ ast (~> 2.4.1)
13
+ rainbow (3.1.1)
14
+ rake (13.0.6)
15
+ regexp_parser (2.2.1)
16
+ rexml (3.2.5)
17
+ rubocop (1.26.1)
18
+ parallel (~> 1.10)
19
+ parser (>= 3.1.0.0)
20
+ rainbow (>= 2.2.2, < 4.0)
21
+ regexp_parser (>= 1.8, < 3.0)
22
+ rexml
23
+ rubocop-ast (>= 1.16.0, < 2.0)
24
+ ruby-progressbar (~> 1.7)
25
+ unicode-display_width (>= 1.4.0, < 3.0)
26
+ rubocop-ast (1.16.0)
27
+ parser (>= 3.1.1.0)
28
+ ruby-progressbar (1.11.0)
29
+ unicode-display_width (2.1.0)
30
+
31
+ PLATFORMS
32
+ ruby
33
+
34
+ DEPENDENCIES
35
+ portfolio!
36
+ rake (~> 13.0)
37
+ rubocop (~> 1.21)
38
+
39
+ BUNDLED WITH
40
+ 2.3.3
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Portfolio
2
+
3
+ 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/portfolio`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'portfolio'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install portfolio
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/portfolio.
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+
5
+ task default: :rubocop
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "portfolio"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: feature/feature_api.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("feature/feature_api.proto", :syntax => :proto3) do
10
+ add_message "feature.feature_api_pb.Point" do
11
+ optional :latitude, :int32, 1
12
+ end
13
+ add_message "feature.feature_api_pb.Feature" do
14
+ optional :code, :int32, 1
15
+ end
16
+ end
17
+ end
18
+
19
+ module Portfolio
20
+ module Feature
21
+ module FeatureApiPb
22
+ Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Point").msgclass
23
+ Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Feature").msgclass
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: feature/feature_api.proto for package 'Portfolio.Feature.FeatureApiPb'
3
+
4
+ require 'grpc'
5
+ require 'feature/feature_api_pb'
6
+
7
+ module Portfolio
8
+ module Feature
9
+ module FeatureApiPb
10
+ module FeatureService
11
+ class Service
12
+
13
+ include ::GRPC::GenericService
14
+
15
+ self.marshal_class_method = :encode
16
+ self.unmarshal_class_method = :decode
17
+ self.service_name = 'feature.feature_api_pb.FeatureService'
18
+
19
+ rpc :GetFeature, ::Portfolio::Feature::FeatureApiPb::Point, ::Portfolio::Feature::FeatureApiPb::Feature
20
+ rpc :GetFeatures, ::Portfolio::Feature::FeatureApiPb::Point, ::Portfolio::Feature::FeatureApiPb::Feature
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Portfolio
4
+ VERSION = "0.0.4"
5
+ end
data/lib/portfolio.rb ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "portfolio/version"
4
+
5
+ Dir.glob("#{__dir__}/**/*_pb.rb").each {|file| require file}
6
+
7
+ module Portfolio
8
+ class Error < StandardError; end
9
+ # Your code goes here...
10
+ end
data/lib/post_pb.rb ADDED
@@ -0,0 +1,20 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: post.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("post.proto", :syntax => :proto3) do
8
+ add_message "postpb.Post" do
9
+ optional :name, :string, 1
10
+ optional :type, :int64, 2
11
+ optional :user_name, :int64, 3
12
+ end
13
+ end
14
+ end
15
+
16
+ module Portfolio
17
+ module PostPb
18
+ Post = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("postpb.Post").msgclass
19
+ end
20
+ end
data/lib/user_pb.rb ADDED
@@ -0,0 +1,21 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: user.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("user.proto", :syntax => :proto3) do
8
+ add_message "userpb.User" do
9
+ optional :name, :string, 1
10
+ optional :email, :string, 2
11
+ optional :age, :int64, 3
12
+ optional :type, :int64, 4
13
+ end
14
+ end
15
+ end
16
+
17
+ module Portfolio
18
+ module UserPb
19
+ User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("userpb.User").msgclass
20
+ end
21
+ end
data/sig/protosum2.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Portfolio
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: igsr5-portfolio-proto
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ platform: ruby
6
+ authors:
7
+ - igsr5
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-04-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-protobuf
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.14'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: grpc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.28'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.28'
41
+ description: Write a longer description or delete this line.
42
+ email:
43
+ - sora1220.119014@outlook.jp
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - CHANGELOG.md
49
+ - Gemfile
50
+ - Gemfile.lock
51
+ - README.md
52
+ - Rakefile
53
+ - bin/console
54
+ - bin/setup
55
+ - lib/feature/feature_api_pb.rb
56
+ - lib/feature/feature_api_services_pb.rb
57
+ - lib/portfolio.rb
58
+ - lib/portfolio/version.rb
59
+ - lib/post_pb.rb
60
+ - lib/user_pb.rb
61
+ - sig/protosum2.rbs
62
+ homepage: https://github.com/igsr5/portfolio
63
+ licenses: []
64
+ metadata:
65
+ allowed_push_host: https://rubygems.org
66
+ homepage_uri: https://github.com/igsr5/portfolio
67
+ source_code_uri: https://github.com/igsr5/portfolio
68
+ changelog_uri: https://github.com/igsr5/portfolio
69
+ post_install_message:
70
+ rdoc_options: []
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: 2.6.0
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ requirements: []
84
+ rubygems_version: 3.3.7
85
+ signing_key:
86
+ specification_version: 4
87
+ summary: Write a short summary, because RubyGems requires one.
88
+ test_files: []