solr_wrapper 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3ec6e7361a92276fb0c598b56ea2fdc17572bbd
4
- data.tar.gz: caa89e5097dc0c14704187ed5de7bc67343c815f
3
+ metadata.gz: f93c8c8e3f7fa76db872d7a78d3248f92cf2339b
4
+ data.tar.gz: ba80a71c7d8ca4efe0f75332fe36e58b3da1e4b2
5
5
  SHA512:
6
- metadata.gz: 36f69de4648f9db4f3b361f888e4d5767ef120d00a8b916a8a4b8569a5026397e1f89b2adfdf885338daef6f33c5b28f85030f23c254843847d6e2fe44c2cd29
7
- data.tar.gz: 58632ed157bc742f09df5b011eef3cfb5b06404e0b3460079146608c3689472ee8fcd2ffdd0538dcd3eef5156cf7c7986a658adb752940e523a3df77bf5e623c
6
+ metadata.gz: d943fd2c94733672e648d3496b581ace396de3d553be1d7e006f1e085598fdf1acde4a0ca60e0ff2f90cb32bf6c13b26d77f6113ae7ff1a286679a99f232542b
7
+ data.tar.gz: 916ab091e2af478a5a18f4a3fc782ea9dd65ebe0fbcea97203bc50f9178faec61ed7d7a4d7e8d153668c02ff80024a8174221431225d8a8e1d8a63a214fe80b7
data/lib/solr_wrapper.rb CHANGED
@@ -3,7 +3,7 @@ require 'solr_wrapper/instance'
3
3
 
4
4
  module SolrWrapper
5
5
  def self.default_solr_version
6
- "5.2.1"
6
+ '5.3.0'
7
7
  end
8
8
 
9
9
  def self.default_instance(options = {})
@@ -258,7 +258,7 @@ module SolrWrapper
258
258
 
259
259
  def default_download_url
260
260
  @default_url ||= begin
261
- mirror_url = "http://www.apache.org/dyn/closer.cgi/lucene/solr/#{version}/solr-#{version}.zip?asjson=true"
261
+ mirror_url = "http://www.apache.org/dyn/closer.lua/lucene/solr/#{version}/solr-#{version}.zip?asjson=true"
262
262
  json = open(mirror_url).read
263
263
  doc = JSON.parse(json)
264
264
  doc['preferred'] + doc['path_info']
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = "0.1.0"
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip