toccatore 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +52 -52
- data/lib/toccatore/base.rb +2 -2
- data/lib/toccatore/datacite_related.rb +10 -1
- data/lib/toccatore/version.rb +1 -1
- data/spec/base_spec.rb +4 -4
- data/spec/cli_spec.rb +31 -31
- data/spec/datacite_related_spec.rb +10 -10
- data/spec/fixtures/event_data_resp_1 +2 -2
- data/spec/fixtures/event_data_resp_2 +4 -4
- data/spec/fixtures/events_empty.json +3 -3
- data/spec/fixtures/usage_event.json +1 -1
- data/spec/fixtures/usage_event_fail.json +2 -2
- data/spec/fixtures/usage_events.json +15 -15
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/crossref.yml +21 -45
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/datacite.yml +23 -47
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related_no_works.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update_no_works.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_fail.yml +345 -852
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_DOI.yml +327 -409
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +140 -117
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed.yml +1267 -2068
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml +31 -25
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +47 -39
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +673 -855
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +1885 -2419
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +1555 -1991
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +31 -27
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/no_reports_in_the_queue/should_succeed_with_no_works.yml +29 -29
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_related_identifier_of_the_Datacite_Metadata_Search_API.yml +17 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +16 -14
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_no_works.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_works.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/parse_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +437 -869
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +1240 -1662
- data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/push_data/should_work_with_DataCite_Event_Data.yml +4026 -6556
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_ORCID_ID_of_the_Datacite_Metadata_Search_API.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_no_works.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_works.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_delete_claims.yml +25 -32
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +1347 -1791
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +14 -10
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +29 -25
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_are_messages/should_return_the_data_for_one_message.yml +50 -29
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_is_ONE_message/should_return_the_data_for_one_message.yml +50 -29
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_no_meessage_when_the_queue_is_empty.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_one_message_when_there_are_multiple_messages.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_total/when_is_working_with_AWS.yml +32 -32
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_empty.yml +139 -22
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_wrong.yml +534 -1025
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_a_single_item.yml +134 -254
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml +8 -8
- data/spec/orcid_update_spec.rb +1 -1
- data/spec/{queque_spec.rb → queue_spec.rb} +0 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/usage_update_spec.rb +32 -32
- data/toccatore.gemspec +6 -6
- metadata +31 -31
data/spec/orcid_update_spec.rb
CHANGED
@@ -66,7 +66,7 @@ describe Toccatore::OrcidUpdate, vcr: true do
|
|
66
66
|
response = subject.get_data({ orcid: "0000-0002-3546-1048", from_date: "2013-01-01", until_date: "2016-12-31", rows: 1000, offset: 0 })
|
67
67
|
expect(response.body["data"]["response"]["numFound"]).to eq(68)
|
68
68
|
doc = response.body["data"]["response"]["docs"].first
|
69
|
-
expect(doc["doi"]).to eq("10.6084/M9.FIGSHARE.
|
69
|
+
expect(doc["doi"]).to eq("10.6084/M9.FIGSHARE.1371006")
|
70
70
|
end
|
71
71
|
|
72
72
|
it "should allow queries by DOI of the Datacite Metadata Search API" do
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -111,6 +111,6 @@ VCR.configure do |c|
|
|
111
111
|
c.configure_rspec_metadata!
|
112
112
|
c.filter_sensitive_data("<VOLPINO_TOKEN>") { ENV['VOLPINO_TOKEN'] }
|
113
113
|
c.filter_sensitive_data("<EVENTDATA_TOKEN>") { ENV['EVENTDATA_TOKEN'] }
|
114
|
-
c.filter_sensitive_data("<
|
114
|
+
c.filter_sensitive_data("<LAGOTTINO_TOKEN>") { ENV['LAGOTTINO_TOKEN'] }
|
115
115
|
c.filter_sensitive_data("<SLACK_WEBHOOK_URL>") { ENV['SLACK_WEBHOOK_URL'] }
|
116
116
|
end
|
data/spec/usage_update_spec.rb
CHANGED
@@ -12,26 +12,26 @@ describe Toccatore::UsageUpdate, vcr: true do
|
|
12
12
|
|
13
13
|
|
14
14
|
describe "get_data" do
|
15
|
-
context "when there are messages" do
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
end
|
15
|
+
# context "when there are messages" do
|
16
|
+
# it "should return the data for one message" do
|
17
|
+
# sqs.stub_responses(:receive_message, messages: message)
|
18
|
+
# sqs.stub_responses(:receive_message, messages: message)
|
19
|
+
# sqs.stub_responses(:receive_message, messages: message)
|
20
|
+
# sqs.stub_responses(:receive_message, messages: message)
|
21
|
+
# response = sqs.receive_message({queue_url: queue_url})
|
22
|
+
# response = subject.get_data(response)
|
23
|
+
# expect(response.body["data"]["report"]["report-header"]["report-name"]).to eq("Dataset Master Report")
|
24
|
+
# end
|
25
|
+
# end
|
26
26
|
|
27
|
-
context "when there is ONE message" do
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
27
|
+
# context "when there is ONE message" do
|
28
|
+
# it "should return the data for one message" do
|
29
|
+
# sqs.stub_responses(:receive_message, messages: message)
|
30
|
+
# response = sqs.receive_message({queue_url: queue_url})
|
31
|
+
# response = subject.get_data(response)
|
32
|
+
# expect(response.body["data"]["report"]["report-header"]["report-name"]).to eq("Dataset Master Report")
|
33
|
+
# end
|
34
|
+
# end
|
35
35
|
|
36
36
|
# context "when there are NOT messages" do
|
37
37
|
# it "should return empty" do
|
@@ -73,35 +73,35 @@ describe Toccatore::UsageUpdate, vcr: true do
|
|
73
73
|
context "when the report was found" do
|
74
74
|
it "should parsed it correctly" do
|
75
75
|
body = File.read(fixture_path + 'usage_update.json')
|
76
|
-
result = OpenStruct.new(body: JSON.parse(body), url:"https://
|
76
|
+
result = OpenStruct.new(body: JSON.parse(body), url:"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad" )
|
77
77
|
response = subject.parse_data(result, source_token: ENV['SOURCE_TOKEN'])
|
78
78
|
expect(response.length).to eq(2)
|
79
|
-
expect(response.last.except("uuid")).to eq("subj"=>{"pid"=>"https://
|
79
|
+
expect(response.last.except("uuid")).to eq("subj"=>{"pid"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "issued"=>"2128-04-09"},"total"=>3,"message-action" => "add", "subj-id"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "obj-id"=>"https://doi.org/10.7291/d1q94r", "relation-type-id"=>"unique-dataset-investigations-regular", "source-id"=>"datacite-usage", "occurred-at"=>"2128-04-09", "license" => "https://creativecommons.org/publicdomain/zero/1.0/", "source-token" => ENV['SOURCE_TOKEN'])
|
80
80
|
end
|
81
81
|
|
82
82
|
it "should parsed it correctly when it has five metrics and two DOIs" do
|
83
83
|
body = File.read(fixture_path + 'usage_update_3.json')
|
84
|
-
result = OpenStruct.new(body: JSON.parse(body), url:"https://
|
84
|
+
result = OpenStruct.new(body: JSON.parse(body), url:"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad" )
|
85
85
|
response = subject.parse_data(result, source_token: ENV['SOURCE_TOKEN'])
|
86
86
|
expect(response.length).to eq(5)
|
87
|
-
expect(response.last.except("uuid")).to eq("message-action"=>"add", "subj-id"=>"https://
|
87
|
+
expect(response.last.except("uuid")).to eq("message-action"=>"add", "subj-id"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "subj"=>{"pid"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "issued"=>"2128-04-09"}, "total"=>208, "obj-id"=>"https://doi.org/10.6071/z7wc73", "relation-type-id"=>"Unique-Dataset-Requests-Machine", "source-id"=>"datacite-usage", "source-token"=>ENV['SOURCE_TOKEN'], "occurred-at"=>"2128-04-09", "license"=>"https://creativecommons.org/publicdomain/zero/1.0/")
|
88
88
|
end
|
89
89
|
|
90
90
|
it "should parsed it correctly when it has two metrics per DOI " do
|
91
91
|
body = File.read(fixture_path + 'usage_update_2.json')
|
92
|
-
result = OpenStruct.new(body: JSON.parse(body), url:"https://
|
92
|
+
result = OpenStruct.new(body: JSON.parse(body), url:"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad")
|
93
93
|
response = subject.parse_data(result, source_token: ENV['SOURCE_TOKEN'])
|
94
94
|
expect(response.length).to eq(4)
|
95
|
-
expect(response.last.except("uuid")).to eq("message-action"=>"add", "subj-id"=>"https://
|
95
|
+
expect(response.last.except("uuid")).to eq("message-action"=>"add", "subj-id"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "subj"=>{"pid"=>"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad", "issued"=>"2128-04-09"}, "total"=>208, "obj-id"=>"https://doi.org/10.6071/z7wc73", "relation-type-id"=>"Unique-Dataset-Requests-Machine", "source-id"=>"datacite-usage", "source-token"=>ENV['SOURCE_TOKEN'], "occurred-at"=>"2128-04-09", "license"=>"https://creativecommons.org/publicdomain/zero/1.0/")
|
96
96
|
end
|
97
97
|
|
98
98
|
it "should send a warning if there are more than 4 metrics" do
|
99
99
|
body = File.read(fixture_path + 'usage_update_1.json')
|
100
|
-
result = OpenStruct.new(body: JSON.parse(body), url:"https://
|
100
|
+
result = OpenStruct.new(body: JSON.parse(body), url:"https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad" )
|
101
101
|
response = subject.parse_data(result, source_token: ENV['SOURCE_TOKEN'])
|
102
102
|
expect(response.length).to eq(1)
|
103
103
|
expect(subject.parse_data(result)).to be_a(Array)
|
104
|
-
expect(response.last.body).to eq({"errors"=>"There are too many instances in 10.7291/D1Q94R for report https://
|
104
|
+
expect(response.last.body).to eq({"errors"=>"There are too many instances in 10.7291/D1Q94R for report https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad. There can only be 4"})
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
@@ -117,28 +117,28 @@ describe Toccatore::UsageUpdate, vcr: true do
|
|
117
117
|
body = File.read(fixture_path + 'usage_events.json')
|
118
118
|
expect = File.read(fixture_path + 'event_data_resp_2')
|
119
119
|
result = JSON.parse(body)
|
120
|
-
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['
|
120
|
+
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['LAGOTTINO_TOKEN'], jsonapi: true }
|
121
121
|
expect(subject.push_data(result, options)).to eq(4)
|
122
122
|
end
|
123
123
|
|
124
124
|
it "should fail if format of the event is empty" do
|
125
125
|
body = File.read(fixture_path + 'events_empty.json')
|
126
126
|
result = JSON.parse(body)
|
127
|
-
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['
|
128
|
-
expect(subject.push_data(result, options)).to eq(
|
127
|
+
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['LAGOTTINO_TOKEN'], jsonapi: true }
|
128
|
+
expect(subject.push_data(result, options)).to eq(2)
|
129
129
|
end
|
130
130
|
|
131
131
|
# it "should work with DataCite Event Data 2" do
|
132
132
|
# dd = events.map {|event| event.to_h.stringify_keys}
|
133
133
|
# all_events = dd.map {|item| item.map{ |k, v| [k.dasherize, v] }.to_h}
|
134
|
-
# options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['
|
134
|
+
# options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['LAGOTTINO_TOKEN'], jsonapi: true }
|
135
135
|
# expect(subject.push_data(all_events, options)).to eq(0)
|
136
136
|
# end
|
137
137
|
|
138
138
|
it "should work with a single item" do
|
139
139
|
body = File.read(fixture_path + 'usage_events.json')
|
140
140
|
result = JSON.parse(body)
|
141
|
-
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['
|
141
|
+
options = { push_url: ENV['LAGOTTINO_URL'], access_token: ENV['LAGOTTINO_TOKEN'], jsonapi: true }
|
142
142
|
expect(subject.push_item(result.first, options)).to eq(1)
|
143
143
|
end
|
144
144
|
end
|
data/toccatore.gemspec
CHANGED
@@ -16,13 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
# Declary dependencies here, rather than in the Gemfile
|
18
18
|
|
19
|
-
s.add_dependency 'maremma', '
|
20
|
-
s.add_dependency 'activesupport', '
|
19
|
+
s.add_dependency 'maremma', '>= 3.5.7', '< 5'
|
20
|
+
s.add_dependency 'activesupport', '>= 4.2.5', '< 6'
|
21
21
|
s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.1'
|
22
22
|
s.add_dependency 'namae', '~> 0.11.0'
|
23
23
|
s.add_dependency 'gender_detector', '~> 1.0'
|
24
24
|
s.add_dependency 'thor', '~> 0.19'
|
25
|
-
s.add_dependency 'slack-notifier', '
|
25
|
+
s.add_dependency 'slack-notifier', '~> 2.1'
|
26
26
|
s.add_dependency 'aws-sdk-sqs'
|
27
27
|
s.add_dependency 'factory_bot'
|
28
28
|
|
@@ -31,9 +31,9 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_development_dependency 'rake', '~> 12.0'
|
32
32
|
s.add_development_dependency 'rack-test', '~> 0'
|
33
33
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.3'
|
34
|
-
s.add_development_dependency 'webmock', '~>
|
35
|
-
s.add_development_dependency 'codeclimate-test-reporter',
|
36
|
-
s.add_development_dependency 'simplecov'
|
34
|
+
s.add_development_dependency 'webmock', '~> 3.0', '>= 3.0.1'
|
35
|
+
s.add_development_dependency 'codeclimate-test-reporter', "~> 1.0"
|
36
|
+
s.add_development_dependency 'simplecov'
|
37
37
|
s.add_development_dependency 'factory_bot'
|
38
38
|
s.add_development_dependency 'faker'
|
39
39
|
|
metadata
CHANGED
@@ -1,49 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toccatore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.5.7
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.5.7
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '5'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: activesupport
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '4.2'
|
34
37
|
- - ">="
|
35
38
|
- !ruby/object:Gem::Version
|
36
39
|
version: 4.2.5
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '6'
|
37
43
|
type: :runtime
|
38
44
|
prerelease: false
|
39
45
|
version_requirements: !ruby/object:Gem::Requirement
|
40
46
|
requirements:
|
41
|
-
- - "~>"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '4.2'
|
44
47
|
- - ">="
|
45
48
|
- !ruby/object:Gem::Version
|
46
49
|
version: 4.2.5
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '6'
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: dotenv
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,16 +116,16 @@ dependencies:
|
|
110
116
|
name: slack-notifier
|
111
117
|
requirement: !ruby/object:Gem::Requirement
|
112
118
|
requirements:
|
113
|
-
- -
|
119
|
+
- - "~>"
|
114
120
|
- !ruby/object:Gem::Version
|
115
|
-
version: 2.
|
121
|
+
version: '2.1'
|
116
122
|
type: :runtime
|
117
123
|
prerelease: false
|
118
124
|
version_requirements: !ruby/object:Gem::Requirement
|
119
125
|
requirements:
|
120
|
-
- -
|
126
|
+
- - "~>"
|
121
127
|
- !ruby/object:Gem::Version
|
122
|
-
version: 2.
|
128
|
+
version: '2.1'
|
123
129
|
- !ruby/object:Gem::Dependency
|
124
130
|
name: aws-sdk-sqs
|
125
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,20 +236,20 @@ dependencies:
|
|
230
236
|
requirements:
|
231
237
|
- - "~>"
|
232
238
|
- !ruby/object:Gem::Version
|
233
|
-
version: '
|
239
|
+
version: '3.0'
|
234
240
|
- - ">="
|
235
241
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
242
|
+
version: 3.0.1
|
237
243
|
type: :development
|
238
244
|
prerelease: false
|
239
245
|
version_requirements: !ruby/object:Gem::Requirement
|
240
246
|
requirements:
|
241
247
|
- - "~>"
|
242
248
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
249
|
+
version: '3.0'
|
244
250
|
- - ">="
|
245
251
|
- !ruby/object:Gem::Version
|
246
|
-
version:
|
252
|
+
version: 3.0.1
|
247
253
|
- !ruby/object:Gem::Dependency
|
248
254
|
name: codeclimate-test-reporter
|
249
255
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,9 +257,6 @@ dependencies:
|
|
251
257
|
- - "~>"
|
252
258
|
- !ruby/object:Gem::Version
|
253
259
|
version: '1.0'
|
254
|
-
- - ">="
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: 1.0.0
|
257
260
|
type: :development
|
258
261
|
prerelease: false
|
259
262
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -261,23 +264,20 @@ dependencies:
|
|
261
264
|
- - "~>"
|
262
265
|
- !ruby/object:Gem::Version
|
263
266
|
version: '1.0'
|
264
|
-
- - ">="
|
265
|
-
- !ruby/object:Gem::Version
|
266
|
-
version: 1.0.0
|
267
267
|
- !ruby/object:Gem::Dependency
|
268
268
|
name: simplecov
|
269
269
|
requirement: !ruby/object:Gem::Requirement
|
270
270
|
requirements:
|
271
|
-
- - "
|
271
|
+
- - ">="
|
272
272
|
- !ruby/object:Gem::Version
|
273
|
-
version: 0
|
273
|
+
version: '0'
|
274
274
|
type: :development
|
275
275
|
prerelease: false
|
276
276
|
version_requirements: !ruby/object:Gem::Requirement
|
277
277
|
requirements:
|
278
|
-
- - "
|
278
|
+
- - ">="
|
279
279
|
- !ruby/object:Gem::Version
|
280
|
-
version: 0
|
280
|
+
version: '0'
|
281
281
|
- !ruby/object:Gem::Dependency
|
282
282
|
name: factory_bot
|
283
283
|
requirement: !ruby/object:Gem::Requirement
|
@@ -402,7 +402,7 @@ files:
|
|
402
402
|
- spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_a_single_item.yml
|
403
403
|
- spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml
|
404
404
|
- spec/orcid_update_spec.rb
|
405
|
-
- spec/
|
405
|
+
- spec/queue_spec.rb
|
406
406
|
- spec/spec_helper.rb
|
407
407
|
- spec/usage_update_spec.rb
|
408
408
|
- toccatore.gemspec
|