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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 833b3a095e4754d6bb3d16a5a2569469ec95068b
4
- data.tar.gz: 85d23091f0da328a071220b5e9a66e402439bd39
3
+ metadata.gz: 6f9d98eccde592781063f268b9c2a01fa557b703
4
+ data.tar.gz: 67c1a6238aa8c769fcb829ea8a1b64bf4d82f7dc
5
5
  SHA512:
6
- metadata.gz: 7c0e074a967840a547d036bd7d6fd73b56c26c30f69abdc950b4d38ae64a847b1ead71a0186d2a17d1b0a42b634af024b74cdb51febd5dc7a72f88c896267281
7
- data.tar.gz: eb88a7f800532f84880f6f101a340d33c6434dbf89019ff4780e2f6808061ab6797f0d5b86810db1f7d950d1e67bbbcf1ded42e2fbf0df322a29a3d21caa3cb3
6
+ metadata.gz: 31b4ad1f55aaf57ee2012a19ad87f6a77a0c43cce40e2329d5cd3f4c5b8e7e98a7d8d9dc418793762f6f5f2a2109c77271a62c4bb7c9f7a282fbc7e27d35842d
7
+ data.tar.gz: 4d1c9902bb01d9d4e1c8869092e41d1b5e681ec6be8fc9dafc93ea7e49d868898183f09f50a58e17ae32cbe87871310ef37232a5097980157a733871c331ddc9
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.1
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-04-26 00:00:00.000000000 Z
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.4.8
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
- ��:D��\��Q0� |�� dwSh�ӂ����i����K��ԏ���b��ό^�D8����!ՊϾW,�����؎9��a1������Z{(�|
2
- ����7�$�u��؝�ع�NRC���#���������2g �|N~��B��kE�e�ѷ�z�j6:���kW,���KU�/6?90�]���e)u�ן�U�|���^³�����~���q�괅���P^��Cf'��������hTí�N'@�
1
+