native-package-installer 1.1.6 → 1.1.8

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: f55746d70dbe2e3afb02bae4f0025933456d4e2409da461c9f72663b254a6d4a
4
- data.tar.gz: 66bc734383c1fc47c144f4f43116b0ff602bc9ef5e177581e7219665d489508b
3
+ metadata.gz: 981f350a9fba6ec91378866814d6d2179554d84900d53df8439642ab27a2e805
4
+ data.tar.gz: bdfe0a271caa0e2157455a8eaf1cbef53f03c6d5e63a022db0924bc0fb4135c4
5
5
  SHA512:
6
- metadata.gz: cde30f3ac7406c3d723e829615ba0798bc720ffd219dc1cb26c7bbceeb8d668a6d3992561dd7502d26290c050c7697d93769d979aaa1d7780ed08d3bc98376f6
7
- data.tar.gz: 7a4535a74406e27a6eb47182742ef541f68ac71af1cc44f24aa6de355cc98863a56d504d22991d2194d869f60bbcb26ae3b41d0b469503b04caf40d0f6ab8cc2
6
+ metadata.gz: 14b607b69bae622628e4b9e15e2ff55b567adeb3b1ed51cdb246bab030c12135d79626bc1da1c609b8d272abb15c198c80d2d6f83e7015dd8849b3c62cef8821
7
+ data.tar.gz: 4dd3f71b628b649f7f2a97276af8b478f886107221b7736a52194316fd79d2185b649622c4d18bd684e36fefe6b0ae648f235222b717187ab2134fa1429ce8ee
data/doc/text/news.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # News
2
2
 
3
+ ## 1.1.8 - 2023-06-21
4
+
5
+ ### Improvements
6
+
7
+ * conda: Stopped to use conda unless `CONDA_PREFIX` environment
8
+ variable is defined.
9
+
10
+ ## 1.1.7 - 2023-06-20
11
+
12
+ ### Fixes
13
+
14
+ * conda: Fixed a bug that auto installation may be blocked.
15
+
3
16
  ## 1.1.6 - 2023-06-18
4
17
 
5
18
  ### Improvements
@@ -20,7 +20,7 @@ class NativePackageInstaller
20
20
 
21
21
  class << self
22
22
  def current_platform?
23
- ExecutableFinder.exist?("conda")
23
+ ENV["CONDA_PREFIX"] && ExecutableFinder.exist?("conda")
24
24
  end
25
25
  end
26
26
 
@@ -29,7 +29,7 @@ class NativePackageInstaller
29
29
  end
30
30
 
31
31
  def install_command
32
- "conda install -c conda-forge"
32
+ "conda install -c conda-forge -y"
33
33
  end
34
34
 
35
35
  def need_super_user_priviledge?
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013-2022 Ruby-GNOME Project Team
1
+ # Copyright (C) 2013-2023 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library 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
  class NativePackageInstaller
17
- VERSION = "1.1.6"
17
+ VERSION = "1.1.8"
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: native-package-installer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-17 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Users need to install native packages to install an extension library