jarbler 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5166483687f2467695c869afc03f491134d1bd74004d97ba706b1296f6836d1
4
- data.tar.gz: 59d98964583486160c572d7c2ee8326f6f005a3cab558bd95b9114c5954a83eb
3
+ metadata.gz: 2be6f0a0ffe320df86b23b1e9f70fd0e1d65be38c9bac0f1a2c4d165f1c62969
4
+ data.tar.gz: 38fe9c1a73da1682ba09ce8364e6f174a567ad563f7254322a8a2a85fb19e329
5
5
  SHA512:
6
- metadata.gz: 5230dc737fd40641ee5fc2babaf5a982c5768f0d3281ad5fa384c3c9cc1814c575b33e906d69607a401475a1f46932be507dbed2b12fd28ba0c244bd84b10564
7
- data.tar.gz: d6226dd8aa0c658eacc18caa868c0084232267f04c99f968d01ea88e0f929fa5c9cd94fab39b7f76cca3a934f46e5797e86afbd165fbba6c1e9f8b2fb381e83b
6
+ metadata.gz: 26346f96a9051a76a5ad7b94d3317dbfd604b52c45ae0b4102d809a2c0d82f26226c81cf27028352b756d56f8a99032ac128827755f0ccfc7f2998b78491f531
7
+ data.tar.gz: b9b4720764fcaf4cdde6ff2051d1667fe5571ccd3fef3bca71f32a9b129a4d680998657ea8213ac395a1f1e9fc60a1eee21148acf34b5cfb4d09317d255af230
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.6] - 2023-06-19
4
+
5
+ - Bugfix: Do not clone default gems, because they are already included in the jruby jars standard library
6
+
3
7
  ## [0.1.5] - 2023-06-15
4
8
 
5
9
  - Bugfix: use minor ruby version without patch level for Gem files location
data/build_gem.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # remove existing gem file
4
4
  rm -f jarbler-*.gem
5
5
 
6
- rake test
6
+ bundle exec rake test
7
7
  if [ $? -ne 0 ]; then
8
8
  echo "Tests failed."
9
9
  exit 1
@@ -121,9 +121,11 @@ module Jarbler
121
121
  # Copy the Gem from bundler/gems including the gemspec
122
122
  file_utils_copy(spec.gem_dir, "#{gem_target_location}/bundler/gems")
123
123
  else # Gem is from rubygems
124
- # copy the Gem and gemspec separately
125
- file_utils_copy(spec.gem_dir, "#{gem_target_location}/gems")
126
- file_utils_copy("#{spec.gem_dir}/../../specifications/#{needed_gem[:full_name]}.gemspec", "#{gem_target_location}/specifications")
124
+ unless spec.default_gem? # Do not copy default gems, because they are already included in the jruby jars standard library
125
+ # copy the Gem and gemspec separately
126
+ file_utils_copy(spec.gem_dir, "#{gem_target_location}/gems")
127
+ file_utils_copy("#{spec.gem_dir}/../../specifications/#{needed_gem[:full_name]}.gemspec", "#{gem_target_location}/specifications")
128
+ end
127
129
  end
128
130
  end
129
131
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jarbler
4
- VERSION = "0.1.5"
5
- VERSION_DATE = "2023-06-15"
4
+ VERSION = "0.1.6"
5
+ VERSION_DATE = "2023-06-19"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jarbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ramm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Pack a Ruby app combined with jRuby runtime and all its Gem dependencies
14
14
  into a jar file to simply run the app on any Java platform by '> java -jar file.jar'
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  requirements: []
58
- rubygems_version: 3.0.3.1
58
+ rubygems_version: 3.3.26
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: Pack a Ruby app into a Java jar file