multi-solr 01.02.00 → 01.02.01

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,7 +83,7 @@ class MultiSolr::SingleCoreHandler
83
83
  val, count = value_count_pair
84
84
  if val && count > 0
85
85
  # wenn val nur aus Zahlen besteht, dann nach Integer konvertieren (wegen der Sortierung)
86
- val = val.to_i if val =~ /\d+/
86
+ val = val.to_i if !val.match(/[^0-9]/)
87
87
  values << val
88
88
  end
89
89
  end
@@ -1,3 +1,3 @@
1
1
  module MultiSolr
2
- VERSION = "01.02.00"
2
+ VERSION = "01.02.01"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi-solr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 01.02.00
9
+ - 1
10
+ version: 01.02.01
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernd Ledig
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-12 00:00:00 +02:00
18
+ date: 2012-06-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency