simple_solr_client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_solr.rb +1 -11
- data/lib/simple_solr/version.rb +1 -1
- data/simple_solr_client.gemspec +0 -7
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d857640c692573bee5ba443af51726cc97698aa
|
4
|
+
data.tar.gz: b23f31ea6d1cae6cc15bf007c8c0b75d26ca2e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76b39606471ff5dc877d5a6004c71f50c3e27fff81085497b7db859a11e25e88741adbf0155be984b3eb7f63be0ce2c97dc9d52c9589cf9ea48b907fed4810ad
|
7
|
+
data.tar.gz: 8991bc12e327846575f256313e40cd13cbed7008ec6a1e79ecee894736ff42180cf27f30750eabe62ad85f47ab04ae8cea28ecb49598f13272b79d88cd646a37
|
data/lib/simple_solr.rb
CHANGED
@@ -20,17 +20,7 @@ end
|
|
20
20
|
|
21
21
|
require 'httpclient'
|
22
22
|
require 'forwardable'
|
23
|
-
|
24
|
-
# Choose a JSON-compatible json parser/producer
|
25
|
-
if defined? JRUBY_VERSION
|
26
|
-
require 'json'
|
27
|
-
else
|
28
|
-
require 'oj'
|
29
|
-
Oj.mimic_JSON
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
|
23
|
+
require 'json'
|
34
24
|
|
35
25
|
require "simple_solr/version"
|
36
26
|
|
data/lib/simple_solr/version.rb
CHANGED
data/simple_solr_client.gemspec
CHANGED
@@ -17,19 +17,12 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
|
21
20
|
# Thread-safe, cross-platform http client
|
22
21
|
spec.add_dependency "httpclient"
|
23
22
|
|
24
23
|
# XML parsing. Slower, but less screwy than Nokogiri
|
25
24
|
spec.add_dependency 'nokogiri'
|
26
25
|
|
27
|
-
# Only require Oj for MRI/rbx. We'll use stock JSON on jruby
|
28
|
-
if defined? JRUBY
|
29
|
-
spec.platform = "java"
|
30
|
-
else
|
31
|
-
spec.add_dependency 'oj'
|
32
|
-
end
|
33
26
|
|
34
27
|
|
35
28
|
spec.add_development_dependency "bundler", "~> 1.7"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_solr_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Dueber
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: oj
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: bundler
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|