about_page 0.0.5 → 0.0.6

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- about_page (0.0.5)
4
+ about_page (0.0.6)
5
5
  rails (~> 3.2)
6
6
 
7
7
  GEM
@@ -9,7 +9,7 @@ module AboutPage
9
9
  record.errors.add attr, ": unable to connect to Solr: #{record.rsolr.inspect}"
10
10
  end
11
11
  end
12
- validates :numDocs, :numericality => { :greater_than_or_equal_to => Proc.new { |c| c.expects(:numDocs) } }
12
+ j validates :numDocs, :numericality => { :greater_than_or_equal_to => Proc.new { |c| c.expects(:numDocs) } }
13
13
 
14
14
 
15
15
  def initialize rsolr_instance, options = {}
@@ -58,7 +58,7 @@ module AboutPage
58
58
  index#.merge(registry)
59
59
  end
60
60
 
61
- def numDocs; index[:numDocs]; end
61
+ def numDocs; index[:numDocs] || index['numDocs']; end
62
62
 
63
63
  def preflight request
64
64
  @schema = nil
@@ -1,3 +1,3 @@
1
1
  module AboutPage
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: about_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -186,7 +186,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: 1201806507108649834
189
+ hash: 4136952476595819936
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  none: false
192
192
  requirements:
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: 1201806507108649834
198
+ hash: 4136952476595819936
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.23