supernova 0.3.1 → 0.3.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -82,7 +82,7 @@ class Supernova::SolrIndexer
82
82
 
83
83
  def default_fields
84
84
  fields = ["id"]
85
- fields << %("#{self.class.clazz}" AS type_s) if self.class.clazz
85
+ fields << %("#{self.class.clazz}" AS type) if self.class.clazz
86
86
  fields
87
87
  end
88
88
 
@@ -301,7 +301,7 @@ describe Supernova::SolrIndexer do
301
301
 
302
302
  it "adds type when class defined" do
303
303
  indexer_clazz.clazz Integer
304
- indexer_clazz.new.default_fields.should == ["id", %("Integer" AS type_s)]
304
+ indexer_clazz.new.default_fields.should == ["id", %("Integer" AS type)]
305
305
  end
306
306
  end
307
307
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{supernova}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
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"]
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: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Schwab