ruaur 1.0.10 → 1.1.0

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 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1ffc04a76be9fdae015c302397d80ce94693a79999cd332453c285624b926ad
4
- data.tar.gz: 331570aaeaa4b7ec3bfbd4172286494a2b4a676dd42d4c453ba129f8d2a0d0f7
3
+ metadata.gz: 2dbd2a41397ac9537793126cb1bafefe6bfd3d82e5e24463572fad8a45d2207d
4
+ data.tar.gz: f04baa0ae1c6fcff4fa9d59e7c06cd68db228d1ebc5798ae28ca1b4dcaff54e8
5
5
  SHA512:
6
- metadata.gz: 6e5451f7fa872b8a0eca8cd2c688076bdc7248b26eadd7a5fcc9722f647c24fd46c8c28bb4a5c67b4f4df4a1c10ef9a5254f11e169cf8521d4d7d59e8629e137
7
- data.tar.gz: 181fbe420e91658d5e700b576a888faecd1cba0a70876daa4bd30de2ecf5a16719fd8a8df73839aabe5874d1f2fd502449a43e6406ff689dc7a631ad61ca7ed3
6
+ metadata.gz: d1ddf14cf650bd654ec7f7dfb8515c84989a9ed1173b7b92ee92cd0cd963d3d5a7621718c84c7ebc50426f708f616a098e94be70af93ba2fe6221e2ba0a19aff
7
+ data.tar.gz: e2568cbc7a30cbf23280253632317bf068776d48f4982c8a88de7cc3647231fe981293892e912ca827c68a7b52c29d8b004c788f441fc4e2388becd52c136cba
@@ -25,12 +25,12 @@ class RuAUR::AUR
25
25
  system("makepkg -sr")
26
26
  end
27
27
 
28
- compiled = Dir["#{package.name}*.pkg.tar.xz"]
28
+ tar = "#{package.name}*.pkg.tar"
29
+ compiled = Dir["#{tar}.zst"]
30
+ compiled = Dir["#{tar}.xz"] if (compiled.empty?)
29
31
 
30
32
  if (compiled.empty?)
31
- raise RuAUR::Error::FailedToCompile.new(
32
- package.name
33
- )
33
+ raise RuAUR::Error::FailedToCompile.new(package.name)
34
34
  end
35
35
 
36
36
  return compiled
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.10
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2019-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.0.3
156
+ rubygems_version: 3.0.6
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Can search and install packages for Arch Linux