Skip to content

Commit

Permalink
updated uc3-dmp-id gem readme. fixed issue with landing page not disp…
Browse files Browse the repository at this point in the history
…laying the download PDF link
  • Loading branch information
briri committed Aug 25, 2023
1 parent cea06f7 commit ebdeaeb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/landing_page/src/pages/landing/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function Landing() {
contact: getValue(dmp, "contact", {}),
contributors: getValue(dmp, "contributor", []),
datasets: getValue(dmp, "dataset", []),
related_identifiers: filterWorks(getValue(dmp, "dmproadmap_related_identifiers", [])),
related_identifiers: getValue(dmp, "dmproadmap_related_identifiers", []),
versions: getValue(dmp, "dmphub_versions", []),
});
} else {
Expand Down Expand Up @@ -190,7 +190,7 @@ function Landing() {
}

{(formData.related_identifiers && formData.related_identifiers.length > 0) &&
<Works works={formData.related_identifiers}/>
<Works works={filterWorks(formData.related_identifiers)}/>
}

<Footer/>
Expand Down
9 changes: 9 additions & 0 deletions src/sam/gems/uc3-dmp-id/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Uc3DmpId

Helper methods for working with DMP ID JSON records

After you have made changes, be sure to increment the version number in `lib/uc3-dmp-id/version.rb`.

To build and push this gem to RubyGems:
- Make sure you are logged into RubyGems in your terminal window (see their docs)
- Run `gem build uc3-dmp-id.gemspec` to build the gem
- Run `gem push uc3-dmp-id-[version].gem` to publish to RubyGems

After you have pushed a new version to RubyGems, you should rebuild and redeploy the AWS SAM application.
Binary file modified src/sam/gems/uc3-dmp-id/uc3-dmp-id-0.1.0.gem
Binary file not shown.
2 changes: 1 addition & 1 deletion src/sam/gems/uc3-dmp-id/uc3-dmp-id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency('uc3-dmp-dynamo', '~> 0.0')
spec.add_runtime_dependency('uc3-dmp-event-bridge', '~> 0.0')

spec.metadata['rubygems_mfa_required'] = 'true'
spec.metadata['rubygems_mfa_required'] = 'false'
end
14 changes: 7 additions & 7 deletions src/sam/layers/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ GEM
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
aws-eventstream (1.2.0)
aws-partitions (1.805.0)
aws-partitions (1.811.0)
aws-sdk-cognitoidentityprovider (1.80.0)
aws-sdk-core (~> 3, >= 3.177.0)
aws-sigv4 (~> 1.1)
aws-sdk-core (3.180.3)
aws-sdk-core (3.181.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
Expand All @@ -23,8 +23,8 @@ GEM
aws-sdk-kms (1.71.0)
aws-sdk-core (~> 3, >= 3.177.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.132.1)
aws-sdk-core (~> 3, >= 3.179.0)
aws-sdk-s3 (1.134.0)
aws-sdk-core (~> 3, >= 3.181.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.6)
aws-sdk-sns (1.65.0)
Expand Down Expand Up @@ -85,7 +85,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.56.0)
rubocop (1.56.1)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand Down Expand Up @@ -122,7 +122,7 @@ GEM
aws-sdk-dynamodb (~> 1.83)
json (~> 2.6)
logger (~> 1.4)
uc3-dmp-event-bridge (0.0.6)
uc3-dmp-event-bridge (0.0.7)
aws-sdk-eventbridge (~> 1.44)
json (~> 2.6)
logger (~> 1.4)
Expand All @@ -131,7 +131,7 @@ GEM
aws-sdk-ssm (~> 1.150)
httparty (~> 0.21.0)
json (~> 2.6)
uc3-dmp-id (0.0.140)
uc3-dmp-id (0.1.0)
json (~> 2.6)
json-schema (~> 3.0)
uc3-dmp-dynamo (~> 0.0)
Expand Down

0 comments on commit ebdeaeb

Please sign in to comment.