blacklight 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +3 -5
- data/VERSION +1 -1
- data/app/views/catalog/_results_pagination.html.erb +1 -1
- data/blacklight.gemspec +2 -2
- data/lib/generators/blacklight/install_generator.rb +3 -1
- data/lib/generators/blacklight/solr4_generator.rb +2 -2
- data/lib/generators/blacklight/solr5_generator.rb +3 -1
- data/solr/conf/solrconfig.xml +0 -1
- data/spec/test_app_templates/Gemfile.extra +0 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5963608c415b8842869d7eed4bf5e5c085eacfb1
|
4
|
+
data.tar.gz: 3e87f351736a2c550d5b044495f4887016c5d086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d29ad4a070c192929e7f3b5bec0743796ec56ce01dc8380eafbe13c79a33aba3c1e79a09893e7acb748786cd455445696fc658e5308c4fe77f98a1b57f4177f5
|
7
|
+
data.tar.gz: d17df306da1fcc106a4254d7b0509653b5944f3b469f980ab795e22f7d8a741200511808f31d1983a27c5533fb3090ce49e8045ca1ec4d06417195214d37e6d1
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -34,11 +34,9 @@ rails generate blacklight:install
|
|
34
34
|
|
35
35
|
## Dependencies
|
36
36
|
|
37
|
-
*
|
38
|
-
*
|
39
|
-
*
|
40
|
-
|
41
|
-
In addition, you must have the Bundler and Rails 4.1 (or greater) gems installed. Other gem dependencies are defined in the blacklight.gemspec file and will be automatically loaded by Bundler.
|
37
|
+
* Ruby 2.1+
|
38
|
+
* Bundler
|
39
|
+
* Rails 4.2+
|
42
40
|
|
43
41
|
## Configuring Apache Solr
|
44
42
|
You'll also want some information about how Blacklight expects [Apache Solr](http://lucene.apache.org/solr ) to run, which you can find in [README_SOLR](https://github.com/projectblacklight/blacklight/wiki/README_SOLR)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0.
|
1
|
+
6.0.2
|
data/blacklight.gemspec
CHANGED
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
|
-
s.required_ruby_version = '~> 2.
|
23
|
+
s.required_ruby_version = '~> 2.1'
|
24
24
|
|
25
|
-
s.add_dependency "rails",
|
25
|
+
s.add_dependency "rails", ">= 4.2", "< 6"
|
26
26
|
s.add_dependency "globalid"
|
27
27
|
s.add_dependency "nokogiri", "~>1.6" # XML Parser
|
28
28
|
s.add_dependency "kaminari", ">= 0.15" # the pagination (page 1,2,3, etc..) of our search results
|
@@ -28,7 +28,9 @@ module Blacklight
|
|
28
28
|
"""
|
29
29
|
|
30
30
|
def add_solr_wrapper
|
31
|
-
if
|
31
|
+
if options[:jettywrapper]
|
32
|
+
generate 'blacklight:solr4'
|
33
|
+
elsif solr_version == 'latest'
|
32
34
|
generate 'blacklight:solr5'
|
33
35
|
else
|
34
36
|
generate "blacklight:solr#{solr_version}"
|
@@ -11,7 +11,7 @@ This generator makes the following changes to your application:
|
|
11
11
|
|
12
12
|
def install_jettywrapper
|
13
13
|
return unless options[:jettywrapper]
|
14
|
-
gem "jettywrapper", ">= 2.0"
|
14
|
+
gem "jettywrapper".dup, ">= 2.0"
|
15
15
|
|
16
16
|
copy_file "config/jetty.yml"
|
17
17
|
|
@@ -21,7 +21,7 @@ This generator makes the following changes to your application:
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def add_rsolr_gem
|
24
|
-
gem "rsolr", "~> 1.0.6"
|
24
|
+
gem "rsolr".dup, "~> 1.0.6"
|
25
25
|
end
|
26
26
|
|
27
27
|
end
|
data/solr/conf/solrconfig.xml
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
|
2
2
|
if ENV['RAILS_VERSION'] =~ /^5\.0/ || ENV['RAILS_VERSION'] == 'edge'
|
3
3
|
gem 'rails-controller-testing', github: 'rails/rails-controller-testing'
|
4
|
-
gem 'capybara', github: 'jnicklas/capybara' # we need 2.6.0 to be released
|
5
4
|
gem 'rspec-mocks', github: 'rspec/rspec-mocks' # we need 3.5.0 to be released
|
6
5
|
gem 'rspec-expectations', github: 'rspec/rspec-expectations' # we need 3.5.0 to be released
|
7
6
|
gem 'rspec-support', github: 'rspec/rspec-support' # we need 3.5.0 to be released
|
@@ -10,5 +9,4 @@ if ENV['RAILS_VERSION'] =~ /^5\.0/ || ENV['RAILS_VERSION'] == 'edge'
|
|
10
9
|
gem 'rspec-rails', github: 'rspec/rspec-rails' # we need 3.5.0 to be released
|
11
10
|
gem 'kaminari', github: 'amatsuda/kaminari' # need > 0.16.3
|
12
11
|
gem 'deprecation', github: 'jcoyne/deprecation', branch: 'no_alias_method_chain'
|
13
|
-
gem 'turbolinks', github: 'basecamp/turbolinks', branch: 'v5' # need >= 5.0.0
|
14
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2016-
|
20
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -25,20 +25,20 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '4.
|
28
|
+
version: '4.2'
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '6'
|
32
32
|
type: :runtime
|
33
33
|
prerelease: false
|
34
34
|
version_requirements: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
36
|
- - ">="
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: '4.
|
38
|
+
version: '4.2'
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '6'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: globalid
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -656,7 +656,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
656
656
|
requirements:
|
657
657
|
- - "~>"
|
658
658
|
- !ruby/object:Gem::Version
|
659
|
-
version: '2.
|
659
|
+
version: '2.1'
|
660
660
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
661
661
|
requirements:
|
662
662
|
- - ">="
|