rbs_protobuf 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.
@@ -0,0 +1,3 @@
1
+ module RBSProtobuf
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,30 @@
1
+ require_relative 'lib/rbs_protobuf/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "rbs_protobuf"
5
+ spec.version = RBSProtobuf::VERSION
6
+ spec.authors = ["Soutaro Matsumoto"]
7
+ spec.email = ["matsumoto@soutaro.com"]
8
+
9
+ spec.summary = "Generate RBS files from .proto files"
10
+ spec.description = "Generate RBS files from .proto files"
11
+ spec.homepage = "https://github.com/square/rbs_protobuf"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = "https://github.com/square/rbs_protobuf"
17
+ spec.metadata["changelog_uri"] = "https://github.com/square/rbs_protobuf/blob/master/CHANGELOG.md"
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_runtime_dependency "rbs", ">=1.0.4"
29
+ spec.add_runtime_dependency "activesupport", ">=4.0"
30
+ end
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbs_protobuf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Soutaro Matsumoto
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rbs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
41
+ description: Generate RBS files from .proto files
42
+ email:
43
+ - matsumoto@soutaro.com
44
+ executables:
45
+ - protoc-gen-rbs
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".github/workflows/test.yml"
50
+ - ".gitignore"
51
+ - ".gitmodules"
52
+ - ".protoc-version"
53
+ - ".rakeTasks"
54
+ - ".travis.yml"
55
+ - Gemfile
56
+ - LICENSE.txt
57
+ - README.md
58
+ - Rakefile
59
+ - bin/console
60
+ - bin/protoc-gen-dumper
61
+ - bin/protoc-gen-ruby
62
+ - bin/rpc_server
63
+ - bin/setup
64
+ - example/Steepfile
65
+ - example/a.proto
66
+ - example/b.proto
67
+ - example/protobuf_gem_example.rb
68
+ - exe/protoc-gen-rbs
69
+ - lib/rbs_protobuf.rb
70
+ - lib/rbs_protobuf/rbs_factory.rb
71
+ - lib/rbs_protobuf/translator/base.rb
72
+ - lib/rbs_protobuf/translator/protobuf_gem.rb
73
+ - lib/rbs_protobuf/version.rb
74
+ - rbs_protobuf.gemspec
75
+ homepage: https://github.com/square/rbs_protobuf
76
+ licenses:
77
+ - MIT
78
+ metadata:
79
+ homepage_uri: https://github.com/square/rbs_protobuf
80
+ source_code_uri: https://github.com/square/rbs_protobuf
81
+ changelog_uri: https://github.com/square/rbs_protobuf/blob/master/CHANGELOG.md
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 2.3.0
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubygems_version: 3.2.3
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Generate RBS files from .proto files
101
+ test_files: []