Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ gem "rspec-html", "~> 0.3.0"
gem "simplecov"
gem "vcr"
gem "webmock"
gem "debug"
2 changes: 1 addition & 1 deletion docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

image:https://img.shields.io/gem/v/relaton-cli.svg["Gem Version", link="https://rubygems.org/gems/relaton-cli"]
image:https://github.com/relaton/relaton-cli/workflows/rake/badge.svg["Build Status", link="https://github.com/relaton/relaton-cli/actions?workflow=rake"]
image:https://codeclimate.com/github/metanorma/relaton-cli/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/relaton-cli"]
// image:https://codeclimate.com/github/metanorma/relaton-cli/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/relaton-cli"]

Documentation in development.

Expand Down
2 changes: 1 addition & 1 deletion lib/relaton/cli/xml_to_html_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def build_liquid_document(source)
depth: 2,
css: stylesheet,
title: bibcollection.title,
date: Date.today.to_s,
date: DateTime.now.to_s,
metanorma_v: mnv.lines.first&.strip,
author: bibcollection.author,
documents: document_items(bibcollection)
Expand Down
1 change: 1 addition & 0 deletions spec/relaton/cli/relaton_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
expect(hashdoc["root"]["author"]).to be_nil

items = hashdoc["root"]["items"]
#warn items
expect(items[0]["docid"][0]["id"]).to eq("CC 18001")
expect(items[1]["docid"][0]["id"]).to eq("CC 36000")
expect(items[2]["xml"]).not_to eq("spec/fixtures/sample-collection")
Expand Down
Loading