mebla 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile.lock +1 -1
  2. data/VERSION +1 -1
  3. data/lib/mebla/context.rb +1 -1
  4. data/mebla.gemspec +32 -2
  5. metadata +330 -557
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mebla (1.1.5)
4
+ mebla (1.1.6)
5
5
  mebla
6
6
  mongoid (~> 2.0.1)
7
7
  slingshot-rb (= 0.0.8)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.6
1
+ 1.1.7
data/lib/mebla/context.rb CHANGED
@@ -161,7 +161,7 @@ module Mebla
161
161
  fields_values = {}
162
162
  fields.each do |field|
163
163
  if item.attributes.keys.include?(field.to_s)
164
- fields_values.merge!({ field => item.attributes[fields.to_s] }) # attribute
164
+ fields_values.merge!({ field => item.attributes[field.to_s] }) # attribute
165
165
  else
166
166
  fields_values.merge!({ field => item.send(field) }) # method
167
167
  end
data/mebla.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mebla}
8
- s.version = "1.1.6"
8
+ s.version = "1.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Omar Mekky"]
12
- s.date = %q{2011-05-25}
12
+ s.date = %q{2011-05-26}
13
13
  s.description = %q{
14
14
  An elasticsearch wrapper for mongoid odm based on slingshot. Makes integration between ElasticSearch full-text
15
15
  search engine and Mongoid documents seemless and simple.
@@ -137,6 +137,16 @@ Gem::Specification.new do |s|
137
137
  s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
138
138
  s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
139
139
  s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
140
+ s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
141
+ s.add_development_dependency(%q<bson_ext>, ["~> 1.3.0"])
142
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
143
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
144
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
145
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
146
+ s.add_development_dependency(%q<rcov>, [">= 0"])
147
+ s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
148
+ s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
149
+ s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
140
150
  s.add_runtime_dependency(%q<slingshot-rb>, ["= 0.0.8"])
141
151
  s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.1"])
142
152
  s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
@@ -207,6 +217,16 @@ Gem::Specification.new do |s|
207
217
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
208
218
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
209
219
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
220
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
221
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
222
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
223
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
224
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
225
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
226
+ s.add_dependency(%q<rcov>, [">= 0"])
227
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
228
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
229
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
210
230
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
211
231
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
212
232
  s.add_dependency(%q<bson>, ["~> 1.3.0"])
@@ -278,6 +298,16 @@ Gem::Specification.new do |s|
278
298
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
279
299
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
280
300
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
301
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
302
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
303
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
304
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
305
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
306
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
307
+ s.add_dependency(%q<rcov>, [">= 0"])
308
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
309
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
310
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
281
311
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
282
312
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
283
313
  s.add_dependency(%q<bson>, ["~> 1.3.0"])