ruaur 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruaur/aur.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb49a7f9a5bcca519511f9f1f2fabbc8d657e3b1b915356cb46e043eab64a35
4
- data.tar.gz: 5ffea6768d4352f1cfaf6f1c175178689633d1de5b50b0e60fa79cd05700bdb3
3
+ metadata.gz: ba3297c2f294cad86d5760d5983424d9bfaada3bab2c39783195aed8bd835dd7
4
+ data.tar.gz: c900c232576fb855fa5f8d489d92bb7075e3506fd97bbad5d4f9dd35cfd4a95f
5
5
  SHA512:
6
- metadata.gz: 1447d30080a31fe70cf00fb1d89e01d0b48c29130bb4fd315acb1c00b207227ff5edce1e3a1785368ef2a0d78262f672f2828fc56b92c21e2044d140a7c068b6
7
- data.tar.gz: 3f79408826332cbdf4036b3978db1a69543bab984e3bff1f2def6a0b901b758dbbb07a05bf1991a92cbda2057780a43f854dffb313b3494e4d4be3f533784f1c
6
+ metadata.gz: 2f40679c37f2b9c2baa5c219ded0163ebf9922dd8d2b9327e82c6eb36c8f84223f6f4e81a2c793f3d0264fd097c0c544608174d7d5f7a1408393cbb972df0ae0
7
+ data.tar.gz: 5dbcfb5a51cc50a1e177e452ea5852745069a36b69c1dccc54e2e6365ce41875d78dbb2439f44a5a80e2f71e81fcbda8ca78c957c809185702c10a2c01f37163
data/lib/ruaur/aur.rb CHANGED
@@ -135,10 +135,10 @@ class RuAUR::AUR
135
135
  Dir.chdir("#{@cache}/#{package.name}") do
136
136
  system("chown -R nobody:nobody .") if (Process.uid == 0)
137
137
  cmd = "su -s /bin/sh nobody -c \"makepkg --printsrcinfo\""
138
- cmd = "makepkg -sr" if (Process.uid != 0)
138
+ cmd = "makepkg --printsrcinfo" if (Process.uid != 0)
139
139
  %x(#{cmd}).each_line do |line|
140
- line.match(/depends\s*\=\s*([^>=:\n]+)/) do |m|
141
- deps.push(m[1])
140
+ line.match(/depends\s*\=\s*([^>=:]+)/) do |m|
141
+ deps.push(m[1].strip)
142
142
  end
143
143
  end
144
144
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruaur
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake