Skip to content

Commit

Permalink
include medra, kisti,, jalc and op dois from crossref index. #303
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 6, 2019
1 parent 9d036af commit f497200
Show file tree
Hide file tree
Showing 7 changed files with 660 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ GEM
latex-decode (~> 0.0)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bolognese (1.2.7)
bolognese (1.2.9)
activesupport (>= 4.2.5, < 6)
benchmark_methods (~> 0.7)
bibtex-ruby (~> 4.1)
Expand Down
16 changes: 8 additions & 8 deletions app/models/concerns/crosscitable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ module Crosscitable

attr_accessor :issue, :volume, :style, :locale

alias_attribute :get_medra, :get_crossref
alias_attribute :read_medra, :read_crossref
alias_attribute :get_kisti, :get_crossref
alias_attribute :read_kisti, :read_crossref
alias_attribute :get_jalc, :get_crossref
alias_attribute :read_jalc, :read_crossref
alias_attribute :get_op, :get_crossref
alias_attribute :read_op, :read_crossref
# alias_attribute :get_medra, :get_crossref
# alias_attribute :read_medra, :read_crossref
# alias_attribute :get_kisti, :get_crossref
# alias_attribute :read_kisti, :read_crossref
# alias_attribute :get_jalc, :get_crossref
# alias_attribute :read_jalc, :read_crossref
# alias_attribute :get_op, :get_crossref
# alias_attribute :read_op, :read_crossref

def sandbox
!Rails.env.production?
Expand Down

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

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

Loading

0 comments on commit f497200

Please sign in to comment.