maltese 0.2.4 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +137 -1035
  3. data/.travis.yml +1 -1
  4. data/Gemfile.lock +39 -38
  5. data/README.md +1 -1
  6. data/lib/maltese/sitemap.rb +17 -33
  7. data/lib/maltese/version.rb +1 -1
  8. data/spec/cli_spec.rb +4 -17
  9. data/spec/fixtures/sitemap.json +69666 -7571
  10. data/spec/fixtures/sitemap_nil.json +8 -8
  11. data/spec/fixtures/vcr_cassettes/Maltese_CLI/sitemap/should_succeed.yml +37 -73
  12. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +49 -0
  13. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_total/with_works.yml +24 -19
  14. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_no_works_returned_by_the_Datacite_REST_API.yml +59 -0
  15. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +59 -0
  16. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +105 -0
  17. data/spec/sitemap_spec.rb +28 -52
  18. data/spec/spec_helper.rb +0 -1
  19. metadata +6 -10
  20. data/spec/fixtures/vcr_cassettes/Maltese_CLI/sitemap/should_succeed_with_no_works.yml +0 -44
  21. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +0 -44
  22. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +0 -44
  23. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_total/with_no_works.yml +0 -44
  24. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +0 -59
  25. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +0 -59
  26. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +0 -44
  27. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +0 -141
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcfe2a15bddda80ac36262316760ca06315a0576888b969daea88a257b9ce86a
4
- data.tar.gz: 780dbe2584ce57bff2aa913d1f81b8a668f1986ad49ed22c5f591da20090e4ab
3
+ metadata.gz: ac3cd90658303b2d861cf8c1ed7ef95eef202444f857c047f83064ecf7f4a905
4
+ data.tar.gz: 9fd2c0fd351f260c5e160cf99ee32ddbf56a019c90ae309d230bcb399729284b
5
5
  SHA512:
6
- metadata.gz: 71242f7fd1d0429b5086caec9eee07e94e969f645f59ffd348ff094ef39b4cd8bca04cbffc153a4badc271767773fd608baaf78a890280f1970fe3a454b5fac2
7
- data.tar.gz: e03b1f5a35c2b6cc1e647a3de2e27b6a62a88a7c0419a98ec73711d2f7f8d0ae01ed9a8379f867c54ce418e1e655ffdd60379411f4707e5cc4f0e7cd4f74f48e
6
+ metadata.gz: 5ba9dad423fdcd57cbd150d51dace045ca7c143e065dd9bc9072efd51b3e213ace2211ab128b68c3b280adbbecbc92d81d37909307fdc0507a8830e467b68b0d
7
+ data.tar.gz: 6f75e50b48ce0fb0200549fce104dbf3288cfaca83a97df31fa18c4daa040699d787c90954a989b416def0e88549e6b7befc264b8ed1455eae29394d443073fc