rulp 0.0.33 → 0.0.34
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 +3 -6
- 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: 0bba7ca32b2b626745aab95c69ea44739505eb69
|
4
|
+
data.tar.gz: b860a1717f0eabc4209e2b4aeacc75e0e3bef656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 509e3d0965ab38569e412293ed1cd5c4a7f9fc164f83e5b3540eb93f772ccff9e70fe106c42595fe53d58a9e5e146a7a2affe07d3fd905d3958297cd6457a96d
|
7
|
+
data.tar.gz: ccf7da341e7898bd4aeef9253fc4f2efa5aa019bbc7085a9bd0949ac9e245457faf93fc1f029b3ac5355a3cb310b15147603c4ca037f8b48c094157ce5e1642d
|
data/lib/rulp/rulp.rb
CHANGED
@@ -72,16 +72,13 @@ module Rulp
|
|
72
72
|
solver_class.exists? if(solver_class)
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
75
|
def self.exec(command)
|
77
|
-
result = ""
|
78
76
|
Open3.popen2e("#{command} #{Rulp.print_solver_outputs ? "" : "> /dev/null 2>&1"}") do | inp, out, thr|
|
79
|
-
out.each do |line|
|
77
|
+
out.each.map do |line|
|
80
78
|
Rulp.log(Logger::DEBUG, line)
|
81
|
-
|
79
|
+
line
|
82
80
|
end
|
83
|
-
end
|
84
|
-
return result
|
81
|
+
end.join
|
85
82
|
end
|
86
83
|
|
87
84
|
class Problem
|
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.34
|
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-07-
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple Ruby LP description DSL
|
14
14
|
email: wc@pico.net.nz
|