Mercurial > hg > soundsoftware-site
changeset 1502:cadec15c77d5 cannam
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Fri, 21 Mar 2014 13:03:45 +0000 |
parents | 467282ce64a4 (current diff) 4d8c768855c6 (diff) |
children | 523f55b47b98 |
files | |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Gemfile Fri Mar 21 13:03:27 2014 +0000 +++ b/Gemfile Fri Mar 21 13:03:45 2014 +0000 @@ -7,6 +7,10 @@ gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby] gem "builder", "3.0.0" +#cc -- CiteProc v1.0.0 broke our citations (CiteProc.process returns nil). +# Until I've managed to work out what's up and fix that... +gem "citeproc", "0.0.6" + # Optional gem for LDAP authentication group :ldap do gem "net-ldap", "~> 0.3.1"
--- a/app/helpers/activities_helper.rb Fri Mar 21 13:03:27 2014 +0000 +++ b/app/helpers/activities_helper.rb Fri Mar 21 13:03:45 2014 +0000 @@ -138,7 +138,7 @@ e.event_author unless !e.respond_to?(:event_author) end.compact institutions = authors.map do |a| - if a.respond_to?(:ssamr_user_detail) and !a.ssamr_user_detail.nil? + if a.respond_to?(:ssamr_user_detail) and !a.ssamr_user_detail.nil? and a.ssamr_user_detail.institution_name != "none" a.ssamr_user_detail.institution_name end end
--- a/plugins/redmine_bibliography/app/helpers/publications_helper.rb Fri Mar 21 13:03:27 2014 +0000 +++ b/plugins/redmine_bibliography/app/helpers/publications_helper.rb Fri Mar 21 13:03:45 2014 +0000 @@ -96,7 +96,10 @@ def print_ieee_format(publication) Rails.cache.fetch("publication-#{publication.id}-ieee") do - publication.print_entry(:ieee).html_safe + entry = publication.print_entry(:ieee) + if entry + entry.html_safe + end end end