mebla 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/mebla/mongoid/mebla.rb +1 -1
  3. data/mebla.gemspec +31 -1
  4. metadata +185 -27
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.9
1
+ 1.1.10
@@ -150,7 +150,7 @@ module Mongoid
150
150
  end
151
151
  else
152
152
  if self.instance_methods.include?(attribute.to_s)
153
- attrs_mapping[attribute] = {:type => "string"}
153
+ attrs_mappings[attribute] = {:type => "string"}
154
154
  else
155
155
  ::Mebla::Errors::MeblaConfigurationException.new("Invalid field #{attribute.to_s} defined for indexing #{self.name}.")
156
156
  end
data/mebla.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mebla}
8
- s.version = "1.1.9"
8
+ s.version = "1.1.10"
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"]
@@ -187,6 +187,16 @@ Gem::Specification.new do |s|
187
187
  s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
188
188
  s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
189
189
  s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
190
+ s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
191
+ s.add_development_dependency(%q<bson_ext>, ["~> 1.3.0"])
192
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
193
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
194
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
195
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
196
+ s.add_development_dependency(%q<rcov>, [">= 0"])
197
+ s.add_development_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
198
+ s.add_development_dependency(%q<database_cleaner>, ["= 0.6.4"])
199
+ s.add_development_dependency(%q<bluecloth>, ["~> 2.1.0"])
190
200
  s.add_runtime_dependency(%q<slingshot-rb>, ["= 0.0.8"])
191
201
  s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.1"])
192
202
  s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
@@ -307,6 +317,16 @@ Gem::Specification.new do |s|
307
317
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
308
318
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
309
319
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
320
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
321
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
322
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
323
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
324
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
325
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
326
+ s.add_dependency(%q<rcov>, [">= 0"])
327
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
328
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
329
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
310
330
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
311
331
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
312
332
  s.add_dependency(%q<bson>, ["~> 1.3.0"])
@@ -428,6 +448,16 @@ Gem::Specification.new do |s|
428
448
  s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
429
449
  s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
430
450
  s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
451
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
452
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
453
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
454
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
455
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
456
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
457
+ s.add_dependency(%q<rcov>, [">= 0"])
458
+ s.add_dependency(%q<mongoid-rspec>, ["= 1.4.1"])
459
+ s.add_dependency(%q<database_cleaner>, ["= 0.6.4"])
460
+ s.add_dependency(%q<bluecloth>, ["~> 2.1.0"])
431
461
  s.add_dependency(%q<slingshot-rb>, ["= 0.0.8"])
432
462
  s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
433
463
  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: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 9
10
- version: 1.1.9
9
+ - 10
10
+ version: 1.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Omar Mekky
@@ -1708,8 +1708,166 @@ dependencies:
1708
1708
  version_requirements: *id107
1709
1709
  - !ruby/object:Gem::Dependency
1710
1710
  prerelease: false
1711
- type: :runtime
1711
+ type: :development
1712
1712
  requirement: &id108 !ruby/object:Gem::Requirement
1713
+ none: false
1714
+ requirements:
1715
+ - - ~>
1716
+ - !ruby/object:Gem::Version
1717
+ hash: 27
1718
+ segments:
1719
+ - 1
1720
+ - 3
1721
+ - 0
1722
+ version: 1.3.0
1723
+ name: bson
1724
+ version_requirements: *id108
1725
+ - !ruby/object:Gem::Dependency
1726
+ prerelease: false
1727
+ type: :development
1728
+ requirement: &id109 !ruby/object:Gem::Requirement
1729
+ none: false
1730
+ requirements:
1731
+ - - ~>
1732
+ - !ruby/object:Gem::Version
1733
+ hash: 27
1734
+ segments:
1735
+ - 1
1736
+ - 3
1737
+ - 0
1738
+ version: 1.3.0
1739
+ name: bson_ext
1740
+ version_requirements: *id109
1741
+ - !ruby/object:Gem::Dependency
1742
+ prerelease: false
1743
+ type: :development
1744
+ requirement: &id110 !ruby/object:Gem::Requirement
1745
+ none: false
1746
+ requirements:
1747
+ - - ~>
1748
+ - !ruby/object:Gem::Version
1749
+ hash: 3
1750
+ segments:
1751
+ - 2
1752
+ - 3
1753
+ - 0
1754
+ version: 2.3.0
1755
+ name: rspec
1756
+ version_requirements: *id110
1757
+ - !ruby/object:Gem::Dependency
1758
+ prerelease: false
1759
+ type: :development
1760
+ requirement: &id111 !ruby/object:Gem::Requirement
1761
+ none: false
1762
+ requirements:
1763
+ - - ~>
1764
+ - !ruby/object:Gem::Version
1765
+ hash: 7
1766
+ segments:
1767
+ - 0
1768
+ - 6
1769
+ - 0
1770
+ version: 0.6.0
1771
+ name: yard
1772
+ version_requirements: *id111
1773
+ - !ruby/object:Gem::Dependency
1774
+ prerelease: false
1775
+ type: :development
1776
+ requirement: &id112 !ruby/object:Gem::Requirement
1777
+ none: false
1778
+ requirements:
1779
+ - - ~>
1780
+ - !ruby/object:Gem::Version
1781
+ hash: 23
1782
+ segments:
1783
+ - 1
1784
+ - 0
1785
+ - 0
1786
+ version: 1.0.0
1787
+ name: bundler
1788
+ version_requirements: *id112
1789
+ - !ruby/object:Gem::Dependency
1790
+ prerelease: false
1791
+ type: :development
1792
+ requirement: &id113 !ruby/object:Gem::Requirement
1793
+ none: false
1794
+ requirements:
1795
+ - - ~>
1796
+ - !ruby/object:Gem::Version
1797
+ hash: 7
1798
+ segments:
1799
+ - 1
1800
+ - 5
1801
+ - 2
1802
+ version: 1.5.2
1803
+ name: jeweler
1804
+ version_requirements: *id113
1805
+ - !ruby/object:Gem::Dependency
1806
+ prerelease: false
1807
+ type: :development
1808
+ requirement: &id114 !ruby/object:Gem::Requirement
1809
+ none: false
1810
+ requirements:
1811
+ - - ">="
1812
+ - !ruby/object:Gem::Version
1813
+ hash: 3
1814
+ segments:
1815
+ - 0
1816
+ version: "0"
1817
+ name: rcov
1818
+ version_requirements: *id114
1819
+ - !ruby/object:Gem::Dependency
1820
+ prerelease: false
1821
+ type: :development
1822
+ requirement: &id115 !ruby/object:Gem::Requirement
1823
+ none: false
1824
+ requirements:
1825
+ - - "="
1826
+ - !ruby/object:Gem::Version
1827
+ hash: 5
1828
+ segments:
1829
+ - 1
1830
+ - 4
1831
+ - 1
1832
+ version: 1.4.1
1833
+ name: mongoid-rspec
1834
+ version_requirements: *id115
1835
+ - !ruby/object:Gem::Dependency
1836
+ prerelease: false
1837
+ type: :development
1838
+ requirement: &id116 !ruby/object:Gem::Requirement
1839
+ none: false
1840
+ requirements:
1841
+ - - "="
1842
+ - !ruby/object:Gem::Version
1843
+ hash: 15
1844
+ segments:
1845
+ - 0
1846
+ - 6
1847
+ - 4
1848
+ version: 0.6.4
1849
+ name: database_cleaner
1850
+ version_requirements: *id116
1851
+ - !ruby/object:Gem::Dependency
1852
+ prerelease: false
1853
+ type: :development
1854
+ requirement: &id117 !ruby/object:Gem::Requirement
1855
+ none: false
1856
+ requirements:
1857
+ - - ~>
1858
+ - !ruby/object:Gem::Version
1859
+ hash: 11
1860
+ segments:
1861
+ - 2
1862
+ - 1
1863
+ - 0
1864
+ version: 2.1.0
1865
+ name: bluecloth
1866
+ version_requirements: *id117
1867
+ - !ruby/object:Gem::Dependency
1868
+ prerelease: false
1869
+ type: :runtime
1870
+ requirement: &id118 !ruby/object:Gem::Requirement
1713
1871
  none: false
1714
1872
  requirements:
1715
1873
  - - "="
@@ -1721,11 +1879,11 @@ dependencies:
1721
1879
  - 8
1722
1880
  version: 0.0.8
1723
1881
  name: slingshot-rb
1724
- version_requirements: *id108
1882
+ version_requirements: *id118
1725
1883
  - !ruby/object:Gem::Dependency
1726
1884
  prerelease: false
1727
1885
  type: :runtime
1728
- requirement: &id109 !ruby/object:Gem::Requirement
1886
+ requirement: &id119 !ruby/object:Gem::Requirement
1729
1887
  none: false
1730
1888
  requirements:
1731
1889
  - - ~>
@@ -1737,11 +1895,11 @@ dependencies:
1737
1895
  - 1
1738
1896
  version: 2.0.1
1739
1897
  name: mongoid
1740
- version_requirements: *id109
1898
+ version_requirements: *id119
1741
1899
  - !ruby/object:Gem::Dependency
1742
1900
  prerelease: false
1743
1901
  type: :development
1744
- requirement: &id110 !ruby/object:Gem::Requirement
1902
+ requirement: &id120 !ruby/object:Gem::Requirement
1745
1903
  none: false
1746
1904
  requirements:
1747
1905
  - - ~>
@@ -1753,11 +1911,11 @@ dependencies:
1753
1911
  - 0
1754
1912
  version: 1.3.0
1755
1913
  name: bson
1756
- version_requirements: *id110
1914
+ version_requirements: *id120
1757
1915
  - !ruby/object:Gem::Dependency
1758
1916
  prerelease: false
1759
1917
  type: :development
1760
- requirement: &id111 !ruby/object:Gem::Requirement
1918
+ requirement: &id121 !ruby/object:Gem::Requirement
1761
1919
  none: false
1762
1920
  requirements:
1763
1921
  - - ~>
@@ -1769,11 +1927,11 @@ dependencies:
1769
1927
  - 0
1770
1928
  version: 1.3.0
1771
1929
  name: bson_ext
1772
- version_requirements: *id111
1930
+ version_requirements: *id121
1773
1931
  - !ruby/object:Gem::Dependency
1774
1932
  prerelease: false
1775
1933
  type: :development
1776
- requirement: &id112 !ruby/object:Gem::Requirement
1934
+ requirement: &id122 !ruby/object:Gem::Requirement
1777
1935
  none: false
1778
1936
  requirements:
1779
1937
  - - ~>
@@ -1785,11 +1943,11 @@ dependencies:
1785
1943
  - 0
1786
1944
  version: 2.3.0
1787
1945
  name: rspec
1788
- version_requirements: *id112
1946
+ version_requirements: *id122
1789
1947
  - !ruby/object:Gem::Dependency
1790
1948
  prerelease: false
1791
1949
  type: :development
1792
- requirement: &id113 !ruby/object:Gem::Requirement
1950
+ requirement: &id123 !ruby/object:Gem::Requirement
1793
1951
  none: false
1794
1952
  requirements:
1795
1953
  - - ~>
@@ -1801,11 +1959,11 @@ dependencies:
1801
1959
  - 0
1802
1960
  version: 0.6.0
1803
1961
  name: yard
1804
- version_requirements: *id113
1962
+ version_requirements: *id123
1805
1963
  - !ruby/object:Gem::Dependency
1806
1964
  prerelease: false
1807
1965
  type: :development
1808
- requirement: &id114 !ruby/object:Gem::Requirement
1966
+ requirement: &id124 !ruby/object:Gem::Requirement
1809
1967
  none: false
1810
1968
  requirements:
1811
1969
  - - ~>
@@ -1817,11 +1975,11 @@ dependencies:
1817
1975
  - 0
1818
1976
  version: 1.0.0
1819
1977
  name: bundler
1820
- version_requirements: *id114
1978
+ version_requirements: *id124
1821
1979
  - !ruby/object:Gem::Dependency
1822
1980
  prerelease: false
1823
1981
  type: :development
1824
- requirement: &id115 !ruby/object:Gem::Requirement
1982
+ requirement: &id125 !ruby/object:Gem::Requirement
1825
1983
  none: false
1826
1984
  requirements:
1827
1985
  - - ~>
@@ -1833,11 +1991,11 @@ dependencies:
1833
1991
  - 2
1834
1992
  version: 1.5.2
1835
1993
  name: jeweler
1836
- version_requirements: *id115
1994
+ version_requirements: *id125
1837
1995
  - !ruby/object:Gem::Dependency
1838
1996
  prerelease: false
1839
1997
  type: :development
1840
- requirement: &id116 !ruby/object:Gem::Requirement
1998
+ requirement: &id126 !ruby/object:Gem::Requirement
1841
1999
  none: false
1842
2000
  requirements:
1843
2001
  - - ">="
@@ -1847,11 +2005,11 @@ dependencies:
1847
2005
  - 0
1848
2006
  version: "0"
1849
2007
  name: rcov
1850
- version_requirements: *id116
2008
+ version_requirements: *id126
1851
2009
  - !ruby/object:Gem::Dependency
1852
2010
  prerelease: false
1853
2011
  type: :development
1854
- requirement: &id117 !ruby/object:Gem::Requirement
2012
+ requirement: &id127 !ruby/object:Gem::Requirement
1855
2013
  none: false
1856
2014
  requirements:
1857
2015
  - - "="
@@ -1863,11 +2021,11 @@ dependencies:
1863
2021
  - 1
1864
2022
  version: 1.4.1
1865
2023
  name: mongoid-rspec
1866
- version_requirements: *id117
2024
+ version_requirements: *id127
1867
2025
  - !ruby/object:Gem::Dependency
1868
2026
  prerelease: false
1869
2027
  type: :development
1870
- requirement: &id118 !ruby/object:Gem::Requirement
2028
+ requirement: &id128 !ruby/object:Gem::Requirement
1871
2029
  none: false
1872
2030
  requirements:
1873
2031
  - - "="
@@ -1879,11 +2037,11 @@ dependencies:
1879
2037
  - 4
1880
2038
  version: 0.6.4
1881
2039
  name: database_cleaner
1882
- version_requirements: *id118
2040
+ version_requirements: *id128
1883
2041
  - !ruby/object:Gem::Dependency
1884
2042
  prerelease: false
1885
2043
  type: :development
1886
- requirement: &id119 !ruby/object:Gem::Requirement
2044
+ requirement: &id129 !ruby/object:Gem::Requirement
1887
2045
  none: false
1888
2046
  requirements:
1889
2047
  - - ~>
@@ -1895,7 +2053,7 @@ dependencies:
1895
2053
  - 0
1896
2054
  version: 2.1.0
1897
2055
  name: bluecloth
1898
- version_requirements: *id119
2056
+ version_requirements: *id129
1899
2057
  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 "
1900
2058
  email: omar.mekky@mashsolvents.com
1901
2059
  executables: []