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 +4 -4
- data/app/models/phrasing_phrase.rb +2 -2
- data/lib/phrasing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f630e15c6f4ac6dbf277b05c7bc249842c51a140
|
4
|
+
data.tar.gz: b265a189444238e1f14c9453253dfbb7f16ea843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
data/lib/phrasing/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|