gitaly 0.11.0 → 0.12.1
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 +4 -4
- data/ruby/lib/gitaly.rb +2 -0
- data/ruby/lib/gitaly/blob_pb.rb +21 -0
- data/ruby/lib/gitaly/blob_services_pb.rb +25 -0
- data/ruby/lib/gitaly/ref_pb.rb +11 -1
- data/ruby/lib/gitaly/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1268a541077b7584a2af1c54e95b822472355b60
|
4
|
+
data.tar.gz: 463dd6de7f01677069185cc653dc3319a1d09826
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bd9a1e4e848172742c2bdd5cfa5379dd556eca14961d8fae6a2494938946e40b753755f45e427c72339d9f3322e1e1614ed411c1190be5b9bab29568207e513
|
7
|
+
data.tar.gz: dbf47e87c253557428c23bc6f1108b7f897767596c35b24b39c8f30c429134e3aab3a07a559ea6f81d9af6377de368ef92b4c71455ac55af8ff7fd72182d7852
|
data/ruby/lib/gitaly.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: blob.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.GetBlobRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :oid, :string, 2
|
11
|
+
end
|
12
|
+
add_message "gitaly.GetBlobResponse" do
|
13
|
+
optional :size, :int64, 1
|
14
|
+
optional :data, :bytes, 2
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Gitaly
|
19
|
+
GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass
|
20
|
+
GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass
|
21
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: blob.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'blob_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module BlobService
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'gitaly.BlobService'
|
16
|
+
|
17
|
+
# GetBlob returns the contents of a blob object referenced by its object
|
18
|
+
# ID. We use a stream to return a chunked arbitrarily large binary
|
19
|
+
# response
|
20
|
+
rpc :GetBlob, GetBlobRequest, stream(GetBlobResponse)
|
21
|
+
end
|
22
|
+
|
23
|
+
Stub = Service.rpc_stub_class
|
24
|
+
end
|
25
|
+
end
|
data/ruby/lib/gitaly/ref_pb.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'shared_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_message "gitaly.FindDefaultBranchNameRequest" do
|
9
10
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -45,7 +46,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
45
46
|
end
|
46
47
|
add_message "gitaly.FindLocalBranchResponse" do
|
47
48
|
optional :name, :bytes, 1
|
48
|
-
optional :
|
49
|
+
optional :commit_id, :string, 2
|
50
|
+
optional :commit_subject, :bytes, 3
|
51
|
+
optional :commit_author, :message, 4, "gitaly.FindLocalBranchCommitAuthor"
|
52
|
+
optional :commit_committer, :message, 5, "gitaly.FindLocalBranchCommitAuthor"
|
53
|
+
end
|
54
|
+
add_message "gitaly.FindLocalBranchCommitAuthor" do
|
55
|
+
optional :name, :bytes, 1
|
56
|
+
optional :email, :bytes, 2
|
57
|
+
optional :date, :message, 3, "google.protobuf.Timestamp"
|
49
58
|
end
|
50
59
|
end
|
51
60
|
|
@@ -62,4 +71,5 @@ module Gitaly
|
|
62
71
|
FindLocalBranchesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest.SortBy").enummodule
|
63
72
|
FindLocalBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesResponse").msgclass
|
64
73
|
FindLocalBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchResponse").msgclass
|
74
|
+
FindLocalBranchCommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchCommitAuthor").msgclass
|
65
75
|
end
|
data/ruby/lib/gitaly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06
|
11
|
+
date: 2017-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -78,6 +78,8 @@ files:
|
|
78
78
|
- ruby/LICENSE.txt
|
79
79
|
- ruby/README.md
|
80
80
|
- ruby/lib/gitaly.rb
|
81
|
+
- ruby/lib/gitaly/blob_pb.rb
|
82
|
+
- ruby/lib/gitaly/blob_services_pb.rb
|
81
83
|
- ruby/lib/gitaly/commit_pb.rb
|
82
84
|
- ruby/lib/gitaly/commit_services_pb.rb
|
83
85
|
- ruby/lib/gitaly/deprecated-services_pb.rb
|