rubygems-requirements-system 0.1.6 → 0.1.7

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: 7832a99e5492e5b8d34b5adb1205c61bb105204c62583a4ea48fd3bb1697726a
4
- data.tar.gz: a6cbd735c4e65289e18a7846d06f6a6c568ed488ba4928e4a5da95be08722ded
3
+ metadata.gz: 11e781bef20a2a18323bae20a0bbf495190a5485c3796f967808a65f30c9bcb2
4
+ data.tar.gz: 9734a1be138c282156c869e86febf308c9d8aa9cd768c69a8b6ebe5a719351f2
5
5
  SHA512:
6
- metadata.gz: a4a0e257e163cd345b6c6da060a962b198015cb7e05df112802ecdbd0fe4510855981d518ecd7422c29aa509bc2444a7ebce0e36a0f438d0cbbdecac588d88be
7
- data.tar.gz: ad6e07a2d7da3fd85b9eca10f9493df67fd95ee6096d4e29c45d722d7ff7b4ed891c5966bd1bd9f0894e0178f743bd5cb5d0d0f7259a0395952b12d798cb3737
6
+ metadata.gz: 78b97fa455c744e3f5f8432ff5f1c180ba3fbe5057f23ea970a115b6fba4d1b73f3b6165120ba59026191d40c152074accbdbadbf314000d1efe5781f1658f3e
7
+ data.tar.gz: d95bce0735d871c935c75e166e246f485499fb608549b271c506f938f5b76f5e789e07fbe6032a0eeb119846c18c8ed5a484b456a6a755ec9f2711dd7d876976
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 0.1.7 - 2026-06-15
4
+
5
+ ### Improvements
6
+
7
+ * conda: Add support for `CONDA_EXE`.
8
+
3
9
  ## 0.1.6 - 2026-04-14
4
10
 
5
11
  ### Improvements
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2023-2025 Ruby-GNOME Project Team
1
+ # Copyright (C) 2023-2026 Ruby-GNOME Project Team
2
2
  #
3
3
  # This program is free software: you can redistribute it and/or modify
4
4
  # it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +22,8 @@ module RubyGemsRequirementsSystem
22
22
 
23
23
  class << self
24
24
  def current_platform?
25
- ENV["CONDA_PREFIX"] && ExecutableFinder.exist?("conda")
25
+ File.executable?(ENV["CONDA_EXE"] || "/nonexistent") or
26
+ (ENV["CONDA_PREFIX"] and ExecutableFinder.exist?("conda"))
26
27
  end
27
28
  end
28
29
 
@@ -32,7 +33,8 @@ module RubyGemsRequirementsSystem
32
33
 
33
34
  private
34
35
  def install_command_line(package)
35
- ["conda", "install", "-c", "conda-forge", "-y", package]
36
+ conda = ENV["CONDA_EXE"] || "conda"
37
+ [conda, "install", "-c", "conda-forge", "-y", package]
36
38
  end
37
39
 
38
40
  def need_super_user_priviledge?
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2025 Ruby-GNOME Project Team
1
+ # Copyright (C) 2025-2026 Ruby-GNOME Project Team
2
2
  #
3
3
  # This program is free software: you can redistribute it and/or modify
4
4
  # it under the terms of the GNU Lesser General Public License as published by
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module RubyGemsRequirementsSystem
17
- VERSION = "0.1.6"
17
+ VERSION = "0.1.7"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-requirements-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubygems_version: 4.0.6
82
+ rubygems_version: 4.0.10
83
83
  specification_version: 4
84
84
  summary: Users can install system packages automatically on "gem install"
85
85
  test_files: []