rscript 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8aec962ed289a675c59189eb2bd7d5c8c28cbdb0e6c35e2fa127f9c7336f181d
4
- data.tar.gz: acda35d707dc3d0162b889f4920354de05f3d4621c2f5c8fc04a613bab57b5f2
3
+ metadata.gz: 98476c04f7d3f5baab79fca79e0acf7694eecf148fbab05133b546a6018b460d
4
+ data.tar.gz: 74d17b141e498f81b874b4be409105ede004ececf7d23bfbc189debbc591efb8
5
5
  SHA512:
6
- metadata.gz: 3432b133427da64d0e5efc87df4907751fe0e906e2bf711e2037fb6fc2d0d5e35a2400ee0e25421b2bc56d06275706b9bbf0ef9070049c823d16a7af1a6c68ea
7
- data.tar.gz: 74b615fe0c30f3828fde0f1fb5625f468fa6405ed510ccdc8571893dc9b63d1444d8cbe349cfc555023c26915c1c33081d1e8105f104368fb88a4d4fbce3f8e8
6
+ metadata.gz: 27db0842b7c1534086bd2f66fd1388131bc1c0efc4c50850aaeac03c11219d5a8657c5860be1748c7a5982e031eef0aeaad8cc7fee1aa96820647b75f81c9ce4
7
+ data.tar.gz: c64c661f6a453563c0f3f3155ec994fdb43971284f071834cf7b8078dbd184a98ce5ff9f1232a232bf44ce0bb9fe3b9bbd1a06a92f915aeebe17268c18d2f596
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -3,11 +3,11 @@
3
3
  # file: rscript.rb
4
4
 
5
5
  # created: 1-Jul-2009
6
- # updated: 11-Aug-2018
6
+ # updated: 13-Oct-2018
7
7
 
8
8
  # modification:
9
9
 
10
- # 11-Aug-2018: Added the keyword auto: false to RxfHelper for clarity
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.1
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-08-11 00:00:00.000000000 Z
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
- 8��Ne%*�3���`�i�s�y��0�P�N���wn��J�naD�j�VV7�^{y˨r����FV}^X�
2
- �R�����J����s KL��ڄ&t�9h��'QeLi�,4�6+4Jy��_S�!]
1
+ qO� O
2
+ ݰ� ��yb�!1�����ľHq=�ץ��]O��ej
3
+ �A��~!