protip 0.35.3 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protip/tasks/compile.rake +5 -2
- data/lib/protip/version.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d097428a40b0e38ec945cf37b946a98e611e9affa1a7c3d2d39bf9b53b10b5c1
|
4
|
+
data.tar.gz: 95ae64a3bafdd18b6c878b35e3f75b2039d725788334951d6a2f33fffbbeb67c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cad5a50b96b26f0ad63e7e17d3e266c87056ef988e89667e5a09306742a752e7253861db0b27cbb5278a555e4b3ad62178cc5cd4c89b927a6f36911deb6c49f
|
7
|
+
data.tar.gz: 50468f4ee94fa85fcf62086291e366a94244e3fd08f4a922d7c7817973c7c7a6cae7c16b00c9304199422490b7f6d3b88abf7d9190f13c43018f88335d981f3b
|
@@ -3,7 +3,7 @@ require 'bundler/setup'
|
|
3
3
|
|
4
4
|
namespace :protip do
|
5
5
|
desc 'compile a single .proto file to Ruby'
|
6
|
-
task :compile, [:filename, :proto_path, :ruby_path] do |t, args|
|
6
|
+
task :compile, [:filename, :proto_path, :ruby_path, :rbi_path, :protoc_gen_rbi_path] do |t, args|
|
7
7
|
proto_path = [args[:proto_path] || 'definitions'].flatten.compact.reject{|path| path == ''}
|
8
8
|
proto_path << File.join(Gem.loaded_specs['protip'].full_gem_path, 'definitions')
|
9
9
|
|
@@ -11,7 +11,10 @@ namespace :protip do
|
|
11
11
|
|
12
12
|
filename = args[:filename] || raise(ArgumentError.new 'filename argument is required')
|
13
13
|
|
14
|
-
command = "bundle exec grpc_tools_ruby_protoc #{proto_path.map{|p| "--proto_path=#{Shellwords.escape p}"}.join ' '} --ruby_out=#{Shellwords.escape ruby_path}
|
14
|
+
command = "bundle exec grpc_tools_ruby_protoc #{proto_path.map{|p| "--proto_path=#{Shellwords.escape p}"}.join ' '} --ruby_out=#{Shellwords.escape ruby_path}"
|
15
|
+
command << " --plugin=protoc-gen-rbi=#{args[:protoc_gen_rbi_path]}" if args[:protoc_gen_rbi_path]
|
16
|
+
command << " --rbi_out=#{args[:rbi_path]}" if args[:rbi_path]
|
17
|
+
command << " #{Shellwords.escape filename}"
|
15
18
|
puts command
|
16
19
|
system command
|
17
20
|
|
data/lib/protip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AngelList
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 4.2.10
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 4.2.10
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 4.2.10
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '7.0'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 4.2.10
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '7.0'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: money
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,16 +74,16 @@ dependencies:
|
|
74
74
|
name: google-protobuf
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 3.
|
79
|
+
version: 3.7.1
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 3.
|
86
|
+
version: 3.7.1
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: grpc-tools
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,7 +196,7 @@ dependencies:
|
|
196
196
|
- - "~>"
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '3'
|
199
|
-
description:
|
199
|
+
description:
|
200
200
|
email:
|
201
201
|
- team@angel.co
|
202
202
|
executables: []
|
@@ -277,7 +277,7 @@ homepage: https://github.com/AngelList/protip
|
|
277
277
|
licenses:
|
278
278
|
- MIT
|
279
279
|
metadata: {}
|
280
|
-
post_install_message:
|
280
|
+
post_install_message:
|
281
281
|
rdoc_options: []
|
282
282
|
require_paths:
|
283
283
|
- lib
|
@@ -292,8 +292,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
292
|
- !ruby/object:Gem::Version
|
293
293
|
version: '0'
|
294
294
|
requirements: []
|
295
|
-
rubygems_version: 3.
|
296
|
-
signing_key:
|
295
|
+
rubygems_version: 3.2.29
|
296
|
+
signing_key:
|
297
297
|
specification_version: 4
|
298
298
|
summary: Resources backed by protobuf messages
|
299
299
|
test_files: []
|