pattern_query_helper 0.1.1 → 0.1.2

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: 83a383732976fa9f9f09622fb4dfa7577833a471
4
- data.tar.gz: 12b6102ddcc06ba687dfc33458a66e46454ebdad
3
+ metadata.gz: 46a21200973a9a7ef991273e4f33bc5ae303b629
4
+ data.tar.gz: 0ad956c2e24bb70558ca9d1ab8d4e11ff82e3c7f
5
5
  SHA512:
6
- metadata.gz: 63525e999ec25176fc1f133192eb85205fae8fc8b88eb793ed820c5d1491e1760dc157d1e5d9edb9bf74b9c9cfdd98a2ebba228c05e7520989b9a0e5f522bac4
7
- data.tar.gz: 016365fc918e7490937fdded585c9339536af550587adaeb64ab543be08cc4065d77c1e86d818774ec3c11dd4997dc37160618081909ac9def8ccca7223eb531
6
+ metadata.gz: a8fc381457c1b6108db43f9353bcac5c4f31ac8a88ae0e37ede34ab8f452655e22854500dc8236be1fe311dd15563849cc8f1d152c2111391e5a2fc75a93a48a
7
+ data.tar.gz: 8ab06c771c9e42b2934305a2b2972a680e423eabc7ba405282b90cd9aec3832ea74661955d29f8f39b653bd86bdbdb509b35a76fd29007a81f64ea0bf16eb55c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pattern_query_helper (0.1.1)
4
+ pattern_query_helper (0.1.2)
5
5
  activerecord (~> 5.0)
6
6
  kaminari
7
7
 
@@ -54,7 +54,6 @@ module PatternQueryHelper
54
54
 
55
55
  def self.single_record_query(config)
56
56
  results = sql_query(config)
57
- raise StandardError.new("single record query returned multiple results") unless results.length == 1
58
57
  results.first
59
58
  end
60
59
 
@@ -1,3 +1,3 @@
1
1
  module PatternQueryHelper
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pattern_query_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan McDaniel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-21 00:00:00.000000000 Z
11
+ date: 2019-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler