supernova 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
@@ -59,7 +59,8 @@ class Supernova::SolrIndexer
59
59
  :date => :dt,
60
60
  :boolean => :b,
61
61
  :location => :p,
62
- :double => :d
62
+ :double => :d,
63
+ :string_array => :ms
63
64
  }
64
65
 
65
66
  def initialize(options = {})
@@ -800,6 +800,12 @@ describe Supernova::SolrIndexer do
800
800
  end
801
801
  end
802
802
 
803
+ describe "#suffix_from_type" do
804
+ it "returns the correct field for string_array" do
805
+ Supernova::SolrIndexer.suffix_from_type(:string_array).should == :ms
806
+ end
807
+ end
808
+
803
809
  describe "#solr_field_for_field_name_and_mapping" do
804
810
  let(:mapping) do
805
811
  {
data/supernova.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{supernova}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tobias Schwab"]
12
- s.date = %q{2011-08-04}
12
+ s.date = %q{2011-08-09}
13
13
  s.description = %q{Unified search scopes}
14
14
  s.email = %q{tobias.schwab@dynport.de}
15
15
  s.executables = ["start_solr"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supernova
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Schwab
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-04 00:00:00 Z
18
+ date: 2011-08-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement