db-query-matchers 0.3.1 → 0.4.0

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: e6a8e87485793abed45478133129719d1794c074
4
- data.tar.gz: 13c4807b0e84756527044f649a379107db93d0ad
3
+ metadata.gz: 2d6912507361e4785db7ecad45fd110721bd65bb
4
+ data.tar.gz: 1395b8f2e2afc60dc61e24d4a74c7ca4a8e6e9f0
5
5
  SHA512:
6
- metadata.gz: b9ef241b736e78ebf2d0f1df05448d42418caa5392551830ad6fdfb408dde6108b5bed57b1fb3276031448d91144f06725094e47104107009ffc15b8dc3d2787
7
- data.tar.gz: f23c877e9cf641e7915c281ec70cde40df1647e30d81b58154637cd57fefea8cdb5a1eb0ee3e1f69507058be62b56516d97d1774e4aee55983efeb9d9523372c
6
+ metadata.gz: 08775e3edf0739f2e0a19275c3d5e22753370b3ac015bd95e2efd797845abafa4b2aefd6f71c0d3263d56afdce4f6be54882e22c470a37f3960da060e83f6732
7
+ data.tar.gz: 33534424b36402ca5007926a99547859d483fa11de8efebaee40bfedfa321b61876a7de6ccaed9834729f586ad817b88fe64515349d01fd6cd2a4007e412e759
@@ -61,7 +61,7 @@ RSpec::Matchers.define :make_database_queries do |options = {}|
61
61
  'sql.active_record',
62
62
  &block)
63
63
  if absolute_count = options[:count]
64
- @counter.count == absolute_count
64
+ absolute_count === @counter.count
65
65
  else
66
66
  @counter.count > 0
67
67
  end
@@ -1,4 +1,4 @@
1
1
  # Defines the gem version.
2
2
  module DBQueryMatchers
3
- VERSION = '0.3.1'
3
+ VERSION = '0.4.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db-query-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigade Engineering
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-24 00:00:00.000000000 Z
13
+ date: 2015-05-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec