maltese 0.8.10 → 0.8.12

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: 14bd93d8b6a3892244c7ee372755357b8b2515cd7347d30b160ebdf27fa91f56
4
- data.tar.gz: cf641edc3202c667e1bb722a290d39644279fa77b1d1b4e9dd65d3670fddc488
3
+ metadata.gz: b119f2f9301ea48b0a735bfe67703f765d686aa413b47a36ba2163979796180f
4
+ data.tar.gz: ae8bfc5a29b29795bd4a26d46064a09b7831cc3df7d62115c0d42724f508ba4c
5
5
  SHA512:
6
- metadata.gz: 144b5e3309ad876fbee5c73a809cb18d190912e7a5ab71ddcd43a6f4a5c12c22517f063136a48ccf59818cc588646961de917d73bd97897d5b6fcb1d5058db2a
7
- data.tar.gz: 3b2a6e87e2cc643861e0aa390e41ccedee75850c86baae3cef11cccb5f1d9f72a5793d638b0df8996a6e79a0debfb0cd97aa62a093663c41a4521fe430944e87
6
+ metadata.gz: cddf4ee47e5955df5783dc89a3cf2ab0797a7d5af650d87f7847b4c214540d4d95a6874a0bb8fb426b0fef366919a373d3fe48469be181a6a29a418aa7f6b7a4
7
+ data.tar.gz: bf2e8edf283c992ae20f8cfff128b182ef68ceb0165f8eb05c8e2f9b43bccff3e3e211f31e0e443f33d4626dac16851db628c6f9f333f792c4a50c8d10811ebd
data/Dockerfile CHANGED
@@ -11,6 +11,6 @@ RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" &&
11
11
  apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
12
12
 
13
13
  # Install maltese gem
14
- RUN /sbin/setuser app gem install maltese -v 0.8.10
14
+ RUN /sbin/setuser app gem install maltese -v 0.8.12
15
15
 
16
16
  CMD maltese sitemap --sitemap_bucket $SITEMAP_BUCKET
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maltese (0.8.10)
4
+ maltese (0.8.12)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  aws-sdk-s3 (~> 1.19)
7
7
  dotenv (~> 2.1, >= 2.1.1)
@@ -82,7 +82,7 @@ module Maltese
82
82
 
83
83
  params = {
84
84
  "fields[dois]" => "doi,updated",
85
- "page[scroll]" => "3m",
85
+ "page[scroll]" => "7m",
86
86
  "page[size]" => options[:size]
87
87
  }
88
88
  search_path + URI.encode_www_form(params)
@@ -1,3 +1,3 @@
1
1
  module Maltese
2
- VERSION = "0.8.10"
2
+ VERSION = "0.8.12"
3
3
  end
data/spec/cli_spec.rb CHANGED
@@ -16,7 +16,7 @@ describe Maltese::CLI do
16
16
  sitemap = Zlib::GzipReader.open("public/sitemaps/sitemap.xml.gz") { |gz| gz.read }
17
17
  doc = Nokogiri::XML(sitemap)
18
18
  expect(doc.xpath("//xmlns:url").size).to eq(1001)
19
- expect(doc.xpath("//xmlns:loc").last.text).to eq("https://search.test.datacite.org/works/10.1002/jcb.29244")
19
+ expect(doc.xpath("//xmlns:loc").last.text).to eq("https://search.test.datacite.org/works/10.17557/tjfc.424379")
20
20
  end
21
21
  end
22
22
  end