ruaur 1.0.2 → 1.0.3

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 +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba3297c2f294cad86d5760d5983424d9bfaada3bab2c39783195aed8bd835dd7
4
- data.tar.gz: c900c232576fb855fa5f8d489d92bb7075e3506fd97bbad5d4f9dd35cfd4a95f
3
+ metadata.gz: 18c712211f909e0f7833b59887ab06ba25bec4fde5f9e108bc3f9e5f73bf4b6a
4
+ data.tar.gz: 1a881d22f712142b9ffa1dc6d8b3e922814a27d93c201244d4c818949e16df75
5
5
  SHA512:
6
- metadata.gz: 2f40679c37f2b9c2baa5c219ded0163ebf9922dd8d2b9327e82c6eb36c8f84223f6f4e81a2c793f3d0264fd097c0c544608174d7d5f7a1408393cbb972df0ae0
7
- data.tar.gz: 5dbcfb5a51cc50a1e177e452ea5852745069a36b69c1dccc54e2e6365ce41875d78dbb2439f44a5a80e2f71e81fcbda8ca78c957c809185702c10a2c01f37163
6
+ metadata.gz: 328cbd97695c7d20409ce97c89c02becfa9dac92fc29341a0580c7c1cb43d58a819453742f8ccdd03bf2448a4c46be1b0eb40d7d0ffa2e846b15d32ae920730a
7
+ data.tar.gz: ee24cf827af68cc0172265191706d36aa53b88e726a7264679ed3ecbfa03c7229b5c3af9fefafea61397fdcf647effbd26e6ba763b85d65a7361a42b66387fbb
data/lib/ruaur/aur.rb CHANGED
@@ -137,8 +137,10 @@ class RuAUR::AUR
137
137
  cmd = "su -s /bin/sh nobody -c \"makepkg --printsrcinfo\""
138
138
  cmd = "makepkg --printsrcinfo" if (Process.uid != 0)
139
139
  %x(#{cmd}).each_line do |line|
140
- line.match(/depends\s*\=\s*([^>=:]+)/) do |m|
141
- deps.push(m[1].strip)
140
+ line.match(
141
+ /depends(_i686|_x86_64)?\s*\=\s*([^>=:]+)/
142
+ ) do |m|
143
+ deps.push(m[2].strip)
142
144
  end
143
145
  end
144
146
  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.2
4
+ version: 1.0.3
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-12 00:00:00.000000000 Z
11
+ date: 2018-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake