pkgforge 0.17.0 → 0.18.0

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: 005a33ff9b35ea03374836e569693a11765e2f14
4
- data.tar.gz: 385f9175f5d31925f182a94859ee45a1b6de5134
3
+ metadata.gz: 8f678a6c39ff15c4d050822d845b841cd4bb35f8
4
+ data.tar.gz: 9e2c757588063e85a9e6b8782fd93ce50f212802
5
5
  SHA512:
6
- metadata.gz: 30ee4f25458aa42b674c505c8f02b639a67e7a2be7c196f40ac77fab855742ace43d9caed0846b44fe211fba5483201857ca2be005f8fc68f60bb29d2042974e
7
- data.tar.gz: 235d5495cab9a0db8f0d90737f592f961c151a56aa1f217dad6e0127bd4bd616c91eb77e517b68c8da0b52b45120e186970d205305aa1c90fb965f57905c57b5
6
+ metadata.gz: ab4306d53f97bb1705ab2c1ac57d0c5173977c34d5199deb5e50684dcfdc49fd2a09a61d7ed3e734065b535a4c6956d9bae0afb04a8569bd4bc78f40e27ef05d
7
+ data.tar.gz: 42d93ea56f3f5e02b6758a391b29759b1109523f8767b511148daaac1058824049e70e0b04353e6ee3a2b0a9a9ab1f8e482a08ffb7d0c8548ff3587543b851f5
@@ -21,7 +21,7 @@ module PkgForge
21
21
  class Forge
22
22
  Contract Maybe[ArrayOf[String]] => nil
23
23
  def cflags(value = nil)
24
- default = '-I%{dep}/usr/include -L%{dep}/usr/lib'
24
+ default = '-I%<dep>s/usr/include -L%<dep>s/usr/lib'
25
25
  value ||= @forge.deps.map { |x, _| (default % { dep: dep(x) }).split }
26
26
  @forge.cflags += value.flatten
27
27
  nil
@@ -32,6 +32,7 @@ module PkgForge
32
32
  dest_file = tmpfile(:source_tar)
33
33
  File.open(dest_file, 'wb') do |fh|
34
34
  open(source[:url], 'rb') { |request| fh.write request.read }
35
+ verify_file(dest_file, source[:checksum])
35
36
  end
36
37
  run "tar -xf #{dest_file} --strip-components=1"
37
38
  end
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.17.0'.freeze
4
+ VERSION = '0.18.0'.freeze
5
5
  end
data/pkgforge.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency 'contracts', '~> 0.16.0'
22
22
  s.add_dependency 'cymbal', '~> 1.0.0'
23
23
 
24
- s.add_development_dependency 'rubocop', '~> 0.48.0'
24
+ s.add_development_dependency 'rubocop', '~> 0.49.0'
25
25
  s.add_development_dependency 'rake', '~> 12.0.0'
26
26
  s.add_development_dependency 'codecov', '~> 0.1.1'
27
27
  s.add_development_dependency 'rspec', '~> 3.6.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgforge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-12 00:00:00.000000000 Z
11
+ date: 2017-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.48.0
61
+ version: 0.49.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.48.0
68
+ version: 0.49.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement