diff --git a/README.md b/README.md index 9dfd4388..a933e908 100644 --- a/README.md +++ b/README.md @@ -129,3 +129,11 @@ $ git tag "vX.Y.Z" $ gem build trino-client.gemspec $ gem push trino-client-X.Y.Z.gem ``` + +5. Push alias package (trino-client-ruby) +``` +# Push the alias gem too +$ cd trino-client-ruby +$ gem build trino-client-ruby.gemspec +$ gem push trino-client-ruby-X.Y.Z.gem +``` diff --git a/trino-client-ruby/lib/trino-client-ruby.rb b/trino-client-ruby/lib/trino-client-ruby.rb new file mode 100644 index 00000000..c4db0ed4 --- /dev/null +++ b/trino-client-ruby/lib/trino-client-ruby.rb @@ -0,0 +1 @@ +require 'trino-client' diff --git a/trino-client-ruby/trino-client-ruby.gemspec b/trino-client-ruby/trino-client-ruby.gemspec new file mode 100644 index 00000000..6ccbebe4 --- /dev/null +++ b/trino-client-ruby/trino-client-ruby.gemspec @@ -0,0 +1,20 @@ +require File.expand_path '../lib/trino/client/version', File.dirname(__FILE__) + +Gem::Specification.new do |gem| + gem.name = "trino-client-ruby" + gem.version = Trino::Client::VERSION + + gem.authors = ["Sadayuki Furuhashi"] + gem.email = ["sf@treasure-data.com"] + gem.description = %q{Trino client library} + gem.summary = %q{Trino client library} + gem.homepage = "https://github.com/treasure-data/trino-client-ruby" + gem.license = "Apache-2.0" + + gem.files = ['lib/trino-client-ruby.rb'] + gem.require_paths = ["lib"] + + gem.required_ruby_version = ">= 1.9.1" + + gem.add_dependency "trino-client", Trino::Client::VERSION +end