torigoya_kit 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/torigoya_kit/result.rb +8 -8
- data/lib/torigoya_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 861c5a9f9f035efcdffa4f9e0daef540f6df8d75
|
4
|
+
data.tar.gz: 7f6b9d783b48c4d70b40c30f0b2d2035031e727b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68a3011ef05146c59ece8dc724a41d53c42d51f7b4986818a014ec12cec14ff27b2bfd1184a260d0a0f4304916c2d4c97feac82338738439ab03c95083fc7bf
|
7
|
+
data.tar.gz: 43bb72275911ede3607c47bb40e937ec5a364fc1e76239c227987ac797cd3085f0c8ffe84be9fb1b1be6c836b2e8614f28599010bbbd02a6f5ebefb44ddcbfe1
|
data/lib/torigoya_kit/result.rb
CHANGED
@@ -5,19 +5,19 @@ require_relative 'stream_result'
|
|
5
5
|
|
6
6
|
module TorigoyaKit
|
7
7
|
class TicketResultUnit
|
8
|
-
def initialize()
|
9
|
-
@out =
|
10
|
-
@err =
|
11
|
-
@result =
|
8
|
+
def initialize(out="", err="", result=nil)
|
9
|
+
@out = out
|
10
|
+
@err = err
|
11
|
+
@result = result
|
12
12
|
end
|
13
13
|
attr_accessor :out, :err, :result
|
14
14
|
end
|
15
15
|
|
16
16
|
class TicketResult
|
17
|
-
def initialize
|
18
|
-
@compile =
|
19
|
-
@link =
|
20
|
-
@run =
|
17
|
+
def initialize(compile=nil, link=nil, run={})
|
18
|
+
@compile = compile
|
19
|
+
@link = link
|
20
|
+
@run = run
|
21
21
|
end
|
22
22
|
attr_accessor :compile, :link, :run
|
23
23
|
end
|
data/lib/torigoya_kit/version.rb
CHANGED