mingw-make 1.0.0-x64-mingw-ucrt → 1.1.0-x64-mingw-ucrt

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9706ca235794d928d5df706432b8fcc9f8ce1a5ff49607b39dd83c9c40e17795
4
- data.tar.gz: fa576989d96e43aa0fc88b1b1fe759b5d3430e870c2d46b107db4d7076df1fb1
3
+ metadata.gz: 464742e744f8cd5ef6d7d1cf17eb17ba7bbc1f00f081a33a79953e3ce3769574
4
+ data.tar.gz: a5830fd8eb38b0c357e1bac919c2b56a057649695ba3284765ac29707c841db4
5
5
  SHA512:
6
- metadata.gz: 55111f155992ecf15b6e65157cdc89a184010d06c6a117dc94ed13980ad9583c3bc40c33aa96466f06f38a4bf937fd94aeb0e4cd5d254c3f048a0c4595b1c5b4
7
- data.tar.gz: eb79299cd21d25ba0409a48af05ade2ba3fb8f087c458e75bd5064907406cf3c31aa3459f7f94a4e5e257a8d2e60686f0d9b6afb2a84e5ffb79724b963107464
6
+ metadata.gz: e03015f78e7ad3e3a9ffd22cf5e5447b6b304d6470797e1c9c1a00f2ce0c10b1a38b138416941dae25becc9c463ac445c26f33279e74637dd304b5f69dae2110
7
+ data.tar.gz: ac7c8b11b3ee4d2ab263bd88a3ee9cfac2fc306166943411f53540cfde26f7c3fda830df3a142309064289145c185938f5f29f4c68c37312f9136194f17fc205
data/README.md CHANGED
@@ -11,12 +11,37 @@ all it took was a couple of quick hacks and we have ourselves a lightweight Devk
11
11
  Setups with MinGW and RubyInstaller’s prebuilds with these patches are ideal to keep footprints small,
12
12
  for experts strongly recommend WSL for a fully-fledged Ruby environment.
13
13
 
14
- This is a newly published experiment; I have only tested with a couple of projects, `bigdecimal-3.1.6` among them.
14
+ ### Compatibility
15
+
16
+ This is a newly published experiment; I have only tested with the following projects.
15
17
  In theory, it’s compatible with anything that doesn’t leave [`mkmf`](https://rubyapi.org/o/MakeMakefile)’s comfort zone,
16
18
  which I expect to be the majority of C-based gems. (It *will indeed* “take a while” when “Building native extensions”.)
17
19
  Please do [let me know](https://github.com/ParadoxV5/ruby-mingw-make/issues)
18
20
  if it doesn’t meet the expectations on something not unusual.
19
21
 
22
+ #### builds
23
+ * `bigdecimal 3.1.6..3.1.7`
24
+ * `json 2.7.2`
25
+ * `io-console 0.7.2`
26
+ * `nkf 0.2.0`
27
+ * `strscan 3.1.0`
28
+ * `debug 1.9.2`
29
+ * `racc 1.7.3`
30
+
31
+ #### fails
32
+ * `prism 0.24.0`:
33
+ > * It must be possible to build prism without needing ruby/rake/etc.
34
+ > Because once prism is the single parser in TruffleRuby, JRuby or CRuby there won't be another Ruby parser around to parse such Ruby code.
35
+ > \[…]
36
+ >
37
+ > The main solution for the second point seems a Makefile, otherwise many of the usages would have to duplicate the logic to build prism.
38
+ > ⸺ https://github.com/ruby/prism/blob/19c67fb/docs/build_system.md#requirements
39
+ * `ffi 1.16.3`: see also https://github.com/ffi/ffi/issues/1091
40
+
41
+ ### not thoroughly tested
42
+ * `syslog 0.1.2`: [It’s UNIX-specific.](https://stackoverflow.com/a/9503254)
43
+ * `readline-ext 0.2.0`: ``extconf.rb:64:in `<main>': Neither readline nor libedit was found (RuntimeError)``
44
+
20
45
 
21
46
  ## Setup
22
47
 
@@ -33,9 +58,6 @@ if it doesn’t meet the expectations on something not unusual.
33
58
  gem install mingw-make
34
59
  ```
35
60
 
36
-
37
- ## Usage
38
-
39
61
  ### Use with `gem`
40
62
 
41
63
  Thanks to `gem`’s [plugins](https://guides.rubygems.org/plugins/) system, it’s online out of the box!
data/bin/make ADDED
@@ -0,0 +1,2 @@
1
+ #!ruby
2
+ exec 'mingw32-make', *ARGV
data/lib/mingw-make.rb CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  # Set up `RUBYOPT=-I/absolute/path/to/lib/mingw-make/` for subprocesses
4
4
  ENV['RUBYOPT'] = "#{ENV['RUBYOPT']} -I#{File.join __dir__, 'mingw-make'}"
5
- ENV['MAKE'] ||= 'mingw32-make'
5
+ ENV['MAKE'] ||= 'make'
@@ -17,4 +17,4 @@ else
17
17
  end
18
18
  end
19
19
 
20
- Gem.pre_install { require_relative 'mingw-make' }
20
+ Gem.pre_install { require_relative 'mingw-make' or nil }
data/mingw-make.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do|spec|
4
4
  spec.name = 'mingw-make'
5
5
  spec.summary = 'Patches that enable Windows Ruby to install C extension gems with MinGW without MSYS2 (Devkit)'
6
- spec.version = '1.0.0'
6
+ spec.version = '1.1.0'
7
7
  spec.author = 'ParadoxV5'
8
8
  spec.license = 'WTFPL'
9
9
 
@@ -17,6 +17,7 @@ Gem::Specification.new do|spec|
17
17
  }
18
18
 
19
19
  spec.files = Dir['**/*']
20
+ spec.executable = 'make'
20
21
 
21
22
  spec.platform = 'x64-mingw-ucrt'
22
23
  spec.required_ruby_version = '~> 3.1'
metadata CHANGED
@@ -1,24 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mingw-make
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - ParadoxV5
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-10 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
15
- executables: []
15
+ executables:
16
+ - make
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
19
20
  - Gemfile
20
21
  - LICENSE.txt
21
22
  - README.md
23
+ - bin/make
22
24
  - lib/mingw-make.rb
23
25
  - lib/mingw-make/mkmf.rb
24
26
  - lib/rubygems_plugin.rb