diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-26 16:52:51 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-26 16:52:51 +0300 |
commit | a8b93c55b50e880b3e9df3c2485c4de35501f417 (patch) | |
tree | 7a1f1b3c07360d8c4c8f74fc18ca0f280119686b /gitaly.gemspec | |
parent | f3242aeec49908c62419921c9d4a91d306c5cc65 (diff) |
Put gitaly.gemspec in the root directory
This allows Bundler to fetch development versions of the 'gitaly' gem
using git: directives.
Diffstat (limited to 'gitaly.gemspec')
-rw-r--r-- | gitaly.gemspec | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gitaly.gemspec b/gitaly.gemspec new file mode 100644 index 000000000..faa057e6c --- /dev/null +++ b/gitaly.gemspec @@ -0,0 +1,26 @@ +# coding: utf-8 +prefix = 'protos/ruby' +lib = File.expand_path(File.join('..', prefix, 'lib'), __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'gitaly/version' + +Gem::Specification.new do |spec| + spec.name = "gitaly" + spec.version = Gitaly::VERSION + spec.authors = ["Jacob Vosmaer"] + spec.email = ["jacob@gitlab.com"] + + spec.summary = %q{Auto-generated gRPC client for gitaly} + spec.description = %q{Auto-generated gRPC client for gitaly.} + spec.homepage = "https://gitlab.com/gitlab-org/gitaly" + spec.license = "MIT" + + spec.files = `git ls-files -z #{prefix}`.split("\x0").reject { |f| f.match(%r{^#{prefix}/(test|spec|features)/}) } + spec.require_paths = ["lib"] + + spec.add_dependency "google-protobuf", "~> 3.1" + spec.add_dependency "grpc", "~> 1.0" + + spec.add_development_dependency "bundler", "~> 1.12" + spec.add_development_dependency "rake", "~> 10.0" +end |