maltese 0.1.9 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. checksums.yaml +5 -5
  2. data/Dockerfile +6 -6
  3. data/Gemfile.lock +70 -66
  4. data/lib/maltese/.dockerignore +7 -0
  5. data/lib/maltese/sitemap.rb +20 -4
  6. data/lib/maltese/version.rb +1 -1
  7. data/maltese.gemspec +7 -6
  8. data/spec/cli_spec.rb +7 -12
  9. data/spec/fixtures/vcr_cassettes/Maltese_CLI/sitemap/should_succeed.yml +55 -168
  10. data/spec/fixtures/vcr_cassettes/Maltese_CLI/sitemap/should_succeed_with_no_works.yml +16 -10
  11. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +15 -9
  12. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +16 -10
  13. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_total/with_no_works.yml +16 -10
  14. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_total/with_works.yml +16 -10
  15. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +24 -24
  16. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +25 -139
  17. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_no_works_returned_by_the_Datacite_Solr_API.yml +15 -9
  18. data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_Solr_API.yml +171 -45
  19. data/spec/sitemap_spec.rb +13 -13
  20. data/spec/spec_helper.rb +1 -0
  21. metadata +40 -19
data/spec/spec_helper.rb CHANGED
@@ -92,4 +92,5 @@ VCR.configure do |c|
92
92
  c.filter_sensitive_data("<AWS_SECRET_ACCESS_KEY>") { ENV["AWS_SECRET_ACCESS_KEY"] }
93
93
  c.filter_sensitive_data("<FOG_DIRECTORY>") { ENV['FOG_DIRECTORY'] }
94
94
  c.filter_sensitive_data("<FOG_REGION>") { ENV["FOG_REGION"] }
95
+ c.filter_sensitive_data('<ENCODED AUTH HEADER>') { Base64.strict_encode64("#{ENV.fetch('SOLR_USERNAME')}:#{ENV.fetch('SOLR_PASSWORD')}") }
95
96
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maltese
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-27 00:00:00.000000000 Z
11
+ date: 2018-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -16,34 +16,54 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.5'
19
+ version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.5'
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.2'
33
+ version: 4.2.5
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '6'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
34
41
  - - ">="
35
42
  - !ruby/object:Gem::Version
36
43
  version: 4.2.5
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '6'
47
+ - !ruby/object:Gem::Dependency
48
+ name: dotenv
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.1'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.1.1
37
57
  type: :runtime
38
58
  prerelease: false
39
59
  version_requirements: !ruby/object:Gem::Requirement
40
60
  requirements:
41
61
  - - "~>"
42
62
  - !ruby/object:Gem::Version
43
- version: '4.2'
63
+ version: '2.1'
44
64
  - - ">="
45
65
  - !ruby/object:Gem::Version
46
- version: 4.2.5
66
+ version: 2.1.1
47
67
  - !ruby/object:Gem::Dependency
48
68
  name: thor
49
69
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +84,14 @@ dependencies:
64
84
  requirements:
65
85
  - - "~>"
66
86
  - !ruby/object:Gem::Version
67
- version: '5.1'
87
+ version: '6.0'
68
88
  type: :runtime
69
89
  prerelease: false
70
90
  version_requirements: !ruby/object:Gem::Requirement
71
91
  requirements:
72
92
  - - "~>"
73
93
  - !ruby/object:Gem::Version
74
- version: '5.1'
94
+ version: '6.0'
75
95
  - !ruby/object:Gem::Dependency
76
96
  name: fog-aws
77
97
  requirement: !ruby/object:Gem::Requirement
@@ -182,20 +202,20 @@ dependencies:
182
202
  requirements:
183
203
  - - "~>"
184
204
  - !ruby/object:Gem::Version
185
- version: '1.22'
205
+ version: '3.0'
186
206
  - - ">="
187
207
  - !ruby/object:Gem::Version
188
- version: 1.22.3
208
+ version: 3.0.1
189
209
  type: :development
190
210
  prerelease: false
191
211
  version_requirements: !ruby/object:Gem::Requirement
192
212
  requirements:
193
213
  - - "~>"
194
214
  - !ruby/object:Gem::Version
195
- version: '1.22'
215
+ version: '3.0'
196
216
  - - ">="
197
217
  - !ruby/object:Gem::Version
198
- version: 1.22.3
218
+ version: 3.0.1
199
219
  - !ruby/object:Gem::Dependency
200
220
  name: codeclimate-test-reporter
201
221
  requirement: !ruby/object:Gem::Requirement
@@ -205,7 +225,7 @@ dependencies:
205
225
  version: '1.0'
206
226
  - - ">="
207
227
  - !ruby/object:Gem::Version
208
- version: 1.0.0
228
+ version: 1.0.8
209
229
  type: :development
210
230
  prerelease: false
211
231
  version_requirements: !ruby/object:Gem::Requirement
@@ -215,21 +235,21 @@ dependencies:
215
235
  version: '1.0'
216
236
  - - ">="
217
237
  - !ruby/object:Gem::Version
218
- version: 1.0.0
238
+ version: 1.0.8
219
239
  - !ruby/object:Gem::Dependency
220
240
  name: simplecov
221
241
  requirement: !ruby/object:Gem::Requirement
222
242
  requirements:
223
243
  - - "~>"
224
244
  - !ruby/object:Gem::Version
225
- version: 0.12.0
245
+ version: '0.1'
226
246
  type: :development
227
247
  prerelease: false
228
248
  version_requirements: !ruby/object:Gem::Requirement
229
249
  requirements:
230
250
  - - "~>"
231
251
  - !ruby/object:Gem::Version
232
- version: 0.12.0
252
+ version: '0.1'
233
253
  description: Ruby library to generate sitemap for DataCite Search.
234
254
  email: mfenner@datacite.org
235
255
  executables:
@@ -250,6 +270,7 @@ files:
250
270
  - README.md
251
271
  - bin/maltese
252
272
  - lib/maltese.rb
273
+ - lib/maltese/.dockerignore
253
274
  - lib/maltese/cli.rb
254
275
  - lib/maltese/sitemap.rb
255
276
  - lib/maltese/version.rb
@@ -289,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
289
310
  version: '0'
290
311
  requirements: []
291
312
  rubyforge_project:
292
- rubygems_version: 2.4.5
313
+ rubygems_version: 2.7.7
293
314
  signing_key:
294
315
  specification_version: 4
295
316
  summary: Ruby library to generate sitemap for DataCite Search