blacklight_dynamic_sitemap 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 +4 -4
- data/README.md +15 -4
- data/app/models/blacklight_dynamic_sitemap/sitemap.rb +2 -1
- data/lib/blacklight_dynamic_sitemap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f3ea98f3a3050556ef033957f0611b8218217947ec85df3a3710e3af57ddd3b
|
4
|
+
data.tar.gz: 83f99f2d366baa7ab668749fcd8e6177e8f37087e274cd4e6e45d602d4b1c05a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b546084dac10757ef5747cabe791205189e20c5c263a4cb8628ca18c83bc77e557953311191129e404f111197d939488fe8de75a01990ae7888fa7d48088b8e4
|
7
|
+
data.tar.gz: cdfa0fa0e6f55fc8526657abcdb184ce2d23171c205349d70bf0e8d003cf1e138b02674aba62e33d6ea4c3e822eb82e9c988451e2d6c0061756e14fdc7d086b0
|
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# BlacklightDynamicSitemap
|
2
2
|
|
3
|
-
|
3
|
+
Builds dynamic sitemaps that scale for your Blacklight applications.
|
4
4
|
|
5
|
-
|
5
|
+
Based on original work here: https://github.com/sul-dlss/SearchWorks/pull/2351
|
6
|
+
|
7
|
+
Concept developped by:
|
8
|
+
@magibney
|
9
|
+
@mejackreed
|
10
|
+
@agazzarini
|
11
|
+
@netsensei
|
6
12
|
|
7
13
|
## Installation
|
8
14
|
|
@@ -33,12 +39,17 @@ https://lucene.apache.org/solr/guide/8_4/update-request-processors.html
|
|
33
39
|
|
34
40
|
See the `updateRequestProcessorChain` used in this project's `solrconfig.xml` for an example.
|
35
41
|
|
42
|
+
### Configuration
|
43
|
+
This gem offers several configuration options that can be configured in a Rails initializer.
|
44
|
+
|
45
|
+
See [engine.rb](https://github.com/sul-dlss/blacklight_dynamic_sitemap/blob/master/lib/blacklight_dynamic_sitemap/engine.rb) for available configurations.
|
46
|
+
|
36
47
|
## Development
|
37
48
|
|
38
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
49
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake ci` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
39
50
|
|
40
51
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
41
52
|
|
42
53
|
## Contributing
|
43
54
|
|
44
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
55
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/sul-dlss/blacklight_dynamic_sitemap.
|
@@ -12,7 +12,8 @@ module BlacklightDynamicSitemap
|
|
12
12
|
q: "{!prefix f=#{hashed_id_field} v=#{id}}",
|
13
13
|
fl: [unique_id_field, last_modified_field].join(','),
|
14
14
|
rows: 2_000_000, # Ensure that we do not page this result
|
15
|
-
facet: false
|
15
|
+
facet: false,
|
16
|
+
defType: 'lucene'
|
16
17
|
}
|
17
18
|
).dig('response', 'docs')
|
18
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_dynamic_sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Reed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
|
-
rubygems_version: 3.1.
|
162
|
+
rubygems_version: 3.1.2
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Dynamic sitemap.xml for BLacklight
|