rsc 0.2.1 → 0.2.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/rsc.rb +3 -3
- metadata +3 -3
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f9d98eccde592781063f268b9c2a01fa557b703
|
4
|
+
data.tar.gz: 67c1a6238aa8c769fcb829ea8a1b64bf4d82f7dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b4ad1f55aaf57ee2012a19ad87f6a77a0c43cce40e2329d5cd3f4c5b8e7e98a7d8d9dc418793762f6f5f2a2109c77271a62c4bb7c9f7a282fbc7e27d35842d
|
7
|
+
data.tar.gz: 4d1c9902bb01d9d4e1c8869092e41d1b5e681ec6be8fc9dafc93ea7e49d868898183f09f50a58e17ae32cbe87871310ef37232a5097980157a733871c331ddc9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rsc.rb
CHANGED
@@ -20,7 +20,7 @@ class RSC
|
|
20
20
|
a = doc.root.xpath 'job/attribute::id'
|
21
21
|
|
22
22
|
a.each do |attr|
|
23
|
-
method_name = attr.gsub('-','_')
|
23
|
+
method_name = attr.value.gsub('-','_')
|
24
24
|
method = "def %s(*args); run_job('%s', args) ; end" % \
|
25
25
|
([method_name] * 2)
|
26
26
|
self.instance_eval(method)
|
@@ -47,8 +47,8 @@ class RSC
|
|
47
47
|
@obj = DRbObject.new(nil, "druby://#{drb_hostname}:61000")
|
48
48
|
end
|
49
49
|
|
50
|
-
def run_job(package, job, params={}, *qargs)
|
51
|
-
@obj.run_job(package, job, params, qargs)
|
50
|
+
def run_job(package, job, params={}, *qargs, package_path: nil)
|
51
|
+
@obj.run_job(package, job, params, qargs, package_path)
|
52
52
|
end
|
53
53
|
|
54
54
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
cEppsqFYxK8wnaAgam2R9vD9ercJkMQBi51dIuHROvHdZOw7RiX1TcG+7m+FsTXW
|
32
32
|
9JTOJVfbuLge6w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexle
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.5.1
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Objectifies remote calls to RSF packages and jobs which are run through a
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
����7�$�u��؝�ع�NRC���#���������2g�|N~��B��kE�e�ѷ�z�j6:���kW,���KU�/6?90�]���e)u�ן�U�|���^³�����~���q�괅���P^��Cf'��������hTí�N'@�
|
1
|
+
�
|