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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11e781bef20a2a18323bae20a0bbf495190a5485c3796f967808a65f30c9bcb2
|
|
4
|
+
data.tar.gz: 9734a1be138c282156c869e86febf308c9d8aa9cd768c69a8b6ebe5a719351f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78b97fa455c744e3f5f8432ff5f1c180ba3fbe5057f23ea970a115b6fba4d1b73f3b6165120ba59026191d40c152074accbdbadbf314000d1efe5781f1658f3e
|
|
7
|
+
data.tar.gz: d95bce0735d871c935c75e166e246f485499fb608549b271c506f938f5b76f5e789e07fbe6032a0eeb119846c18c8ed5a484b456a6a755ec9f2711dd7d876976
|
data/doc/text/news.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2023-
|
|
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["
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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: []
|