commonmeta-ruby 3.2.4 → 3.2.6

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.
@@ -109,27 +109,9 @@ describe Commonmeta::Metadata, vcr: true do
109
109
  end
110
110
 
111
111
  context 'get json_feed' do
112
- it 'front-matter blog' do
113
- id = 'f0m0e38'
114
- response = subject.get_json_feed(id)
115
- expect(response).to be_nil
116
- end
117
-
118
- it 'upstream' do
119
- id = 'pm0p222'
120
- response = subject.get_json_feed(id)
121
- expect(response).to be_nil
122
- end
123
-
124
- it 'behind the science' do
125
- id = '468ap65'
126
- response = subject.get_json_feed(id)
127
- expect(response).to eq("84651758-f820-4e18-ae5f-4483ff4f4e92")
128
- end
129
-
130
112
  it 'all posts' do
131
113
  response = subject.get_json_feed
132
- expect(response).to eq("c801dbdf-6bde-4de4-9455-2ba21c11d4c6")
114
+ expect(response).to eq("e4872b3e-cd15-407d-8406-33642c1a98b0")
133
115
  end
134
116
  end
135
117
  end
data/spec/utils_spec.rb CHANGED
@@ -666,15 +666,9 @@ describe Commonmeta::Metadata, vcr: true do
666
666
  end
667
667
 
668
668
  context 'json_feed_url' do
669
- it 'front-matter blog' do
670
- id = 'f0m0e38'
671
- response = subject.json_feed_url(id)
672
- expect(response).to eq("https://rogue-scholar.org/api/blogs/f0m0e38")
673
- end
674
-
675
669
  it 'all posts' do
676
670
  response = subject.json_feed_url
677
- expect(response).to eq("https://rogue-scholar.org/api/posts")
671
+ expect(response).to eq("https://rogue-scholar.org/api/posts/unregistered")
678
672
  end
679
673
  end
680
674
  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.4
4
+ version: 3.2.6
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-05 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -1064,6 +1064,7 @@ files:
1064
1064
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/medra.yml
1065
1065
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/op.yml
1066
1066
  - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post.yml
1067
+ - spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/blog_post_uuid.yml
1067
1068
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml
1068
1069
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/crossref.yml
1069
1070
  - spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/datacite.yml