ts_vector_tags 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ts_vector_tags.rb +1 -1
- data/spec/ts_vector_tags_spec.rb +1 -1
- data/ts_vector_tags.gemspec +1 -1
- metadata +4 -4
data/lib/ts_vector_tags.rb
CHANGED
data/spec/ts_vector_tags_spec.rb
CHANGED
@@ -3,7 +3,7 @@ require 'ts_vector_tags'
|
|
3
3
|
|
4
4
|
describe TsVectorTags::Standardizer do
|
5
5
|
it "normalizes" do
|
6
|
-
TsVectorTags::Standardizer.normalize('abc-!@ #$
|
6
|
+
TsVectorTags::Standardizer.normalize('abc-!@ #$ _ %^&*()123æøå∞').should eq('abc_123æøå')
|
7
7
|
end
|
8
8
|
|
9
9
|
it "splits and normalizes a string" do
|
data/ts_vector_tags.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ts_vector_tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
17
|
-
requirement: &
|
17
|
+
requirement: &70288914631240 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70288914631240
|
26
26
|
description: Extremely simple, if somewhat exotic, mixin that uses the tsvector feature
|
27
27
|
in postgresql to add tags to an ActiveRecord model.
|
28
28
|
email:
|