customized-mongomapper-search 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGE_LOG CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.3
2
+ ------
3
+ - Fixed a bug where attributes of class type Time are sent to Solr as UTC times without actually being converted to UTC time. The :utc method is now called on the Time instance before getting converted into a iso8601 string.
4
+
1
5
  1.0.2
2
6
  ------
3
7
  - Added a class method "idx_force_commit" that specifies whether index and delete operations should be force committed. ******* All index and delete operations now default to not being force committed. *******
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('customized-mongomapper-search', '1.0.2') do |p|
5
+ Echoe.new('customized-mongomapper-search', '1.0.3') do |p|
6
6
  p.description = "Easily integrate Mongo Mapper with with Solr search. Please view the CHANGELOG file found on the GitHub project homepage before upgrading."
7
7
  p.url = "http://github.com/tsxn26/customized-mongomapper-search"
8
8
  p.author = ["Thomas Nguyen"]
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{customized-mongomapper-search}
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Thomas Nguyen"]
9
- s.date = %q{2010-06-11}
9
+ s.date = %q{2010-06-21}
10
10
  s.description = %q{Easily integrate Mongo Mapper with with Solr search. Please view the CHANGELOG file found on the GitHub project homepage before upgrading.}
11
11
  s.email = %q{tsxn26@gmail.com}
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/customized-mongomapper-search.rb", "lib/search/indexable.rb", "lib/search/searchable.rb"]
@@ -79,7 +79,7 @@ module Search
79
79
  if self.class.idx_attrs
80
80
  self.class.idx_attrs.each_pair do |x,y|
81
81
  fields[y] = self.attributes[x]
82
- fields[y] = fields[y].strftime("%Y-%m-%dT%H:%M:%SZ") if fields[y].is_a?(Time)
82
+ fields[y] = fields[y].utc.iso8601 if fields[y].is_a?(Time)
83
83
  end
84
84
  end
85
85
  fields
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: customized-mongomapper-search
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Nguyen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-11 00:00:00 -07:00
18
+ date: 2010-06-21 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency