Skip to content

Commit

Permalink
Add alias gem 'trino-client-ruby'
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Oct 17, 2021
1 parent 2aa365a commit 597d332
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
1 change: 1 addition & 0 deletions trino-client-ruby/lib/trino-client-ruby.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'trino-client'
20 changes: 20 additions & 0 deletions trino-client-ruby/trino-client-ruby.gemspec
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 597d332

Please sign in to comment.