chef-solr 0.8.14 → 0.8.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +42 -19
- data/VERSION +1 -1
- data/lib/chef/solr.rb +1 -1
- metadata +6 -11
data/Rakefile
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Adam Jacob (<adam@opscode.com>)
|
3
|
+
# Author:: Daniel DeLeo (<dan@opscode.com>)
|
4
|
+
# Copyright:: Copyright (c) 2008, 2010 Opscode, Inc.
|
5
|
+
# License:: Apache License, Version 2.0
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
1
20
|
require 'rubygems'
|
2
21
|
require 'rake'
|
3
22
|
|
@@ -26,29 +45,33 @@ rescue LoadError
|
|
26
45
|
puts "Jeweler (or a dependency) not available. Install it from gemcutter with: sudo gem install gemcutter jeweler"
|
27
46
|
end
|
28
47
|
|
29
|
-
|
30
|
-
|
31
|
-
spec
|
32
|
-
|
33
|
-
|
34
|
-
|
48
|
+
begin
|
49
|
+
require 'spec/rake/spectask'
|
50
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
51
|
+
spec.libs << 'lib' << 'spec'
|
52
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
53
|
+
spec.spec_opts = ['--options', File.expand_path(File.dirname(__FILE__) + '/spec/spec.opts')]
|
54
|
+
end
|
35
55
|
|
36
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
end
|
56
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
57
|
+
spec.libs << 'lib' << 'spec'
|
58
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
59
|
+
spec.rcov = true
|
60
|
+
end
|
41
61
|
|
42
|
-
begin
|
43
|
-
|
44
|
-
|
45
|
-
rescue LoadError
|
46
|
-
|
47
|
-
|
62
|
+
begin
|
63
|
+
require 'cucumber/rake/task'
|
64
|
+
Cucumber::Rake::Task.new(:features)
|
65
|
+
rescue LoadError
|
66
|
+
task :features do
|
67
|
+
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
|
68
|
+
end
|
48
69
|
end
|
49
|
-
end
|
50
70
|
|
51
|
-
task :default => :spec
|
71
|
+
task :default => :spec
|
72
|
+
rescue LoadError
|
73
|
+
STDERR.puts "\n*** rspec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
|
74
|
+
end
|
52
75
|
|
53
76
|
require 'rake/rdoctask'
|
54
77
|
Rake::RDocTask.new do |rdoc|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.16
|
data/lib/chef/solr.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
8
|
+
- 16
|
9
|
+
version: 0.8.16
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Adam Jacob
|
@@ -14,14 +14,13 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-11 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: libxml-ruby
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
24
|
requirements:
|
26
25
|
- - ">="
|
27
26
|
- !ruby/object:Gem::Version
|
@@ -36,7 +35,6 @@ dependencies:
|
|
36
35
|
name: uuidtools
|
37
36
|
prerelease: false
|
38
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
38
|
requirements:
|
41
39
|
- - ">="
|
42
40
|
- !ruby/object:Gem::Version
|
@@ -51,15 +49,14 @@ dependencies:
|
|
51
49
|
name: chef
|
52
50
|
prerelease: false
|
53
51
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
52
|
requirements:
|
56
53
|
- - "="
|
57
54
|
- !ruby/object:Gem::Version
|
58
55
|
segments:
|
59
56
|
- 0
|
60
57
|
- 8
|
61
|
-
-
|
62
|
-
version: 0.8.
|
58
|
+
- 16
|
59
|
+
version: 0.8.16
|
63
60
|
type: :runtime
|
64
61
|
version_requirements: *id003
|
65
62
|
description:
|
@@ -105,7 +102,6 @@ rdoc_options:
|
|
105
102
|
require_paths:
|
106
103
|
- lib
|
107
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
105
|
requirements:
|
110
106
|
- - ">="
|
111
107
|
- !ruby/object:Gem::Version
|
@@ -113,7 +109,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
109
|
- 0
|
114
110
|
version: "0"
|
115
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
112
|
requirements:
|
118
113
|
- - ">="
|
119
114
|
- !ruby/object:Gem::Version
|
@@ -123,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
118
|
requirements: []
|
124
119
|
|
125
120
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.3.6
|
121
|
+
rubygems_version: 1.3.6
|
127
122
|
signing_key:
|
128
123
|
specification_version: 3
|
129
124
|
summary: Search indexing for Chef
|