rulp 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rulp/rulp.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4563e100a0516ca73b42566732631f0a90dfef9
|
4
|
+
data.tar.gz: c0cbc3dffa055001e34385ec717ffc19068377bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f37df906cb07c75ca940be3f9573931820efab1621a7117d78eee90c2d2500763af6345e25ad884c1f72f585a4f5aba73220b4516aeaccd7b63a0085110e190
|
7
|
+
data.tar.gz: b4a5f51f6940c073ba8d7038bc5788a6baf88532749b0e28bcdce1c7ddd252aa612393f3b31d442896b50a4efabaa7c9449cdd8ca56d70086793ec35108f345e
|
data/lib/rulp/rulp.rb
CHANGED
@@ -96,7 +96,7 @@ module Rulp
|
|
96
96
|
|
97
97
|
def [](*constraints)
|
98
98
|
Rulp.log(Logger::INFO, "Got constraints")
|
99
|
-
constraints.flatten
|
99
|
+
constraints = constraints.flatten.select{|x| x.kind_of?(Constraint)}
|
100
100
|
Rulp.log(Logger::INFO, "Flattened constraints")
|
101
101
|
@constraints.concat(constraints)
|
102
102
|
Rulp.log(Logger::INFO, "Joint constraints")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rulp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wouter Coppieters
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple Ruby LP description DSL
|
14
14
|
email: wc@pico.net.nz
|