websolr-sunspot_rails 1.0.3.0 → 1.0.3.1

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
- 1.0.3.0
1
+ 1.0.3.1
@@ -13,22 +13,22 @@ if ENV["WEBSOLR_URL"]
13
13
  ENV["WEBSOLR_CONFIG_HOST"] ||= "www.websolr.com"
14
14
 
15
15
  @pending = true
16
- Rails.logger.info "Checking index availability..."
16
+ puts "Checking index availability..."
17
17
 
18
18
  response = RestClient.post("http://#{ENV["WEBSOLR_CONFIG_HOST"]}/schema/#{api_key}.json", :client => "sunspot-1.0")
19
19
  json = JSON.parse(response)
20
20
  case json["status"]
21
21
  when "ok"
22
- Rails.logger.info "Index is available!"
22
+ puts "Index is available!"
23
23
  @pending = false
24
24
  when "pending"
25
- Rails.logger.info "Provisioning index, things may not be working for a few seconds ..."
25
+ puts "Provisioning index, things may not be working for a few seconds ..."
26
26
  sleep 5
27
27
  when "error"
28
- Rails.logger.error json["message"]
28
+ STDERR.puts json["message"]
29
29
  @pending = false
30
30
  else
31
- Rails.logger.error "wtf: #{json.inspect}"
31
+ STDERR.puts "wtf: #{json.inspect}"
32
32
  end
33
33
 
34
34
  module Sunspot #:nodoc:
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{websolr-sunspot_rails}
8
- s.version = "1.0.3.0"
8
+ s.version = "1.0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kyle Maxwell", "John Barnette", "Mat Brown"]
12
- s.date = %q{2010-03-17}
12
+ s.date = %q{2010-03-24}
13
13
  s.description = %q{websolr to sunspot_rails shim}
14
14
  s.email = %q{kyle@kylemaxwell.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 1.0.3.0
9
+ - 1
10
+ version: 1.0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kyle Maxwell
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-03-17 00:00:00 -07:00
20
+ date: 2010-03-24 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency