native-package-installer 1.0.2 → 1.0.3

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
  SHA1:
3
- metadata.gz: b6e3c5da042003709458a9887de63c2168ebd7f5
4
- data.tar.gz: fe1f9f8e3ca5ae08564d39532407ef04e89e5658
3
+ metadata.gz: 27787c7536bd7f42d3efe3b0eb413da7f67bb745
4
+ data.tar.gz: a408357ea5b17f9f31d178956a44474f6612c7e9
5
5
  SHA512:
6
- metadata.gz: e32b604008cb25c60a6e90dc4af8947bc17bcf35c4a6e0af52275187c1ecbf6cb0c2db4f8584cc616e6f6e07906df0a0ebe145d8d83a4519110141d6febf1e55
7
- data.tar.gz: ee23905ddab477cd13347f652cb0bb1ad2d51daa9fe4cf9dbd4993d51327dd35057775d4c059ccfcd3d76419353ce10ed6ed8059b8084a8a3e39277ceb79f4c3
6
+ metadata.gz: c181444991050b102975348dced6603ca087e00ef714526cf7dda2fd9dcf073a104a60506de825737921fcbb81a89abb505b730a5945d831f7e8a496dfd8918e
7
+ data.tar.gz: e56366803a5dff64d1ea530afd944db44506452cef8dd0a71152a98371a080d4df9ddeddd8e1dd36e959ffb836d85905d0176460215af1fa5904848c3fb9c867
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.0.3 - 2017-05-29
4
+
5
+ ### Improvements
6
+
7
+ * Supported PATH setup on MSYS2.
8
+
3
9
  ## 1.0.2 - 2017-05-29
4
10
 
5
11
  ### Improvements
@@ -59,7 +59,9 @@ class NativePackageInstaller
59
59
  end
60
60
 
61
61
  def install_command
62
- "#{self.class.pacman_path} -S --noconfirm"
62
+ pacman_dir, pacman = File.split(self.class.pacman_path)
63
+ ENV["PATH"] = [pacman_dir, ENV["PATH"]].join(File::PATH_SEPARATOR)
64
+ "#{pacman} -S --noconfirm"
63
65
  end
64
66
 
65
67
  def need_super_user_priviledge?
@@ -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.0.2"
17
+ VERSION = "1.0.3"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: native-package-installer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou