lb-persistence 0.0.8 → 0.0.9

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
  SHA256:
3
- metadata.gz: 3248153cfc72bbf73768873e1105cb04831a2476e6fb1adcf4c7e92b88ffb469
4
- data.tar.gz: 37c6bfd937b4b07cbc37dc011ce6259bad345a1a41bbf98e23e7823eeff3a49b
3
+ metadata.gz: a97d60581caae6c87621740e47c93b791692a84c7da7296bac8a31f4566083dd
4
+ data.tar.gz: eae02f92ebb3ccfde10fea592c1bfe970a0614dbb0bb2517c9390b98240ba048
5
5
  SHA512:
6
- metadata.gz: 9ba856063afe63e3ed996e95463b336ad7d68e6965b4c7f070149773a73a9ca68d867ff27db96536fd46c99c519ef7fe6c1593c8137aa86d1eee3b1d5ca78954
7
- data.tar.gz: c02b76edfd81d3f94fd2c3cbc8fae31ba48259a8f122f66ac7cdac52b44221d4265cc03c33439c25913d0b50f24fe0bd855c7775b78b3fd1600dfb7c8bd38df3
6
+ metadata.gz: 95d3d2a9b23f201df285861135a8c2a098131fed6378809161289c294c8ad037e126b4e4285be4008464b8e6fde705e8757b084509308f5e7c7e6f9e34b1b0e5
7
+ data.tar.gz: 0c4bea23d78075ad139c8e17bc5baaae9f52306de8efd7c838391e917cab36c22ccbd65d6be14a11d5a8580f68f5ce267afc1fd8e6b6fc3d13165bc107d160c7
data/config/flay.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 9
3
- total_score: 62
3
+ total_score: 69
@@ -22,7 +22,9 @@ module LB
22
22
 
23
23
  def qualify_on(on)
24
24
  on.map do |source, target|
25
- [source.qualified, target.qualified]
25
+ source = source.qualified if source.respond_to?(:qualified)
26
+ target = target.qualified if target.respond_to?(:qualified)
27
+ [source, target]
26
28
  end.to_h
27
29
  end
28
30
 
@@ -3,6 +3,6 @@
3
3
  module LB
4
4
  class Persistence
5
5
  # Version
6
- VERSION = '0.0.8'
6
+ VERSION = '0.0.9'
7
7
  end
8
8
  end
data/spec/spec_helper.rb CHANGED
@@ -10,7 +10,7 @@ if ENV['COVERAGE'] == 'true'
10
10
  add_filter 'config'
11
11
  add_filter 'spec'
12
12
 
13
- minimum_coverage 90
13
+ minimum_coverage 89
14
14
  end
15
15
  end
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lb-persistence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firas Zaidan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2018-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct