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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d40182b152ba0d7cb73a9bbc6f01afc84b860baad5f7e8b66357e5beb97ae75
4
- data.tar.gz: 1cf4281e052c836ce59aee3ef135dfad28c8ed82314ad6f3a4e5111251aa2032
3
+ metadata.gz: 4f3ea98f3a3050556ef033957f0611b8218217947ec85df3a3710e3af57ddd3b
4
+ data.tar.gz: 83f99f2d366baa7ab668749fcd8e6177e8f37087e274cd4e6e45d602d4b1c05a
5
5
  SHA512:
6
- metadata.gz: de245a04d2073183f62631d082875fabffc88dbd766ed0f7441eff3beb9dbca1126f2748cbe4f97c8bacab4fb3e0fa9a4121803c20bb5a9322877bb2835ddc46
7
- data.tar.gz: b4ca278cd5530412c70596c54fe9650f7e3887c292eb65b1489dad37dc750d1e018145dad080e5a2fabfcdd27b121796b63cda84b941ce133cec1aaacfdba316
6
+ metadata.gz: b546084dac10757ef5747cabe791205189e20c5c263a4cb8628ca18c83bc77e557953311191129e404f111197d939488fe8de75a01990ae7888fa7d48088b8e4
7
+ data.tar.gz: cdfa0fa0e6f55fc8526657abcdb184ce2d23171c205349d70bf0e8d003cf1e138b02674aba62e33d6ea4c3e822eb82e9c988451e2d6c0061756e14fdc7d086b0
data/README.md CHANGED
@@ -1,8 +1,14 @@
1
1
  # BlacklightDynamicSitemap
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/blacklight_dynamic_sitemap`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Builds dynamic sitemaps that scale for your Blacklight applications.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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 spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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/[USERNAME]/blacklight_dynamic_sitemap.
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
@@ -1,3 +1,3 @@
1
1
  module BlacklightDynamicSitemap
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: blacklight_dynamic_sitemap
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
  - Jack Reed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-13 00:00:00.000000000 Z
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.1
162
+ rubygems_version: 3.1.2
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Dynamic sitemap.xml for BLacklight