is_it_working-cbeer 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.13
1
+ 1.0.14
@@ -10,8 +10,10 @@ module IsItWorking
10
10
  def call(status)
11
11
  if ping
12
12
  status.ok("service active")
13
- status.info("numDocs: #{luke['numDocs']}")
14
- status.info("lastModified: #{luke['lastModified']}")
13
+ unless luke.empty?
14
+ status.info("numDocs: #{luke['numDocs']}")
15
+ status.info("lastModified: #{luke['lastModified']}")
16
+ end
15
17
  registry.each do |name, text|
16
18
  status.info("#{name} - #{text}")
17
19
  end
@@ -30,7 +32,7 @@ module IsItWorking
30
32
 
31
33
  def registry
32
34
  @registry ||= begin
33
- resp = Blacklight.solr.get 'admin/registry.jsp', :params => { :wt => 'xml' }
35
+ resp = @client.get 'admin/registry.jsp', :params => { :wt => 'xml' }
34
36
  doc = Nokogiri::XML resp
35
37
  h = {}
36
38
  doc.xpath('/solr/*').each do |node|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_it_working-cbeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-15 00:00:00.000000000 Z
13
+ date: 2012-06-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -152,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  segments:
154
154
  - 0
155
- hash: -4565141826381760965
155
+ hash: 4350273255268347688
156
156
  required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  none: false
158
158
  requirements:
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: -4565141826381760965
164
+ hash: 4350273255268347688
165
165
  requirements: []
166
166
  rubyforge_project:
167
167
  rubygems_version: 1.8.24