Skip to content

Commit

Permalink
Merge pull request #12 from jwillemsen/master
Browse files Browse the repository at this point in the history
Update license types used and push each gem separately
  • Loading branch information
jwillemsen authored Dec 4, 2019
2 parents be54e60 + 9aec844 commit dd0fc37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
rake gem
rake r2corba:gem:taogem
gem push pkg/*.gem
gem push pkg/taosource*.gem
gem push pkg/r2corba*.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
12 changes: 6 additions & 6 deletions rakelib/gem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace :r2corba do
gem.require_paths = %w{lib}
gem.executables = []
gem.required_ruby_version = '>= 2.0'
gem.licenses = ['ACE']
gem.licenses = ['DOC']
end
R2CORBA::Gem.build_gem(gemspec)
end
Expand All @@ -97,7 +97,7 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
gem.require_paths = %w{lib}
gem.executables = %w{ridlc rins r2corba}
gem.required_ruby_version = '>= 2.0'
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
gem.require_paths << 'ext'
gem.add_dependency 'ridl', '~> 2.5'
gem.add_dependency 'rake', '~> 10.0'
Expand Down Expand Up @@ -136,7 +136,7 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
gem.require_paths = %w{ext}
gem.executables = []
gem.required_ruby_version = '>= 2.0.0'
gem.licenses = ['R2CORBA', 'ACE']
gem.licenses = ['Nonstandard', 'DOC']
gem.rdoc_options << '--exclude=\\.dll' << '--exclude=\\.so'
end
R2CORBA::Gem.build_gem(gemspec)
Expand Down Expand Up @@ -177,11 +177,11 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
if defined?(JRUBY_VERSION)
gem.require_paths << 'jacorb/lib'
gem.required_ruby_version = '>= 1.7.0'
gem.licenses = ['R2CORBA', 'JacORB']
gem.licenses = ['Nonstandard', 'GPL-2.0']
else
gem.files << File.join('ext', '.keep') unless ENV['FULL_BINGEM'] # to force installation of ext folder if libs are left out
gem.required_ruby_version = '>= 1.9.3'
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
gem.require_paths << 'ext'
end
gem.add_dependency 'ridl', '~> 2.5'
Expand Down Expand Up @@ -214,7 +214,7 @@ unless defined?(JRUBY_VERSION) || !R2CORBA::Config.is_win32
gem.executables = []
gem.extensions = []
gem.required_ruby_version = '>= 2.0'
gem.licenses = ['R2CORBA']
gem.licenses = ['Nonstandard']
end
R2CORBA::Gem.build_gem(gemspec)
end
Expand Down
4 changes: 2 additions & 2 deletions scripts/rake-gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
gem.executables << 'jrins'
gem.require_paths << 'jacorb/lib'
gem.required_ruby_version = '>= 1.5.0'
gem.licenses = ['R2CORBA', 'JacORB']
gem.licenses = ['Nonstandard', 'GPL-2.0']
else
gem.platform = Gem::Platform::CURRENT if RUBY_PLATFORM =~ /mingw32/
gem.required_ruby_version = '>= 1.8.6'
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
gem.require_paths << 'ext'
end
gem.add_dependency 'ridl', '>= 2.2.2'
Expand Down
2 changes: 1 addition & 1 deletion scripts/rake-taogem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def self.build_gem
gem.executables = []
#gem.platform = Gem::Platform::CURRENT
gem.required_ruby_version = '>= 2.0'
gem.licenses = ['ACE']
gem.licenses = ['DOC']
end
end

Expand Down

0 comments on commit dd0fc37

Please sign in to comment.