Skip to content

Commit dd0fc37

Browse files
authored
Merge pull request #12 from jwillemsen/master
Update license types used and push each gem separately
2 parents be54e60 + 9aec844 commit dd0fc37

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
2424
rake gem
2525
rake r2corba:gem:taogem
26-
gem push pkg/*.gem
26+
gem push pkg/taosource*.gem
27+
gem push pkg/r2corba*.gem
2728
env:
2829
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

‎rakelib/gem.rake‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ namespace :r2corba do
7676
gem.require_paths = %w{lib}
7777
gem.executables = []
7878
gem.required_ruby_version = '>= 2.0'
79-
gem.licenses = ['ACE']
79+
gem.licenses = ['DOC']
8080
end
8181
R2CORBA::Gem.build_gem(gemspec)
8282
end
@@ -97,7 +97,7 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
9797
gem.require_paths = %w{lib}
9898
gem.executables = %w{ridlc rins r2corba}
9999
gem.required_ruby_version = '>= 2.0'
100-
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
100+
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
101101
gem.require_paths << 'ext'
102102
gem.add_dependency 'ridl', '~> 2.5'
103103
gem.add_dependency 'rake', '~> 10.0'
@@ -136,7 +136,7 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
136136
gem.require_paths = %w{ext}
137137
gem.executables = []
138138
gem.required_ruby_version = '>= 2.0.0'
139-
gem.licenses = ['R2CORBA', 'ACE']
139+
gem.licenses = ['Nonstandard', 'DOC']
140140
gem.rdoc_options << '--exclude=\\.dll' << '--exclude=\\.so'
141141
end
142142
R2CORBA::Gem.build_gem(gemspec)
@@ -177,11 +177,11 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
177177
if defined?(JRUBY_VERSION)
178178
gem.require_paths << 'jacorb/lib'
179179
gem.required_ruby_version = '>= 1.7.0'
180-
gem.licenses = ['R2CORBA', 'JacORB']
180+
gem.licenses = ['Nonstandard', 'GPL-2.0']
181181
else
182182
gem.files << File.join('ext', '.keep') unless ENV['FULL_BINGEM'] # to force installation of ext folder if libs are left out
183183
gem.required_ruby_version = '>= 1.9.3'
184-
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
184+
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
185185
gem.require_paths << 'ext'
186186
end
187187
gem.add_dependency 'ridl', '~> 2.5'
@@ -214,7 +214,7 @@ unless defined?(JRUBY_VERSION) || !R2CORBA::Config.is_win32
214214
gem.executables = []
215215
gem.extensions = []
216216
gem.required_ruby_version = '>= 2.0'
217-
gem.licenses = ['R2CORBA']
217+
gem.licenses = ['Nonstandard']
218218
end
219219
R2CORBA::Gem.build_gem(gemspec)
220220
end

‎scripts/rake-gem.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
gem.executables << 'jrins'
2020
gem.require_paths << 'jacorb/lib'
2121
gem.required_ruby_version = '>= 1.5.0'
22-
gem.licenses = ['R2CORBA', 'JacORB']
22+
gem.licenses = ['Nonstandard', 'GPL-2.0']
2323
else
2424
gem.platform = Gem::Platform::CURRENT if RUBY_PLATFORM =~ /mingw32/
2525
gem.required_ruby_version = '>= 1.8.6'
26-
gem.licenses = ['R2CORBA', 'ACE', 'GPL']
26+
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
2727
gem.require_paths << 'ext'
2828
end
2929
gem.add_dependency 'ridl', '>= 2.2.2'

‎scripts/rake-taogem.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def self.build_gem
4949
gem.executables = []
5050
#gem.platform = Gem::Platform::CURRENT
5151
gem.required_ruby_version = '>= 2.0'
52-
gem.licenses = ['ACE']
52+
gem.licenses = ['DOC']
5353
end
5454
end
5555

0 commit comments

Comments
 (0)