sunspot_solr 2.0.0.pre.111215 → 2.0.0.pre.120415

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Sunspot
2
2
  module Solr
3
3
  module Java
4
4
  def self.installed?
5
- `java -version &> /dev/null`
5
+ `java -version`
6
6
  $?.success?
7
7
  end
8
8
  end
@@ -1,4 +1,4 @@
1
- require 'escape'
1
+ require 'shellwords'
2
2
  require 'set'
3
3
  require 'tempfile'
4
4
  require 'sunspot/solr/java'
@@ -101,7 +101,7 @@ module Sunspot
101
101
  command << "-Djava.util.logging.config.file=#{logging_config_path}" if logging_config_path
102
102
  command << '-jar' << File.basename(solr_jar)
103
103
  FileUtils.cd(File.dirname(solr_jar)) do
104
- exec(Escape.shell_command(command))
104
+ exec(Shellwords.shelljoin(command))
105
105
  end
106
106
  end
107
107
 
data/sunspot_solr.gemspec CHANGED
@@ -28,8 +28,6 @@ Gem::Specification.new do |s|
28
28
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
29
  s.require_paths = ["lib"]
30
30
 
31
- s.add_dependency 'escape', '~>0.0.4'
32
-
33
31
  s.add_development_dependency 'rspec', '~> 1.1'
34
32
  s.add_development_dependency 'hanna'
35
33
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot_solr
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ hash: 2020322919
5
+ prerelease: 6
5
6
  segments:
6
7
  - 2
7
8
  - 0
8
9
  - 0
9
10
  - pre
10
- - 111215
11
- version: 2.0.0.pre.111215
11
+ - 120415
12
+ version: 2.0.0.pre.120415
12
13
  platform: ruby
13
14
  authors:
14
15
  - Mat Brown
@@ -34,48 +35,37 @@ autorequire:
34
35
  bindir: bin
35
36
  cert_chain: []
36
37
 
37
- date: 2011-12-15 00:00:00 -07:00
38
- default_executable:
38
+ date: 2012-04-15 00:00:00 Z
39
39
  dependencies:
40
- - !ruby/object:Gem::Dependency
41
- name: escape
42
- prerelease: false
43
- requirement: &id001 !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- segments:
48
- - 0
49
- - 0
50
- - 4
51
- version: 0.0.4
52
- type: :runtime
53
- version_requirements: *id001
54
40
  - !ruby/object:Gem::Dependency
55
41
  name: rspec
56
42
  prerelease: false
57
- requirement: &id002 !ruby/object:Gem::Requirement
43
+ requirement: &id001 !ruby/object:Gem::Requirement
44
+ none: false
58
45
  requirements:
59
46
  - - ~>
60
47
  - !ruby/object:Gem::Version
48
+ hash: 13
61
49
  segments:
62
50
  - 1
63
51
  - 1
64
52
  version: "1.1"
65
53
  type: :development
66
- version_requirements: *id002
54
+ version_requirements: *id001
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: hanna
69
57
  prerelease: false
70
- requirement: &id003 !ruby/object:Gem::Requirement
58
+ requirement: &id002 !ruby/object:Gem::Requirement
59
+ none: false
71
60
  requirements:
72
61
  - - ">="
73
62
  - !ruby/object:Gem::Version
63
+ hash: 3
74
64
  segments:
75
65
  - 0
76
66
  version: "0"
77
67
  type: :development
78
- version_requirements: *id003
68
+ version_requirements: *id002
79
69
  description: " Sunspot::Solr provides a bundled Solr distribution for use with Sunspot.\n Typical deployment environments will require more configuration, but this\n distribution is well suited to development and testing.\n"
80
70
  email:
81
71
  - mat@patch.com
@@ -130,7 +120,6 @@ files:
130
120
  - spec/server_spec.rb
131
121
  - spec/spec_helper.rb
132
122
  - sunspot_solr.gemspec
133
- has_rdoc: true
134
123
  homepage: https://github.com/outoftime/sunspot/tree/master/sunspot_solr
135
124
  licenses: []
136
125
 
@@ -144,16 +133,20 @@ rdoc_options:
144
133
  require_paths:
145
134
  - lib
146
135
  required_ruby_version: !ruby/object:Gem::Requirement
136
+ none: false
147
137
  requirements:
148
138
  - - ">="
149
139
  - !ruby/object:Gem::Version
140
+ hash: 3
150
141
  segments:
151
142
  - 0
152
143
  version: "0"
153
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
+ none: false
154
146
  requirements:
155
147
  - - ">"
156
148
  - !ruby/object:Gem::Version
149
+ hash: 25
157
150
  segments:
158
151
  - 1
159
152
  - 3
@@ -162,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
155
  requirements: []
163
156
 
164
157
  rubyforge_project: sunspot
165
- rubygems_version: 1.3.6
158
+ rubygems_version: 1.8.15
166
159
  signing_key:
167
160
  specification_version: 3
168
161
  summary: Bundled Solr distribution for Sunspot