Skip to content

Commit

Permalink
debug role/description
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Nov 23, 2023
1 parent 94aa11a commit 3b0fa62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ Encoding.default_internal = Encoding::UTF_8
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}" }

gemspec
group :development, :test do
gem "rspec"
end

if File.exist? "Gemfile.devel"
eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
end

gemspec
4 changes: 3 additions & 1 deletion lib/metanorma/bipm/front.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def personal_role(node, xml, suffix)
desc = role
role = "editor"
end
xml.role desc, type: role.downcase
xml.role type: role.downcase do |d|
d << desc
end
end

def title(node, xml)
Expand Down

0 comments on commit 3b0fa62

Please sign in to comment.