elastic_searchable 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,19 +14,18 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "elastic_searchable"
16
16
 
17
- s.add_runtime_dependency(%q<activerecord>, [">= 3.0.5"])
18
- s.add_runtime_dependency(%q<httparty>, ["~> 0.6.0"])
19
- s.add_runtime_dependency(%q<backgrounded>, ["~> 0.7.0"])
20
- s.add_runtime_dependency(%q<multi_json>, ["~> 1.0.0"])
21
- s.add_development_dependency(%q<rake>, ["0.9.2"])
22
- s.add_development_dependency(%q<sqlite3-ruby>, ["~> 1.3.2"])
23
- s.add_development_dependency(%q<pry>, ["0.9.6.2"])
24
- s.add_development_dependency(%q<shoulda>, [">= 0"])
25
- s.add_development_dependency(%q<mocha>, [">= 0"])
26
-
27
17
  s.files = `git ls-files`.split("\n")
28
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
29
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
30
20
  s.require_paths = ["lib"]
31
- end
32
21
 
22
+ s.add_runtime_dependency(%q<activerecord>, [">= 3.0.5"])
23
+ s.add_runtime_dependency(%q<httparty>, [">= 0.6.0"])
24
+ s.add_runtime_dependency(%q<backgrounded>, [">= 0.7.0"])
25
+ s.add_runtime_dependency(%q<multi_json>, [">= 1.0.0"])
26
+ s.add_development_dependency(%q<rake>, ["0.9.2.2"])
27
+ s.add_development_dependency(%q<sqlite3>, ["1.3.4"])
28
+ s.add_development_dependency(%q<pry>, ["0.9.6.2"])
29
+ s.add_development_dependency(%q<shoulda>, ["2.11.3"])
30
+ s.add_development_dependency(%q<mocha>, ["0.10.0"])
31
+ end
@@ -42,6 +42,7 @@ module ElasticSearchable
42
42
  response
43
43
  end
44
44
 
45
+ # escape lucene special characters
45
46
  def escape_query(string)
46
47
  string.to_s.gsub(/([\(\)\[\]\{\}\?\\\"!\^\+\-\*:~])/,'\\\\\1')
47
48
  end
@@ -1,4 +1,3 @@
1
1
  module ElasticSearchable
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
4
-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_searchable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Sonnek
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-16 00:00:00 Z
18
+ date: 2011-11-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activerecord
@@ -39,7 +39,7 @@ dependencies:
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ~>
42
+ - - ">="
43
43
  - !ruby/object:Gem::Version
44
44
  hash: 7
45
45
  segments:
@@ -55,7 +55,7 @@ dependencies:
55
55
  version_requirements: &id003 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
- - - ~>
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  hash: 3
61
61
  segments:
@@ -71,7 +71,7 @@ dependencies:
71
71
  version_requirements: &id004 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
- - - ~>
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  hash: 23
77
77
  segments:
@@ -89,28 +89,29 @@ dependencies:
89
89
  requirements:
90
90
  - - "="
91
91
  - !ruby/object:Gem::Version
92
- hash: 63
92
+ hash: 11
93
93
  segments:
94
94
  - 0
95
95
  - 9
96
96
  - 2
97
- version: 0.9.2
97
+ - 2
98
+ version: 0.9.2.2
98
99
  requirement: *id005
99
100
  type: :development
100
101
  - !ruby/object:Gem::Dependency
101
- name: sqlite3-ruby
102
+ name: sqlite3
102
103
  prerelease: false
103
104
  version_requirements: &id006 !ruby/object:Gem::Requirement
104
105
  none: false
105
106
  requirements:
106
- - - ~>
107
+ - - "="
107
108
  - !ruby/object:Gem::Version
108
- hash: 31
109
+ hash: 19
109
110
  segments:
110
111
  - 1
111
112
  - 3
112
- - 2
113
- version: 1.3.2
113
+ - 4
114
+ version: 1.3.4
114
115
  requirement: *id006
115
116
  type: :development
116
117
  - !ruby/object:Gem::Dependency
@@ -136,12 +137,14 @@ dependencies:
136
137
  version_requirements: &id008 !ruby/object:Gem::Requirement
137
138
  none: false
138
139
  requirements:
139
- - - ">="
140
+ - - "="
140
141
  - !ruby/object:Gem::Version
141
- hash: 3
142
+ hash: 37
142
143
  segments:
143
- - 0
144
- version: "0"
144
+ - 2
145
+ - 11
146
+ - 3
147
+ version: 2.11.3
145
148
  requirement: *id008
146
149
  type: :development
147
150
  - !ruby/object:Gem::Dependency
@@ -150,12 +153,14 @@ dependencies:
150
153
  version_requirements: &id009 !ruby/object:Gem::Requirement
151
154
  none: false
152
155
  requirements:
153
- - - ">="
156
+ - - "="
154
157
  - !ruby/object:Gem::Version
155
- hash: 3
158
+ hash: 55
156
159
  segments:
157
160
  - 0
158
- version: "0"
161
+ - 10
162
+ - 0
163
+ version: 0.10.0
159
164
  requirement: *id009
160
165
  type: :development
161
166
  description: integrate the elastic search engine with rails