commonmeta-ruby 3.2.12 → 3.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,10 +208,14 @@ describe Commonmeta::Metadata, vcr: true do
208
208
  expect(response).to eq("ca2a7df4-f3b9-487c-82e9-27f54de75ea8")
209
209
  end
210
210
 
211
+ it 'not indexed posts' do
212
+ response = subject.get_json_feed_not_indexed('2023-01-01')
213
+ expect(response).to eq("ab58e412-06eb-42b7-b81a-d340825b9d48")
214
+ end
215
+
211
216
  it 'by blog_id' do
212
- response = subject.get_json_feed_by_blog('tyfqw20').split('\n')
213
- expect(response.length).to eq(25)
214
- expect(response.first).to eq("3e1278f6-e7c0-43e1-bb54-6829e1344c0d")
217
+ response = subject.get_json_feed_by_blog('tyfqw20')
218
+ expect(response).to eq("3e1278f6-e7c0-43e1-bb54-6829e1344c0d")
215
219
  end
216
220
  end
217
221
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmeta-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.12
4
+ version: 3.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -1080,6 +1080,8 @@ files:
1080
1080
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post.yml
1081
1081
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post_uuid.yml
1082
1082
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_by_blog.yml
1083
+ - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_not_indexed.yml
1084
+ - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_unregistered.yml
1083
1085
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed_unregistered/blog_post_uuid.yml
1084
1086
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml
1085
1087
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/crossref.yml
@@ -1174,6 +1176,7 @@ files:
1174
1176
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language.yml
1175
1177
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language_blog.yml
1176
1178
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/front-matter_blog.yml
1179
+ - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/not_indexed_posts.yml
1177
1180
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/unregistered_posts.yml
1178
1181
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream.yml
1179
1182
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream_blog.yml