mebla 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mebla (1.1.9)
4
+ mebla (1.1.10)
5
5
  mebla
6
6
  mongoid (~> 2.0.1)
7
7
  slingshot-rb (= 0.0.8)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.10
1
+ 1.1.11
@@ -264,7 +264,7 @@ module Mongoid
264
264
  # Add indexed fields to the hash
265
265
  self.class.search_fields.each do |sfield|
266
266
  if self.class.fields[sfield.to_s]
267
- to_index_hash[sfield] = self.attributes[sfield]
267
+ to_index_hash[sfield] = self.attributes[sfield.to_s]
268
268
  else
269
269
  to_index_hash[sfield] = self.send(sfield)
270
270
  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.10"
8
+ s.version = "1.1.11"
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-06-21}
12
+ s.date = %q{2011-06-23}
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.
@@ -197,6 +197,16 @@ Gem::Specification.new do |s|
197
197
  s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
198
198
  s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
199
199
  s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
200
+ s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
201
+ s.add_development_dependency(%q<bson_ext>, ["~> 1.3.0"])
202
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
203
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
204
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
205
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
206
+ s.add_development_dependency(%q<rcov>, [">= 0"])
207
+ s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
208
+ s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
209
+ s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
200
210
  s.add_runtime_dependency(%q<slingshot-rb>, ["= 0.0.8"])
201
211
  s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.1"])
202
212
  s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
@@ -327,6 +337,16 @@ Gem::Specification.new do |s|
327
337
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
328
338
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
329
339
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
340
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
341
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
342
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
343
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
344
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
345
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
346
+ s.add_dependency(%q<rcov>, [">= 0"])
347
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
348
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
349
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
330
350
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
331
351
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
332
352
  s.add_dependency(%q<bson>, ["~> 1.3.0"])
@@ -458,6 +478,16 @@ Gem::Specification.new do |s|
458
478
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
459
479
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
460
480
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
481
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
482
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
483
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
484
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
485
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
486
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
487
+ s.add_dependency(%q<rcov>, [">= 0"])
488
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
489
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
490
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
461
491
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
462
492
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
463
493
  s.add_dependency(%q<bson>, ["~> 1.3.0"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mebla
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 10
10
- version: 1.1.10
9
+ - 11
10
+ version: 1.1.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Omar Mekky
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-21 00:00:00 +02:00
18
+ date: 2011-06-23 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -1866,8 +1866,166 @@ dependencies:
1866
1866
  version_requirements: *id117
1867
1867
  - !ruby/object:Gem::Dependency
1868
1868
  prerelease: false
1869
- type: :runtime
1869
+ type: :development
1870
1870
  requirement: &id118 !ruby/object:Gem::Requirement
1871
+ none: false
1872
+ requirements:
1873
+ - - ~>
1874
+ - !ruby/object:Gem::Version
1875
+ hash: 27
1876
+ segments:
1877
+ - 1
1878
+ - 3
1879
+ - 0
1880
+ version: 1.3.0
1881
+ name: bson
1882
+ version_requirements: *id118
1883
+ - !ruby/object:Gem::Dependency
1884
+ prerelease: false
1885
+ type: :development
1886
+ requirement: &id119 !ruby/object:Gem::Requirement
1887
+ none: false
1888
+ requirements:
1889
+ - - ~>
1890
+ - !ruby/object:Gem::Version
1891
+ hash: 27
1892
+ segments:
1893
+ - 1
1894
+ - 3
1895
+ - 0
1896
+ version: 1.3.0
1897
+ name: bson_ext
1898
+ version_requirements: *id119
1899
+ - !ruby/object:Gem::Dependency
1900
+ prerelease: false
1901
+ type: :development
1902
+ requirement: &id120 !ruby/object:Gem::Requirement
1903
+ none: false
1904
+ requirements:
1905
+ - - ~>
1906
+ - !ruby/object:Gem::Version
1907
+ hash: 3
1908
+ segments:
1909
+ - 2
1910
+ - 3
1911
+ - 0
1912
+ version: 2.3.0
1913
+ name: rspec
1914
+ version_requirements: *id120
1915
+ - !ruby/object:Gem::Dependency
1916
+ prerelease: false
1917
+ type: :development
1918
+ requirement: &id121 !ruby/object:Gem::Requirement
1919
+ none: false
1920
+ requirements:
1921
+ - - ~>
1922
+ - !ruby/object:Gem::Version
1923
+ hash: 7
1924
+ segments:
1925
+ - 0
1926
+ - 6
1927
+ - 0
1928
+ version: 0.6.0
1929
+ name: yard
1930
+ version_requirements: *id121
1931
+ - !ruby/object:Gem::Dependency
1932
+ prerelease: false
1933
+ type: :development
1934
+ requirement: &id122 !ruby/object:Gem::Requirement
1935
+ none: false
1936
+ requirements:
1937
+ - - ~>
1938
+ - !ruby/object:Gem::Version
1939
+ hash: 23
1940
+ segments:
1941
+ - 1
1942
+ - 0
1943
+ - 0
1944
+ version: 1.0.0
1945
+ name: bundler
1946
+ version_requirements: *id122
1947
+ - !ruby/object:Gem::Dependency
1948
+ prerelease: false
1949
+ type: :development
1950
+ requirement: &id123 !ruby/object:Gem::Requirement
1951
+ none: false
1952
+ requirements:
1953
+ - - ~>
1954
+ - !ruby/object:Gem::Version
1955
+ hash: 7
1956
+ segments:
1957
+ - 1
1958
+ - 5
1959
+ - 2
1960
+ version: 1.5.2
1961
+ name: jeweler
1962
+ version_requirements: *id123
1963
+ - !ruby/object:Gem::Dependency
1964
+ prerelease: false
1965
+ type: :development
1966
+ requirement: &id124 !ruby/object:Gem::Requirement
1967
+ none: false
1968
+ requirements:
1969
+ - - ">="
1970
+ - !ruby/object:Gem::Version
1971
+ hash: 3
1972
+ segments:
1973
+ - 0
1974
+ version: "0"
1975
+ name: rcov
1976
+ version_requirements: *id124
1977
+ - !ruby/object:Gem::Dependency
1978
+ prerelease: false
1979
+ type: :development
1980
+ requirement: &id125 !ruby/object:Gem::Requirement
1981
+ none: false
1982
+ requirements:
1983
+ - - "="
1984
+ - !ruby/object:Gem::Version
1985
+ hash: 5
1986
+ segments:
1987
+ - 1
1988
+ - 4
1989
+ - 1
1990
+ version: 1.4.1
1991
+ name: mongoid-rspec
1992
+ version_requirements: *id125
1993
+ - !ruby/object:Gem::Dependency
1994
+ prerelease: false
1995
+ type: :development
1996
+ requirement: &id126 !ruby/object:Gem::Requirement
1997
+ none: false
1998
+ requirements:
1999
+ - - "="
2000
+ - !ruby/object:Gem::Version
2001
+ hash: 15
2002
+ segments:
2003
+ - 0
2004
+ - 6
2005
+ - 4
2006
+ version: 0.6.4
2007
+ name: database_cleaner
2008
+ version_requirements: *id126
2009
+ - !ruby/object:Gem::Dependency
2010
+ prerelease: false
2011
+ type: :development
2012
+ requirement: &id127 !ruby/object:Gem::Requirement
2013
+ none: false
2014
+ requirements:
2015
+ - - ~>
2016
+ - !ruby/object:Gem::Version
2017
+ hash: 11
2018
+ segments:
2019
+ - 2
2020
+ - 1
2021
+ - 0
2022
+ version: 2.1.0
2023
+ name: bluecloth
2024
+ version_requirements: *id127
2025
+ - !ruby/object:Gem::Dependency
2026
+ prerelease: false
2027
+ type: :runtime
2028
+ requirement: &id128 !ruby/object:Gem::Requirement
1871
2029
  none: false
1872
2030
  requirements:
1873
2031
  - - "="
@@ -1879,11 +2037,11 @@ dependencies:
1879
2037
  - 8
1880
2038
  version: 0.0.8
1881
2039
  name: slingshot-rb
1882
- version_requirements: *id118
2040
+ version_requirements: *id128
1883
2041
  - !ruby/object:Gem::Dependency
1884
2042
  prerelease: false
1885
2043
  type: :runtime
1886
- requirement: &id119 !ruby/object:Gem::Requirement
2044
+ requirement: &id129 !ruby/object:Gem::Requirement
1887
2045
  none: false
1888
2046
  requirements:
1889
2047
  - - ~>
@@ -1895,11 +2053,11 @@ dependencies:
1895
2053
  - 1
1896
2054
  version: 2.0.1
1897
2055
  name: mongoid
1898
- version_requirements: *id119
2056
+ version_requirements: *id129
1899
2057
  - !ruby/object:Gem::Dependency
1900
2058
  prerelease: false
1901
2059
  type: :development
1902
- requirement: &id120 !ruby/object:Gem::Requirement
2060
+ requirement: &id130 !ruby/object:Gem::Requirement
1903
2061
  none: false
1904
2062
  requirements:
1905
2063
  - - ~>
@@ -1911,11 +2069,11 @@ dependencies:
1911
2069
  - 0
1912
2070
  version: 1.3.0
1913
2071
  name: bson
1914
- version_requirements: *id120
2072
+ version_requirements: *id130
1915
2073
  - !ruby/object:Gem::Dependency
1916
2074
  prerelease: false
1917
2075
  type: :development
1918
- requirement: &id121 !ruby/object:Gem::Requirement
2076
+ requirement: &id131 !ruby/object:Gem::Requirement
1919
2077
  none: false
1920
2078
  requirements:
1921
2079
  - - ~>
@@ -1927,11 +2085,11 @@ dependencies:
1927
2085
  - 0
1928
2086
  version: 1.3.0
1929
2087
  name: bson_ext
1930
- version_requirements: *id121
2088
+ version_requirements: *id131
1931
2089
  - !ruby/object:Gem::Dependency
1932
2090
  prerelease: false
1933
2091
  type: :development
1934
- requirement: &id122 !ruby/object:Gem::Requirement
2092
+ requirement: &id132 !ruby/object:Gem::Requirement
1935
2093
  none: false
1936
2094
  requirements:
1937
2095
  - - ~>
@@ -1943,11 +2101,11 @@ dependencies:
1943
2101
  - 0
1944
2102
  version: 2.3.0
1945
2103
  name: rspec
1946
- version_requirements: *id122
2104
+ version_requirements: *id132
1947
2105
  - !ruby/object:Gem::Dependency
1948
2106
  prerelease: false
1949
2107
  type: :development
1950
- requirement: &id123 !ruby/object:Gem::Requirement
2108
+ requirement: &id133 !ruby/object:Gem::Requirement
1951
2109
  none: false
1952
2110
  requirements:
1953
2111
  - - ~>
@@ -1959,11 +2117,11 @@ dependencies:
1959
2117
  - 0
1960
2118
  version: 0.6.0
1961
2119
  name: yard
1962
- version_requirements: *id123
2120
+ version_requirements: *id133
1963
2121
  - !ruby/object:Gem::Dependency
1964
2122
  prerelease: false
1965
2123
  type: :development
1966
- requirement: &id124 !ruby/object:Gem::Requirement
2124
+ requirement: &id134 !ruby/object:Gem::Requirement
1967
2125
  none: false
1968
2126
  requirements:
1969
2127
  - - ~>
@@ -1975,11 +2133,11 @@ dependencies:
1975
2133
  - 0
1976
2134
  version: 1.0.0
1977
2135
  name: bundler
1978
- version_requirements: *id124
2136
+ version_requirements: *id134
1979
2137
  - !ruby/object:Gem::Dependency
1980
2138
  prerelease: false
1981
2139
  type: :development
1982
- requirement: &id125 !ruby/object:Gem::Requirement
2140
+ requirement: &id135 !ruby/object:Gem::Requirement
1983
2141
  none: false
1984
2142
  requirements:
1985
2143
  - - ~>
@@ -1991,11 +2149,11 @@ dependencies:
1991
2149
  - 2
1992
2150
  version: 1.5.2
1993
2151
  name: jeweler
1994
- version_requirements: *id125
2152
+ version_requirements: *id135
1995
2153
  - !ruby/object:Gem::Dependency
1996
2154
  prerelease: false
1997
2155
  type: :development
1998
- requirement: &id126 !ruby/object:Gem::Requirement
2156
+ requirement: &id136 !ruby/object:Gem::Requirement
1999
2157
  none: false
2000
2158
  requirements:
2001
2159
  - - ">="
@@ -2005,11 +2163,11 @@ dependencies:
2005
2163
  - 0
2006
2164
  version: "0"
2007
2165
  name: rcov
2008
- version_requirements: *id126
2166
+ version_requirements: *id136
2009
2167
  - !ruby/object:Gem::Dependency
2010
2168
  prerelease: false
2011
2169
  type: :development
2012
- requirement: &id127 !ruby/object:Gem::Requirement
2170
+ requirement: &id137 !ruby/object:Gem::Requirement
2013
2171
  none: false
2014
2172
  requirements:
2015
2173
  - - "="
@@ -2021,11 +2179,11 @@ dependencies:
2021
2179
  - 1
2022
2180
  version: 1.4.1
2023
2181
  name: mongoid-rspec
2024
- version_requirements: *id127
2182
+ version_requirements: *id137
2025
2183
  - !ruby/object:Gem::Dependency
2026
2184
  prerelease: false
2027
2185
  type: :development
2028
- requirement: &id128 !ruby/object:Gem::Requirement
2186
+ requirement: &id138 !ruby/object:Gem::Requirement
2029
2187
  none: false
2030
2188
  requirements:
2031
2189
  - - "="
@@ -2037,11 +2195,11 @@ dependencies:
2037
2195
  - 4
2038
2196
  version: 0.6.4
2039
2197
  name: database_cleaner
2040
- version_requirements: *id128
2198
+ version_requirements: *id138
2041
2199
  - !ruby/object:Gem::Dependency
2042
2200
  prerelease: false
2043
2201
  type: :development
2044
- requirement: &id129 !ruby/object:Gem::Requirement
2202
+ requirement: &id139 !ruby/object:Gem::Requirement
2045
2203
  none: false
2046
2204
  requirements:
2047
2205
  - - ~>
@@ -2053,7 +2211,7 @@ dependencies:
2053
2211
  - 0
2054
2212
  version: 2.1.0
2055
2213
  name: bluecloth
2056
- version_requirements: *id129
2214
+ version_requirements: *id139
2057
2215
  description: "\n An elasticsearch wrapper for mongoid odm based on slingshot. Makes integration between ElasticSearch full-text \n search engine and Mongoid documents seemless and simple.\n "
2058
2216
  email: omar.mekky@mashsolvents.com
2059
2217
  executables: []