mumuki-bash-runner 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/try_hook.rb +11 -11
- data/lib/version_hook.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7e943e721047ea7b8eae3140aed5fd786a816ea9c2be1c4b6fcaf746a6270c6
|
4
|
+
data.tar.gz: 739ba7b8e688951e1b92381b2b601be60691032a1933cd8bad999dfccad4a6c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2872b0805e592ed64aa75747905f9fb8cf79ef95769665652a54ca30d4430e8742eb497b4062403893c24aba91a9327d69795016378b4bb58dbe077a60074c3
|
7
|
+
data.tar.gz: f642ca1de76746c5402453dc1af69d2d4604ed5b8b87860d6b3f13cab469e680643168a8afb500e46a4259d9dd1747c499b38e135134f84dd75c544ed14f0760
|
data/lib/try_hook.rb
CHANGED
@@ -6,17 +6,17 @@ class BashTryHook < Mumukit::Templates::TryHook
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def compile_file_content(r)
|
9
|
-
|
10
|
-
echo #{extra_separator}
|
11
|
-
#{r.extra}
|
12
|
-
echo #{cookie_separator}
|
13
|
-
#{(r.cookie || []).join("\n")}
|
14
|
-
echo #{query_separator}
|
15
|
-
#{r.query}
|
16
|
-
echo $?
|
17
|
-
echo #{goal_separator}
|
18
|
-
#{r.goal.with_indifferent_access[:query]}
|
19
|
-
bash
|
9
|
+
<<~bash
|
10
|
+
(echo #{extra_separator}
|
11
|
+
#{r.extra}
|
12
|
+
echo #{cookie_separator}
|
13
|
+
#{(r.cookie || []).join("\n")}
|
14
|
+
echo #{query_separator}
|
15
|
+
#{r.query}
|
16
|
+
echo $?
|
17
|
+
echo #{goal_separator}
|
18
|
+
#{r.goal.with_indifferent_access[:query]}) 2>&1
|
19
|
+
bash
|
20
20
|
end
|
21
21
|
|
22
22
|
def command_line(filename)
|
data/lib/version_hook.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-bash-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mumuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.0.
|
126
|
+
rubygems_version: 3.0.4
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: bash Runner for Mumuki
|