commonmeta-ruby 3.2.11 → 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.11
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
@@ -1079,6 +1079,9 @@ files:
1079
1079
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/op.yml
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
+ - 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
1082
1085
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed_unregistered/blog_post_uuid.yml
1083
1086
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml
1084
1087
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/crossref.yml
@@ -1169,9 +1172,11 @@ files:
1169
1172
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_datetime_from_time/present.yml
1170
1173
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/all_posts.yml
1171
1174
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/behind_the_science.yml
1175
+ - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/by_blog_id.yml
1172
1176
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language.yml
1173
1177
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/citation_style_language_blog.yml
1174
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
1175
1180
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/unregistered_posts.yml
1176
1181
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream.yml
1177
1182
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/upstream_blog.yml