aries_ruby_cli 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aries_ruby_cli/version.rb +1 -1
- data/lib/aries_ruby_cli.rb +0 -4
- 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: 50aa5cb16def9975ef5e0de6cc7294a6daabe867
|
4
|
+
data.tar.gz: d7001f3cde6e9e8bf4a4fba1c251f4890a5f15fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f029f4444893ee50a524827e564f961fb929e9e3aabaae211ecdcd40362457aac90140968a284fd68f506392cd7b3cd3005ffecf36e333e5f11aea489d48f64
|
7
|
+
data.tar.gz: 9104944632012df2713ceac93e0df46ecf10d99247528d3792fb2b0da61ac7546c1ef7bb3751ba25c912d61d1fa3a15a67641033091fb50488ef8f4815ee4c6b
|
data/lib/aries_ruby_cli.rb
CHANGED
@@ -12,10 +12,6 @@ module AriesRubyCli
|
|
12
12
|
def run_task(input, config, execution_date)
|
13
13
|
$LOAD_PATH.unshift(File.join(Dir.pwd, 'lib')) unless $LOAD_PATH.include?(File.join(Dir.pwd, 'lib'))
|
14
14
|
task_name = ENV['TASK_NAME']
|
15
|
-
puts 'TASK NAME is ' + task_name
|
16
|
-
puts "INPUT " + input
|
17
|
-
puts "CONFIG " + config
|
18
|
-
puts execution_date
|
19
15
|
require task_name
|
20
16
|
activity = task_name.tr('-', '_').classify.constantize.new
|
21
17
|
puts activity.on_task(JSON.parse(input), JSON.parse(config), execution_date)
|