chef-expander 0.10.6.rc.3 → 0.10.6.rc.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -145,6 +145,15 @@ module Chef
145
145
 
146
146
  configurable :solr_url, "http://localhost:8983/solr"
147
147
 
148
+ # override the setter for solr_url for backward compatibilty
149
+ def solr_url=(url)
150
+ if url && url == "http://localhost:8983"
151
+ log.warn {"You seem to have a legacy setting for solr_url: did you mean #{url}/solr ?"}
152
+ url = "#{url}/solr"
153
+ end
154
+ @solr_url = url
155
+ end
156
+
148
157
  configurable :amqp_host, '0.0.0.0'
149
158
 
150
159
  configurable :amqp_port, 5672
@@ -23,7 +23,7 @@ require 'open3'
23
23
  module Chef
24
24
  module Expander
25
25
 
26
- VERSION = "0.10.6.rc.3"
26
+ VERSION = "0.10.6.rc.4"
27
27
 
28
28
  def self.version
29
29
  @rev ||= begin
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-expander
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424131
4
+ hash: 15424141
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
9
  - 6
10
10
  - rc
11
- - 3
12
- version: 0.10.6.rc.3
11
+ - 4
12
+ version: 0.10.6.rc.4
13
13
  platform: ruby
14
14
  authors:
15
15
  - Adam Jacob
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-11-28 00:00:00 Z
20
+ date: 2011-12-02 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: mixlib-log