ts_vector_tags 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
- require "ts_vector_tags/version"
2
-
1
+ # encoding: utf-8
3
2
  module TsVectorTags
4
3
 
5
4
  module Standardizer
@@ -1,8 +1,9 @@
1
- require 'spec_helper'
1
+ # encoding: utf-8
2
+ require 'ts_vector_tags'
2
3
 
3
4
  describe TsVectorTags::Standardizer do
4
5
  it "normalizes" do
5
- TsVectorTags::Standardizer.normalize('abc-!@ #$ %^&*()123').should eq('abc123')
6
+ TsVectorTags::Standardizer.normalize('abc-!@ #$ %^&*()123æøå∞').should eq('abc123æøå')
6
7
  end
7
8
 
8
9
  it "splits and normalizes a string" do
@@ -1,6 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "ts_vector_tags/version"
3
+
4
+ module TsVectorTags
5
+ VERSION = "0.0.3"
6
+ end
4
7
 
5
8
  Gem::Specification.new do |s|
6
9
  s.name = "ts_vector_tags"
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.2
4
+ version: 0.0.3
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: 2011-11-18 00:00:00.000000000Z
13
+ date: 2012-08-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2160736940 !ruby/object:Gem::Requirement
17
+ requirement: &70341718185420 !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: *2160736940
25
+ version_requirements: *70341718185420
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:
@@ -38,8 +38,6 @@ files:
38
38
  - README.md
39
39
  - Rakefile
40
40
  - lib/ts_vector_tags.rb
41
- - lib/ts_vector_tags/version.rb
42
- - spec/spec_helper.rb
43
41
  - spec/ts_vector_tags_spec.rb
44
42
  - ts_vector_tags.gemspec
45
43
  homepage: ''
@@ -62,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
60
  version: '0'
63
61
  requirements: []
64
62
  rubyforge_project: ts_vector_tags
65
- rubygems_version: 1.8.10
63
+ rubygems_version: 1.8.15
66
64
  signing_key:
67
65
  specification_version: 3
68
66
  summary: Super simple tag mixin for postgresql and activerecord
@@ -1,3 +0,0 @@
1
- module TsVectorTags
2
- VERSION = "0.0.2"
3
- end
data/spec/spec_helper.rb DELETED
@@ -1 +0,0 @@
1
- require 'ts_vector_tags'