phrasing 4.0.0rc10 → 4.0.0rc11

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: 07016be01e91d5a7722a66312cfef9f464aaca50
4
- data.tar.gz: ce4d6df56e5b8ae44c737b2a511d922205230f42
3
+ metadata.gz: f630e15c6f4ac6dbf277b05c7bc249842c51a140
4
+ data.tar.gz: b265a189444238e1f14c9453253dfbb7f16ea843
5
5
  SHA512:
6
- metadata.gz: e220b4049de7dd9df4f5e914be255417fa28e0ad0db0779147126d9c8088d9affc6c94e0db7984d1402233bacd67e12dabdd80fb7dd9629d41c95bea8ecd1ef4
7
- data.tar.gz: 1e32ca73af6cd8aff6c79d70c8336292bb56ff45bce335a7904e8bc6552759dd875df29bf8df75b540753d39ba23d0a6e04e230a487077982a13091cd4e3b875
6
+ metadata.gz: 98759079ab1edf0084c21fe4e8de500b8750719a7886cf3e7a0069b44e602f0b64655cf9230efb1401efebe406fa4ad2bcff70b83671c9b8e676f3da700ba6b1
7
+ data.tar.gz: 3e8b04879c303c527330f3b1d848a6176accdebd903e381285a7fb36e7bef74398f2b15925dee911b966a26ff9e56e922e065298788bc87643ca642dfdde606b
@@ -13,7 +13,7 @@ class PhrasingPhrase < ActiveRecord::Base
13
13
  end
14
14
 
15
15
  def self.fuzzy_search(search_term, locale)
16
- query = order("phrasing_phrases.key")
16
+ query = order(:key)
17
17
  query = query.where(locale: locale) if locale.present?
18
18
 
19
19
  if search_term.present?
@@ -56,4 +56,4 @@ class PhrasingPhrase < ActiveRecord::Base
56
56
  PhrasingPhraseVersion.create_version(id, value_was) if value_was != value
57
57
  end
58
58
 
59
- end
59
+ end
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "4.0.0rc10"
2
+ VERSION = "4.0.0rc11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0rc10
4
+ version: 4.0.0rc11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-22 00:00:00.000000000 Z
12
+ date: 2015-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails