qrpm 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qrpm/compiler.rb +1 -1
- data/lib/qrpm/qrpm.rb +1 -1
- data/lib/qrpm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3633ba7ca0cd037be1c840e3257ed755f48c09dd6083d331c0821d0ba0180afb
|
4
|
+
data.tar.gz: 48b54060b7f32a1abfaa27425584dbafd14252c35899a32ce7e9c6540344e850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2430dbe14cb6fbefa17b4f80df057399726d7422a9deeeb5daaeb59103d96db716aaee6fe1fab6ae5a8ebef864480a76d1ba8f46eac4127a47194c2763424ec
|
7
|
+
data.tar.gz: fbc211446dc687b0e7829a8862bfe4741f299686097b10ad8dcd1813fd0a5ed000008cf8d344d9d4935b2f7cd3211a2237e7bc87d73af8553a0a7a9e10e87ae5
|
data/lib/qrpm/compiler.rb
CHANGED
@@ -64,7 +64,7 @@ module Qrpm
|
|
64
64
|
|
65
65
|
# Compile and add dictionary to the AST. This allows command line
|
66
66
|
# assignments to override spec file values
|
67
|
-
dict.each { |k,v|
|
67
|
+
dict.each { |k,v| ValueNode.new(ast, k.to_s, Fragment::Fragment.parse(v)) }
|
68
68
|
|
69
69
|
# Add defaults
|
70
70
|
DEFAULTS.each { |k,v|
|
data/lib/qrpm/qrpm.rb
CHANGED
@@ -23,7 +23,7 @@ module Qrpm
|
|
23
23
|
def srcdir() @dict["srcdir"] end
|
24
24
|
|
25
25
|
def initialize(defs, deps)
|
26
|
-
constrain defs, String => Node
|
26
|
+
constrain defs, { String => Node }
|
27
27
|
@defs, @deps = defs, deps
|
28
28
|
@vars, @dirs, @files = {}, {}, {}
|
29
29
|
@defs.values.map(&:traverse).flatten.each { |object|
|
data/lib/qrpm/version.rb
CHANGED