mongomapper_ext 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/dcu/mongomapper_ext"
12
12
  gem.authors = ["David A. Cuadrado"]
13
13
 
14
- gem.add_dependency('mongo_mapper', '>= 0.7.3')
14
+ gem.add_dependency('mongo_mapper', '~> 0.7')
15
15
  gem.add_dependency('uuidtools', '>= 2.0.0')
16
16
 
17
17
  gem.add_development_dependency("shoulda", ">= 2.10.2")
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -125,6 +125,8 @@ module MongoMapperExt
125
125
  words
126
126
  elsif val.kind_of?(Array)
127
127
  val.map { |e| keywords_for_value(e, stemmer, stop_words) }.flatten
128
+ elsif val.kind_of?(Hash)
129
+ val.map { |k, v| keywords_for_value(v, stemmer, stop_words) }.flatten
128
130
  elsif val
129
131
  [val]
130
132
  else
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mongomapper_ext}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David A. Cuadrado"]
12
- s.date = %q{2010-04-25}
12
+ s.date = %q{2010-04-27}
13
13
  s.description = %q{MongoMapper extensions}
14
14
  s.email = %q{krawek@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -90,20 +90,20 @@ Gem::Specification.new do |s|
90
90
  s.specification_version = 3
91
91
 
92
92
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
93
- s.add_runtime_dependency(%q<mongo_mapper>, [">= 0.7.3"])
93
+ s.add_runtime_dependency(%q<mongo_mapper>, ["~> 0.7"])
94
94
  s.add_runtime_dependency(%q<uuidtools>, [">= 2.0.0"])
95
95
  s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
96
96
  s.add_development_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
97
97
  s.add_development_dependency(%q<mocha>, [">= 0.9.4"])
98
98
  else
99
- s.add_dependency(%q<mongo_mapper>, [">= 0.7.3"])
99
+ s.add_dependency(%q<mongo_mapper>, ["~> 0.7"])
100
100
  s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
101
101
  s.add_dependency(%q<shoulda>, [">= 2.10.2"])
102
102
  s.add_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
103
103
  s.add_dependency(%q<mocha>, [">= 0.9.4"])
104
104
  end
105
105
  else
106
- s.add_dependency(%q<mongo_mapper>, [">= 0.7.3"])
106
+ s.add_dependency(%q<mongo_mapper>, ["~> 0.7"])
107
107
  s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
108
108
  s.add_dependency(%q<shoulda>, [">= 2.10.2"])
109
109
  s.add_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - David A. Cuadrado
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-25 00:00:00 -05:00
17
+ date: 2010-04-27 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -22,13 +22,12 @@ dependencies:
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 0
29
29
  - 7
30
- - 3
31
- version: 0.7.3
30
+ version: "0.7"
32
31
  type: :runtime
33
32
  version_requirements: *id001
34
33
  - !ruby/object:Gem::Dependency