agent_q 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/agent_q.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 190bde1346758f6afc576075de72e66f01555106e330fe1feb238cf700044fa6
4
- data.tar.gz: 774ac6cd804a113dc61e18d321e342ea6b25faa91bbb97c3ee367ba62af82152
3
+ metadata.gz: 8504507bf6fa7c90d6dc709965ddfa81492599c35e1ea5056b7fc30908758cca
4
+ data.tar.gz: 1ff51e79a0aadc2a1109d3216ba477a20a595d34905bc21568ca379dd1ceb2ff
5
5
  SHA512:
6
- metadata.gz: 386ae261dbc8883bb2be439cc22baf32b45f8a94fe8a189c39533b0b4168611dcae0cb1a1b10ea3c5eac7f3f9771ff61ed392c9091fdd5ef6b06cc8d6a97d5b2
7
- data.tar.gz: 72925644e67be70b4face66fb8c9072fb8a378781839f1b90f91d58d44376216ae457f2c5bbd96b9d7eba02a90b7b63b229f10b4d6c2e6f48cbbdcffa539881d
6
+ metadata.gz: d8f67fbeb9bd15737c8e0f83097fdf7cb30ac31395d1b06e643108ae2ce044d32db5a923a094520826c4ae61431bbe612ae047e251dbd82c1ac8f42b1e22e192
7
+ data.tar.gz: 9937583d852aff54901fbe4bc629a996273bbb10c8ece455fb8cf8a50c03d421dbee495c4001c5c7500e8dc6586a8e61b602e44c1c0838c8a351d362208b08d0
data/lib/agent_q.rb CHANGED
@@ -64,7 +64,7 @@ class AgentQ
64
64
  exit 1
65
65
  else
66
66
  score = case_results['scores'].first['score']
67
- if score.to_i >= @threshold_score.to_i
67
+ if score.to_f >= @threshold_score.to_f
68
68
  puts "Case #{case_name} (#{@quepid_case}) scored #{score}, \e[32mwhich meets the threshold of #{@threshold_score}\e[0m"
69
69
  exit 0
70
70
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agent_q
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pugh