Edit gemspec and add initial files

This commit is contained in:
Mario Izquierdo 2018-02-04 18:26:55 -08:00
Родитель d64ba3196b
Коммит 7c27b13e20
7 изменённых файлов: 39 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gemspec

Просмотреть файл

@ -1 +1,3 @@
# Ruby Twirp
# Ruby Twirp
Twirp services and clients in Ruby.

Просмотреть файл

2
lib/twirp.rb Normal file
Просмотреть файл

@ -0,0 +1,2 @@
require_relative 'twirp/version'
require_relative 'twirp/error'

4
lib/twirp/error.rb Normal file
Просмотреть файл

@ -0,0 +1,4 @@
module Twirp
class Error
end
end

3
lib/twirp/version.rb Normal file
Просмотреть файл

@ -0,0 +1,3 @@
module Twirp
VERSION = "0.0.1"
end

Просмотреть файл

@ -0,0 +1,25 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'twirp/version'
Gem::Specification.new do |spec|
spec.name = "twirp"
spec.version = Twirp::VERSION
spec.authors = ["Cyrus A. Forbes", "Mario Izquierdo"]
spec.email = ["forbescyrus@gmail.com", "tothemario@gmail.com"]
spec.summary = %q{Twirp services in Ruby.}
spec.description = %q{Twirp is a simple RPC framework with protobuf service definitions. The Twirp gem provides support for Ruby.}
spec.homepage = "https://github.com/cyrusaf/ruby-twirp"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_runtime_dependency 'google/protobuf', '>= 3.0.0'
spec.add_development_dependency 'bundler', '>= 1'
end