Skip to content

Commit

Permalink
update Faraday
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew2net committed May 20, 2023
1 parent dbd8265 commit b64209e
Show file tree
Hide file tree
Showing 12 changed files with 2,352 additions and 42 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/pkg/
/spec/reports/
/tmp/
/vendor/

# rspec failure tracking
.rspec_status
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ require: rubocop-rails
inherit_from:
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
Rails:
Enabled: false
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ source "https://rubygems.org"

# Specify your gem's dependencies in relaton_calconnect.gemspec
gemspec

gem "ruby-jing"
gem "simplecov"
gem "vcr"
gem "webmock"
1 change: 0 additions & 1 deletion grammars/basicdoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@
<value>tip</value>
<value>important</value>
<value>caution</value>
<value>statement</value>
</choice>
</define>
<define name="figure">
Expand Down
14 changes: 12 additions & 2 deletions grammars/biblio.rng
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@
<optional>
<ref name="fullname"/>
</optional>
<zeroOrMore>
<ref name="credential"/>
</zeroOrMore>
<zeroOrMore>
<ref name="affiliation"/>
</zeroOrMore>
Expand All @@ -232,6 +235,11 @@
<ref name="FullNameType"/>
</element>
</define>
<define name="credential">
<element name="credential">
<text/>
</element>
</define>
<define name="FullNameType">
<choice>
<group>
Expand Down Expand Up @@ -305,7 +313,9 @@
<zeroOrMore>
<ref name="affiliationdescription"/>
</zeroOrMore>
<ref name="organization"/>
<optional>
<ref name="organization"/>
</optional>
</element>
</define>
<define name="affiliationname">
Expand Down Expand Up @@ -1316,7 +1326,7 @@
<value>commentaryOf</value>
<value>hasCommentary</value>
<value>related</value>
<value>complements</value>
<value>hasComplement</value>
<value>complementOf</value>
<value>obsoletes</value>
<value>obsoletedBy</value>
Expand Down
2 changes: 1 addition & 1 deletion lib/relaton_calconnect/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RelatonCalconnect
VERSION = "1.14.0".freeze
VERSION = "1.14.1".freeze
end
16 changes: 6 additions & 10 deletions relaton_calconnect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Gem::Specification.new do |spec|
spec.authors = ["Ribose Inc."]
spec.email = ["[email protected]"]

spec.summary = "RelatonIso: retrieve CC Standards for bibliographic use "\
"using the IsoBibliographicItem model"
spec.description = "RelatonIso: retrieve CC Standards for bibliographic use "\
"using the IsoBibliographicItem model"
spec.summary = "RelatonIso: retrieve CC Standards for bibliographic " \
"use using the IsoBibliographicItem model"
spec.description = "RelatonIso: retrieve CC Standards for bibliographic " \
"use using the IsoBibliographicItem model"

spec.homepage = "https://github.com/relaton/relaton-calconnect"
spec.license = "BSD-2-Clause"
Expand All @@ -24,16 +24,12 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")

spec.add_development_dependency "equivalent-xml", "~> 0.6"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "ruby-jing"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"

spec.add_dependency "faraday", "~> 1.0"
spec.add_dependency "faraday", "~> 2.7.0"
spec.add_dependency "relaton-bib", "~> 1.14.0"
end
2 changes: 1 addition & 1 deletion spec/fixtures/cc_dir_10005_2019.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bibdata type="standard" schema-version="v1.2.1">
<bibdata type="standard" schema-version="v1.2.3">
<fetched>2022-11-23</fetched>
<title format="text/plain" language="en">Guidelines for the implementation of the CalConnect patent policy</title>
<uri type="xml">https://standards.calconnect.org/csd/cc-10005.xml</uri>
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/cc_dir_10005_2019.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: CC/DIR10005-2019
schema-version: v1.2.1
schema-version: v1.2.3
fetched: "2019-10-31"
title:
- type: title-main
Expand Down
22 changes: 12 additions & 10 deletions spec/vcr_cassettes/cc_dir_10005_2019.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,315 changes: 2,306 additions & 9 deletions spec/vcr_cassettes/data.yml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions spec/vcr_cassettes/fetch_data.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b64209e

Please sign in to comment.