rake-compiler 1.2.8 → 1.2.9

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: 3d4560884ec49a0f783395d6211cb99c7403a9ce454b787b512d5aba0a843e96
4
- data.tar.gz: a85881febefd60aef5d36e093ed46646a35bb9cdd827cb96b1fdd226b58e0ad5
3
+ metadata.gz: 8c195284dc96e10ff112c727418ece61b8f424d11d780a051fe6a8f956cedc67
4
+ data.tar.gz: db6fc6765ea6d9349f27512bd2ea5e2a518d9db2d4645d871fff95a472c339a0
5
5
  SHA512:
6
- metadata.gz: dd726a0b3c0b146329e28e099d789e5fd9375b8e02a0519983850dca66bc073f507279b82b95e168d8be82830f33e93c14ce298a7163ba84ee82eccd53bc3fa0
7
- data.tar.gz: f3ad7d4dceebb3c01c5d3143047b28437172ba41199c0df35c280ad47652c7426ae5e01e944a8a8241b809db002ea96143a6eeba48f1756721cc3d915abd8949
6
+ metadata.gz: adffd1fd2b031e8e54a1e7eec5538395cf04cb0059d1558e827fd47583ba83926496cb28b4b8b2bcbb4bdd0b1f86b2ce8b3d4ea3b35d45b06445fd0fe95a23f2
7
+ data.tar.gz: 2a666039fb6bd9ec1ec0ac9cb46868405b0c08b6ba7754d8fe478a3143fa57435750d57d93754e6df61a2c9395f7b92d61d376ef1b8dfffd8d5691daf8e6d2e5
data/History.md CHANGED
@@ -1,3 +1,20 @@
1
+ ### 1.2.9 / 2024-12-31
2
+
3
+ * Improvements:
4
+ * GH-242: Java: Changed to the default target Java to 8.
5
+ * Patch by Charles Oliver Nutter
6
+
7
+ * GH-244: Added support for double-digit version segments in Ruby
8
+ version such as "2.6.10".
9
+ * Patch by Mike Dalessio
10
+
11
+ * GH-240: Reverted "stopped to generate tasks for nonexistent files"
12
+ in 1.2.8. Users must specify valid `spec.files`.
13
+
14
+ * Thanks:
15
+ * Charles Oliver Nutter
16
+ * Mike Dalessio
17
+
1
18
  ### 1.2.8 / 2024-10-04
2
19
 
3
20
  * Improvements:
@@ -107,8 +107,8 @@ module Rake
107
107
  lib_binary_path = "#{lib_path}/#{File.basename(binary(platf))}"
108
108
 
109
109
  files.each do |gem_file|
110
- # ignore directories, the binary extension and non-existent files
111
- next if File.directory?(gem_file) || gem_file == lib_binary_path || !File.exist?(gem_file)
110
+ # ignore directories and the binary extension
111
+ next if File.directory?(gem_file) || gem_file == lib_binary_path
112
112
  stage_file = "#{stage_path}/#{gem_file}"
113
113
 
114
114
  # copy each file from base to stage directory
@@ -38,8 +38,8 @@ module Rake
38
38
  @source_pattern = '**/*.java'
39
39
  @classpath = nil
40
40
  @debug = false
41
- @source_version = '1.7'
42
- @target_version = '1.7'
41
+ @source_version = '8'
42
+ @target_version = '8'
43
43
  @release = nil
44
44
  @encoding = nil
45
45
  @java_compiling = nil
@@ -154,7 +154,7 @@ task 'update-config' do
154
154
  files = Dir.glob("#{USER_HOME}/ruby/*/*/**/rbconfig.rb").sort
155
155
 
156
156
  files.each do |rbconfig|
157
- version, platform = rbconfig.match(/.*-(\d.\d.\d).*\/([-\w]+)\/rbconfig/)[1,2]
157
+ version, platform = rbconfig.match(/.*-(\d+\.\d+\.\d+).*\/([-\w]+)\/rbconfig/)[1,2]
158
158
  platforms = [platform]
159
159
 
160
160
  # fake alternate (binary compatible) i386-mswin32-60 platform
data/tasks/gem.rake CHANGED
@@ -3,3 +3,13 @@ require "bundler/gem_helper"
3
3
  base_dir = File.join(__dir__, "..")
4
4
  helper = Bundler::GemHelper.new(base_dir)
5
5
  helper.install
6
+
7
+ release_task = Rake.application["release"]
8
+ # We use Trusted Publishing.
9
+ release_task.prerequisites.delete("build")
10
+ release_task.prerequisites.delete("release:rubygem_push")
11
+ release_task_comment = release_task.comment
12
+ if release_task_comment
13
+ release_task.clear_comments
14
+ release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
15
+ end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  - Luis Lavena
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2024-10-04 00:00:00.000000000 Z
12
+ date: 2024-12-31 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rake
@@ -121,6 +122,7 @@ homepage: https://github.com/rake-compiler/rake-compiler
121
122
  licenses:
122
123
  - MIT
123
124
  metadata: {}
125
+ post_install_message:
124
126
  rdoc_options:
125
127
  - "--main"
126
128
  - README.md
@@ -139,7 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
141
  - !ruby/object:Gem::Version
140
142
  version: 1.8.23
141
143
  requirements: []
142
- rubygems_version: 3.6.0.dev
144
+ rubygems_version: 3.4.20
145
+ signing_key:
143
146
  specification_version: 4
144
147
  summary: Rake-based Ruby Extension (C, Java) task generator.
145
148
  test_files: []