maltese 0.8.4 → 0.8.6

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: 65fce88e9d779aa6a42e85ec32f1f08e28f2eb46c2e6f871051b5636b8c0e4f5
4
- data.tar.gz: 0b5eeafd13dd181ffb13151aa6b8e90b0813ed9a24ea245faf1a2c2c9c3054c0
3
+ metadata.gz: 5c907d368447c575714d869d9cebe58a5912068d1c05ebd4c768716870db0584
4
+ data.tar.gz: 63e9474d047977d23466d557c5cf8e7a0efba91f624fd997a0f4365729df0def
5
5
  SHA512:
6
- metadata.gz: 1656151f5a6942d2670285a047c78fe4ec66a70258fa6e334c6d880ecc171a87208afea09990137cf69a44ae36087a62896a24d79aae40c9bf6ace522d19760c
7
- data.tar.gz: 9299260f5f8abb1687b2315f68927d69827a89a247a39520d5cbd62e840825ff7dd9bd773097103b3c4a1b44a44788ee9e1ba819ae8662626a8abbcfcf808cf1
6
+ metadata.gz: 17ab6e4f9e1ffaf53c572d6326124085b4dec225a227cf239e75af1b8124ab734807aa2bb4cf51695d3020bb574a894a584dc86992900acb9b22b79e4ae83b0e
7
+ data.tar.gz: 5ef2d8a9d8ed16a0afad7badf48bf456441b8d980d2c99855f5f9f745dfeb46aafa04cbeaa44f3feb8a629e9047017481ede6bbfd8184c01817caf20258695f5
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.4
14
+ RUN /sbin/setuser app gem install maltese -v 0.8.6
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.4)
4
+ maltese (0.8.6)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  aws-sdk-s3 (~> 1.19)
7
7
  dotenv (~> 2.1, >= 2.1.1)
@@ -21,17 +21,17 @@ GEM
21
21
  addressable (2.6.0)
22
22
  public_suffix (>= 2.0.2, < 4.0)
23
23
  aws-eventstream (1.0.3)
24
- aws-partitions (1.170.0)
25
- aws-sdk-core (3.54.1)
24
+ aws-partitions (1.188.0)
25
+ aws-sdk-core (3.59.0)
26
26
  aws-eventstream (~> 1.0, >= 1.0.2)
27
27
  aws-partitions (~> 1.0)
28
28
  aws-sigv4 (~> 1.1)
29
29
  jmespath (~> 1.0)
30
- aws-sdk-kms (1.21.0)
31
- aws-sdk-core (~> 3, >= 3.53.0)
30
+ aws-sdk-kms (1.23.0)
31
+ aws-sdk-core (~> 3, >= 3.58.0)
32
32
  aws-sigv4 (~> 1.1)
33
- aws-sdk-s3 (1.41.0)
34
- aws-sdk-core (~> 3, >= 3.53.0)
33
+ aws-sdk-s3 (1.45.0)
34
+ aws-sdk-core (~> 3, >= 3.58.0)
35
35
  aws-sdk-kms (~> 1)
36
36
  aws-sigv4 (~> 1.1)
37
37
  aws-sigv4 (1.1.0)
@@ -44,9 +44,9 @@ GEM
44
44
  safe_yaml (~> 1.0.0)
45
45
  diff-lcs (1.3)
46
46
  docile (1.1.5)
47
- dotenv (2.7.2)
48
- excon (0.64.0)
49
- faraday (0.15.4)
47
+ dotenv (2.7.4)
48
+ excon (0.62.0)
49
+ faraday (0.14.0)
50
50
  multipart-post (>= 1.2, < 3)
51
51
  faraday-encoding (0.0.5)
52
52
  faraday
@@ -57,12 +57,12 @@ GEM
57
57
  concurrent-ruby (~> 1.0)
58
58
  jmespath (1.4.0)
59
59
  json (2.2.0)
60
- maremma (4.2.1)
60
+ maremma (4.2.6)
61
61
  activesupport (>= 4.2.5, < 6)
62
62
  addressable (>= 2.3.6)
63
63
  builder (~> 3.2, >= 3.2.2)
64
- excon (~> 0.60)
65
- faraday (~> 0.14)
64
+ excon (~> 0.60, < 0.63)
65
+ faraday (~> 0.14, < 0.15)
66
66
  faraday-encoding (~> 0.0.4)
67
67
  faraday_middleware (~> 0.12.0)
68
68
  multi_json (~> 1.12)
@@ -78,7 +78,7 @@ GEM
78
78
  nokogiri (1.8.5)
79
79
  mini_portile2 (~> 2.3.0)
80
80
  oj (3.7.12)
81
- public_suffix (3.1.0)
81
+ public_suffix (3.1.1)
82
82
  rack (2.0.7)
83
83
  rack-test (0.8.3)
84
84
  rack (>= 1.0, < 3)
@@ -87,15 +87,15 @@ GEM
87
87
  rspec-core (~> 3.8.0)
88
88
  rspec-expectations (~> 3.8.0)
89
89
  rspec-mocks (~> 3.8.0)
90
- rspec-core (3.8.0)
90
+ rspec-core (3.8.2)
91
91
  rspec-support (~> 3.8.0)
92
- rspec-expectations (3.8.3)
92
+ rspec-expectations (3.8.4)
93
93
  diff-lcs (>= 1.2.0, < 2.0)
94
94
  rspec-support (~> 3.8.0)
95
- rspec-mocks (3.8.0)
95
+ rspec-mocks (3.8.1)
96
96
  diff-lcs (>= 1.2.0, < 2.0)
97
97
  rspec-support (~> 3.8.0)
98
- rspec-support (3.8.0)
98
+ rspec-support (3.8.2)
99
99
  safe_yaml (1.0.5)
100
100
  simplecov (0.13.0)
101
101
  docile (~> 1.1.0)
@@ -109,10 +109,10 @@ GEM
109
109
  tzinfo (1.2.5)
110
110
  thread_safe (~> 0.1)
111
111
  vcr (3.0.3)
112
- webmock (3.5.1)
112
+ webmock (3.6.0)
113
113
  addressable (>= 2.3.6)
114
114
  crack (>= 0.3.2)
115
- hashdiff
115
+ hashdiff (>= 0.4.0, < 2.0.0)
116
116
 
117
117
  PLATFORMS
118
118
  ruby
@@ -38,7 +38,7 @@ module Maltese
38
38
  end
39
39
 
40
40
  def job_batch_size
41
- 10000
41
+ 1000
42
42
  end
43
43
 
44
44
  def sitemap
@@ -1,3 +1,3 @@
1
1
  module Maltese
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.6"
3
3
  end
data/spec/cli_spec.rb CHANGED
@@ -12,11 +12,11 @@ describe Maltese::CLI do
12
12
  describe "sitemap", vcr: true, :order => :defined do
13
13
  it 'should succeed' do
14
14
  subject.options = cli_options
15
- expect { subject.sitemap }.to output(/10001 links/).to_stdout
15
+ expect { subject.sitemap }.to output(/1001 links/).to_stdout
16
16
  sitemap = Zlib::GzipReader.open("public/sitemaps/sitemap.xml.gz") { |gz| gz.read }
17
17
  doc = Nokogiri::XML(sitemap)
18
- expect(doc.xpath("//xmlns:url").size).to eq(10001)
19
- expect(doc.xpath("//xmlns:loc").last.text).to eq("https://search.test.datacite.org/works/10.0133/1519753351949")
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.17863/cam.1255")
20
20
  end
21
21
  end
22
22
  end