rsf_services 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: db4091a687c2651292bfb7aa4ac4a12395393893
4
- data.tar.gz: 357f30af7cac1515c75e1185725261a6b7d77b70
3
+ metadata.gz: 411a8bb6842f9fd75b9d189181b88bf062a5adbf
4
+ data.tar.gz: a03739fe6d1e8ddead5dda1481e0dca7c0d50d2a
5
5
  SHA512:
6
- metadata.gz: fd58370452eb13f5c6a6e405e513c71f2acc1faaa459e733528fc367a58638570368775e94cba9765bc826dbbc39af6f5ee4d82bdafe57dc1b90dd2ad6d628c6
7
- data.tar.gz: 40edecdc8de403424957a053187d99a7b0e6f6febc9b25a7e6102c42e899bd145aaa36bb9dd02f0f5f95d42aa680186b33dc6a1b7622e8912fe57cf339d7b394
6
+ metadata.gz: 45094d04a90a2879be76e9bd08d2b14a7bcebf1affdd21519b2db9650cfb97ac759d3a9a6e7a3108f40ba93e97e8846fbe7bb7ae6512704fea31079616106398
7
+ data.tar.gz: ab26eb57a5260ccad9d77ba1caf75d609178c196661ba8a79fc07a88d2c5beb2d9948f59a9d3a59ddec6784115bd0d09915f10a3a0df215873108d129a66a09e
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rsf_services.rb CHANGED
@@ -10,12 +10,14 @@ class RScriptRW < RScript
10
10
 
11
11
  attr_accessor :type
12
12
 
13
- def initialize(log: log)
14
- super(log: log)
13
+ def initialize(log: log, debug: debug)
14
+ @type = :get
15
+ super(log: log, debug: debug)
15
16
  end
16
17
 
17
18
  def read(args=[])
18
19
 
20
+ puts 'inside read' if @debug
19
21
  @log.info 'RScript/read: args: ' + args.inspect if @log
20
22
 
21
23
  threads = []
@@ -31,12 +33,17 @@ class RScriptRW < RScript
31
33
  end
32
34
 
33
35
  args.compact!
36
+
37
+ if @debug then
38
+ puts 'type: ' + type.to_s.inspect
39
+ puts 'self.type: ' + self.type.to_s.inspect
40
+ end
34
41
 
35
42
  a = read_rsfdoc(args)
36
43
  job = a.find do |xy|
37
44
  name, x = xy
38
45
  name == ajob.to_sym and
39
- (x[:attributes][:type] || type.to_s == self.type.to_s)
46
+ (x[:attributes][:type] || type.to_s) == self.type.to_s
40
47
  end.last
41
48
 
42
49
  out, attr = job[:code], job[:attributes]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsf_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  fMXSqexhUAZIyk80TuvEsqUgRCN81F92e6Yq47RQ0oKhCG9Xor/NhJodXh91NhRW
32
32
  zAgihHevT4OTsg==
33
33
  -----END CERTIFICATE-----
34
- date: 2018-07-28 00:00:00.000000000 Z
34
+ date: 2018-07-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rscript
metadata.gz.sig CHANGED
Binary file