multi-solr 01.08.00 → 01.08.01
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.
@@ -131,7 +131,7 @@ class MultiSolr::SingleCoreHandler
|
|
131
131
|
# ermitteln Zeitstempel des letzten Datenimports
|
132
132
|
def import_status solr_core_import_handler_propfile_path
|
133
133
|
MultiSolr.cache.fetch("Solr.import_status.#{self.core_name}.#{solr_core_import_handler_propfile_path}", :expires_in => 1.hours) do
|
134
|
-
result = '
|
134
|
+
result = I18n.t(:unknown, :default => 'n.a.')
|
135
135
|
begin
|
136
136
|
raise("Solr-Import-Status-Propertiesfile not exist") unless File.exist?(solr_core_import_handler_propfile_path)
|
137
137
|
matcher = /^last_index_time=(.*)$/
|
@@ -14,8 +14,8 @@ class MultiSolr::SolrFilterRange < MultiSolr::SolrFilterSimple
|
|
14
14
|
from, to = extract_from_to value
|
15
15
|
return '' if from.nil? && to.nil?
|
16
16
|
s = []
|
17
|
-
s << "von #{from}" unless from.blank?
|
18
|
-
s << "bis #{to}" unless to.blank?
|
17
|
+
s << "#{I18n.t('von', :default => 'von')} #{from}" unless from.blank?
|
18
|
+
s << "#{I18n.t('bis', :default => 'bis')} #{to}" unless to.blank?
|
19
19
|
s.join(' ')
|
20
20
|
end
|
21
21
|
|
data/lib/multi_solr/version.rb
CHANGED
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:
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 01.08.
|
9
|
+
- 1
|
10
|
+
version: 01.08.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: 2013-07-
|
18
|
+
date: 2013-07-26 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|