lib/ruboto/util/update.rb in ruboto-1.4.0 vs lib/ruboto/util/update.rb in ruboto-1.4.1
- old
+ new
@@ -488,13 +488,10 @@
'com/headius/options/example',
'com/kenai/constantine',
'com/kenai/jffi',
'com/kenai/jnr/x86asm',
'com/martiansoftware',
- 'com/oracle/nfi',
- 'com/oracle/truffle',
- 'java',
'jni',
'jnr/constants/platform/darwin',
'jnr/constants/platform/fake',
'jnr/constants/platform/freebsd',
'jnr/constants/platform/openbsd',
@@ -525,54 +522,43 @@
'org/jruby/javasupport/bsf',
# 'org/jruby/management', # should be excluded
# 'org/jruby/runtime/invokedynamic', # Should be excluded
# 'org/jruby/runtime/opto', # What is this?
# 'org/jruby/runtime/opto/OptoFactory*', # What is this?
- 'org/jruby/truffle',
- 'org/jruby/truffle/*.class',
- 'org/jruby/truffle/nodes',
- 'org/jruby/truffle/runtime/control',
- 'org/jruby/truffle/runtime/core',
- 'org/jruby/truffle/runtime/methods',
- 'org/jruby/truffle/runtime/signal',
- 'org/jruby/truffle/runtime/subsystems',
- 'org/jruby/truffle/runtime/util',
- 'org/jruby/truffle/runtime/*.class',
- 'org/jruby/truffle/translator',
]
elsif gem_version >= Gem::Version.new('9.0.0.0.SNAPSHOT')
raise "Unsupported jruby-jars version: #{gem_version}"
- elsif gem_version >= Gem::Version.new('1.7.23.dev')
- # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.23
+ elsif gem_version >= Gem::Version.new('1.7.25.dev')
+ # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.25
excluded_core_packages = [
'**/*Aix*',
'**/*Darwin*',
'**/*FreeBSD*',
'**/*MacOS*',
'**/*OpenBSD*',
'**/*Solaris*',
'**/*sunos*',
- '**/*Windows*',
'META-INF',
'com/headius/invokebinder',
'com/headius/options/example',
'com/kenai/constantine',
'com/kenai/jffi',
'com/kenai/jnr/x86asm',
'com/martiansoftware',
- 'java',
'jni',
+ 'jnr/**/*windows*',
'jnr/constants/platform/fake',
'jnr/enxio',
'jnr/ffi/annotations',
'jnr/ffi/byref',
'jnr/ffi/mapper',
'jnr/ffi/provider',
'jnr/ffi/util',
'jnr/ffi/Struct$*',
'jnr/ffi/types',
'jnr/x86asm',
+ 'org/jruby/**/*windows*',
'org/jruby/ant',
'org/jruby/cext',
'org/jruby/compiler/impl/BaseBodyCompiler*',
'org/jruby/compiler/util',
'org/jruby/demo',
@@ -584,39 +570,40 @@
'org/jruby/ext/ffi/io',
'org/jruby/ext/ffi/jffi',
'org/jruby/javasupport/bsf',
'org/yecht',
]
- elsif gem_version >= Gem::Version.new('1.7.22')
- # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.22
+ elsif gem_version >= Gem::Version.new('1.7.24.dev')
+ # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.24
excluded_core_packages = [
'**/*Aix*',
'**/*Darwin*',
- '**/*FreeBSD*',
+ '**/*FreeBSD*',
'**/*MacOS*',
'**/*OpenBSD*',
'**/*Solaris*',
'**/*sunos*',
- '**/*Windows*',
'META-INF',
'com/headius/invokebinder',
'com/headius/options/example',
'com/kenai/constantine',
'com/kenai/jffi',
'com/kenai/jnr/x86asm',
'com/martiansoftware',
'jni',
+ 'jnr/**/*windows*',
'jnr/constants/platform/fake',
'jnr/enxio',
'jnr/ffi/annotations',
'jnr/ffi/byref',
'jnr/ffi/mapper',
'jnr/ffi/provider',
'jnr/ffi/util',
'jnr/ffi/Struct$*',
'jnr/ffi/types',
'jnr/x86asm',
+ 'org/jruby/**/*windows*',
'org/jruby/ant',
'org/jruby/cext',
'org/jruby/compiler/impl/BaseBodyCompiler*',
'org/jruby/compiler/util',
'org/jruby/demo',
@@ -628,9 +615,15 @@
'org/jruby/ext/ffi/io',
'org/jruby/ext/ffi/jffi',
'org/jruby/javasupport/bsf',
'org/yecht',
]
+ elsif gem_version >= Gem::Version.new('1.7.23')
+ # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.23
+ excluded_core_packages = %w(**/*Aix* **/*Darwin* **/*FreeBSD* **/*MacOS* **/*OpenBSD* **/*Solaris* **/*sunos* **/*Windows* META-INF com/headius/invokebinder com/headius/options/example com/kenai/constantine com/kenai/jffi com/kenai/jnr/x86asm com/martiansoftware java jni jnr/constants/platform/fake jnr/enxio jnr/ffi/annotations jnr/ffi/byref jnr/ffi/mapper jnr/ffi/provider jnr/ffi/util jnr/ffi/Struct$* jnr/ffi/types jnr/x86asm org/jruby/ant org/jruby/cext org/jruby/compiler/impl/BaseBodyCompiler* org/jruby/compiler/util org/jruby/demo org/jruby/embed/bsf org/jruby/embed/jsr223 org/jruby/embed/osgi org/jruby/ext/ffi/AbstractMemory* org/jruby/ext/ffi/Enums* org/jruby/ext/ffi/io org/jruby/ext/ffi/jffi org/jruby/javasupport/bsf org/yecht)
+ elsif gem_version >= Gem::Version.new('1.7.22')
+ # TODO(uwe): Remove when we stop supporting jruby-jars 1.7.22
+ excluded_core_packages = %w(**/*Aix* **/*Darwin* **/*FreeBSD* **/*MacOS* **/*OpenBSD* **/*Solaris* **/*sunos* **/*Windows* META-INF com/headius/invokebinder com/headius/options/example com/kenai/constantine com/kenai/jffi com/kenai/jnr/x86asm com/martiansoftware jni jnr/constants/platform/fake jnr/enxio jnr/ffi/annotations jnr/ffi/byref jnr/ffi/mapper jnr/ffi/provider jnr/ffi/util jnr/ffi/Struct$* jnr/ffi/types jnr/x86asm org/jruby/ant org/jruby/cext org/jruby/compiler/impl/BaseBodyCompiler* org/jruby/compiler/util org/jruby/demo org/jruby/embed/bsf org/jruby/embed/jsr223 org/jruby/embed/osgi org/jruby/ext/ffi/AbstractMemory* org/jruby/ext/ffi/Enums* org/jruby/ext/ffi/io org/jruby/ext/ffi/jffi org/jruby/javasupport/bsf org/yecht)
elsif gem_version >= Gem::Version.new('1.7.19')
# TODO(uwe): Remove when we stop supporting jruby-jars 1.7.19
excluded_core_packages = %w(**/*.sh **/*Darwin* **/*Solaris* **/*windows* **/*Windows* META-INF com/headius/invokebinder com/headius/options/example com/kenai/constantine com/kenai/jffi com/kenai/jnr/x86asm com/martiansoftware jni jnr/constants/platform/darwin jnr/constants/platform/fake jnr/constants/platform/freebsd jnr/constants/platform/openbsd jnr/constants/platform/sunos jnr/enxio jnr/ffi/annotations jnr/ffi/byref jnr/ffi/mapper jnr/ffi/provider jnr/ffi/util jnr/ffi/Struct$* jnr/ffi/types jnr/posix/Aix* jnr/posix/FreeBSD* jnr/posix/MacOS* jnr/posix/OpenBSD* jnr/x86asm org/jruby/ant org/jruby/cext org/jruby/compiler/impl/BaseBodyCompiler* org/jruby/compiler/util org/jruby/demo org/jruby/embed/bsf org/jruby/embed/jsr223 org/jruby/embed/osgi org/jruby/ext/ffi/AbstractMemory* org/jruby/ext/ffi/Enums* org/jruby/ext/ffi/io org/jruby/ext/ffi/jffi org/jruby/javasupport/bsf org/yecht yaml.rb)
elsif gem_version >= Gem::Version.new('1.7.18')
# TODO(uwe): Remove when we stop supporting jruby-jars 1.7.18