rscript 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rscript.rb +13 -7
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98476c04f7d3f5baab79fca79e0acf7694eecf148fbab05133b546a6018b460d
|
4
|
+
data.tar.gz: 74d17b141e498f81b874b4be409105ede004ececf7d23bfbc189debbc591efb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27db0842b7c1534086bd2f66fd1388131bc1c0efc4c50850aaeac03c11219d5a8657c5860be1748c7a5982e031eef0aeaad8cc7fee1aa96820647b75f81c9ce4
|
7
|
+
data.tar.gz: c64c661f6a453563c0f3f3155ec994fdb43971284f071834cf7b8078dbd184a98ce5ff9f1232a232bf44ce0bb9fe3b9bbd1a06a92f915aeebe17268c18d2f596
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rscript.rb
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
# file: rscript.rb
|
4
4
|
|
5
5
|
# created: 1-Jul-2009
|
6
|
-
# updated:
|
6
|
+
# updated: 13-Oct-2018
|
7
7
|
|
8
8
|
# modification:
|
9
9
|
|
10
|
-
#
|
10
|
+
# 13-Oct-2018: bug fix: The log is now only written when the log exists
|
11
11
|
# 30-Jul-2018: feature: A list of job ids can now be returned
|
12
12
|
# 28-Jul-2018: feature: Jobs are now looked up from a Hash object
|
13
13
|
# 13-Jul-2018: bug fix: The use of a cache is now optional
|
@@ -25,7 +25,6 @@
|
|
25
25
|
# 08-Aug-2013: re-enabled the hashcache;
|
26
26
|
# 24-Jun-2011: disabled the hashcache
|
27
27
|
|
28
|
-
|
29
28
|
# description
|
30
29
|
# - This script executes Ruby script contained within an XML file.
|
31
30
|
# - The XML file can be stored locally or on a website.
|
@@ -42,10 +41,17 @@
|
|
42
41
|
# MIT license - basically you can do anything you like with the script.
|
43
42
|
# http://www.opensource.org/licenses/mit-license.php
|
44
43
|
|
44
|
+
#=begin
|
45
|
+
require 'requestor'
|
46
|
+
|
47
|
+
code = Requestor.read('http://a0.jamesrobertson.eu/rorb/r/ruby/') do |x|
|
48
|
+
x.require 'rscript_base'
|
49
|
+
x.require 'hashcache'
|
50
|
+
x.require 'rexle'
|
51
|
+
end
|
52
|
+
eval code
|
53
|
+
#=end
|
45
54
|
|
46
|
-
require 'rscript_base'
|
47
|
-
require 'hashcache'
|
48
|
-
require 'rexle'
|
49
55
|
|
50
56
|
|
51
57
|
class RScript < RScriptBase
|
@@ -139,7 +145,7 @@ class RScript < RScriptBase
|
|
139
145
|
rescue Exception => e
|
140
146
|
params = {}
|
141
147
|
err_label = e.message.to_s + " :: \n" + e.backtrace.join("\n")
|
142
|
-
@log.debug 'rscrcript/error: ' + err_label
|
148
|
+
@log.debug 'rscrcript/error: ' + err_label if @log
|
143
149
|
return err_label
|
144
150
|
end
|
145
151
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
TqGxWMRGelsOt2zNIFH+8d4Yz1dYsNbhK66Q8KRR2vHoT/9T3IJGBPHdsR6Kl6yB
|
32
32
|
e5SlxbsP/R/Leg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-
|
34
|
+
date: 2018-10-13 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hashcache
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
qO�O
|
2
|
+
ݰ� ��y�b�!1�����ľH�q=�ץ��]O��ej�
|
3
|
+
�A��~!
|