multi_column_search 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1 +1,3 @@
1
+ v0.0.2 Fixed Debuging messages.
2
+
1
3
  v0.0.1. Initial release.
data/Manifest CHANGED
@@ -4,6 +4,7 @@ README.rdoc
4
4
  Rakefile
5
5
  init.rb
6
6
  lib/multi_column_search.rb
7
+ multi_column_search.gemspec
7
8
  spec/models.rb
8
9
  spec/multi_column_search_spec.rb
9
10
  spec/spec_helper.rb
@@ -28,9 +28,8 @@ module MultiColumnSearch
28
28
  acc << columns.collect { |column| "#{table_name}.#{column} #{like} '#{pattern}'" }
29
29
 
30
30
  end
31
- conditions = conditions.map { |c| "(" + c.join(' OR ') + ")" }.join(' OR ')
32
- puts conditions
33
- where conditions
31
+
32
+ where conditions.map { |c| "(" + c.join(' OR ') + ")" }.join(' OR ')
34
33
  }
35
34
  end
36
35
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{multi_column_search}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jack Russell Software"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Quick and dirty multi column LIKE searches.}
11
11
  s.email = %q{team@jackrussellsoftware.com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "README.rdoc", "lib/multi_column_search.rb"]
13
- s.files = ["CHANGELOG", "Manifest", "README.rdoc", "Rakefile", "init.rb", "lib/multi_column_search.rb", "spec/models.rb", "spec/multi_column_search_spec.rb", "spec/spec_helper.rb", "multi_column_search.gemspec"]
13
+ s.files = ["CHANGELOG", "Manifest", "README.rdoc", "Rakefile", "init.rb", "lib/multi_column_search.rb", "multi_column_search.gemspec", "spec/models.rb", "spec/multi_column_search_spec.rb", "spec/spec_helper.rb"]
14
14
  s.homepage = %q{http://github.com/jackhq/multi_column_search}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Multi_column_search", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jack Russell Software
@@ -35,10 +35,10 @@ files:
35
35
  - Rakefile
36
36
  - init.rb
37
37
  - lib/multi_column_search.rb
38
+ - multi_column_search.gemspec
38
39
  - spec/models.rb
39
40
  - spec/multi_column_search_spec.rb
40
41
  - spec/spec_helper.rb
41
- - multi_column_search.gemspec
42
42
  has_rdoc: true
43
43
  homepage: http://github.com/jackhq/multi_column_search
44
44
  licenses: []