g5-jobbing 0.0.3 → 0.0.4

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: a2147f115caef3edd60bf72bc57d7c799819d184
4
- data.tar.gz: 4d1cabffe26b770e7b00eac55d70d3afdbf2a43e
3
+ metadata.gz: 06231aa354b5e054e70e76dce1e0d59ce010e1ff
4
+ data.tar.gz: c90f2d535edbd1ecd1532785b27748d7c5bc2231
5
5
  SHA512:
6
- metadata.gz: 562f2b7f8b2d08ab7bea20e2acd29f713581a9dd3f93a621ecad95557328d97a44e3641785bb1409b302170cdadee17b08cf1369bbf5422834f89a9d8c67e7c2
7
- data.tar.gz: a46a41b8c1a46914927c8ef118922c74086fc888f5a9f74accd3b604ae2a08112ca987747ec9d1fe61d98c0b9e837a55fc18aea201de90840624bc2be2f6f240
6
+ metadata.gz: 1162b1cbe204c0799e93d06aa34f522ee4d79a7d533a0a2885f6d893fca4d38392d58b679444ced94c302139f3bdd319578599429c9267c9c289a7c67d831949
7
+ data.tar.gz: 67ba8ad6fb6aff7ea1e0640c54bd738d2834cf72fed3aada9eebc47151c31cf76ec5bbfa5e20e9abb3586d61457cf3329117cba6ab081d11bbd7ca563568f3f1
@@ -23,7 +23,7 @@ class G5::Jobbing::JobStatRetriever
23
23
  end
24
24
 
25
25
  def find_matching_job_stat(job)
26
- parent = self.rollup_by.detect { |key_values| key_values.last.include?(job.urn) }.try(:first)
26
+ parent = self.rollup_by.detect { |key_values| key_values.last.include?(job.integration_setting_urn) }.try(:first)
27
27
  return unless parent
28
28
 
29
29
  job_stat_key = @job_stats.keys.detect { |js_key| parent == js_key }
@@ -1,5 +1,5 @@
1
1
  module G5
2
2
  module Jobbing
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ describe G5::Jobbing::JobStatRetriever do
16
16
  headers: {'Content-Type' => 'application/json', 'Accept' => 'application/json'}}).
17
17
  and_return(double(:response, body: body))
18
18
  end
19
- let(:roll_up_by) { {foo: ['g5-job-1t1slmdz', 'g5-job-1t1slkm2'], no_matches: ['madeup'], bar: ['g5-job-1t1schlp', 'g5-job-1t1onnnk', 'g5-job-1t1skxui']} }
19
+ let(:roll_up_by) { {foo: %w(g5-lis-1t0thzui g5-lis-1t0thj3p), no_matches: ['madeup'], bar: %w(g5-lis-1 g5-lis-1t0n85r2 g5-lis-1t0tf3u0)} }
20
20
 
21
21
  subject { job_stat_retriever.perform }
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5-jobbing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perry Hertler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-14 00:00:00.000000000 Z
11
+ date: 2014-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler