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 +4 -4
- data/lib/pkgforge/components/cflags.rb +1 -1
- data/lib/pkgforge/components/source.rb +1 -0
- data/lib/pkgforge/version.rb +1 -1
- data/pkgforge.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f678a6c39ff15c4d050822d845b841cd4bb35f8
|
4
|
+
data.tar.gz: 9e2c757588063e85a9e6b8782fd93ce50f212802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/pkgforge/version.rb
CHANGED
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.
|
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.
|
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-
|
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.
|
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.
|
68
|
+
version: 0.49.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|