Commit 3a2ab64d authored by rmrf's avatar rmrf Committed by Hiren Patel

0.0.2 fixes bytype

parent 7446835c
......@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = s.name
s.add_runtime_dependency('jekyll', '~> 0.11.2')
s.add_runtime_dependency('jekyll-scholar', '~> 0.0.7')
s.add_runtime_dependency('jekyll-scholar', '~> 0.1.0')
s.add_runtime_dependency('citeproc-ruby', '~> 0.0.6')
s.add_runtime_dependency('bibtex-ruby', '~> 2.0.5')
......
......@@ -12,9 +12,11 @@ module Jekyll
@config = Scholar.defaults.dup
# Check for number of arguments.
@arr_args = arguments.strip.split(/\s+/)
@type= arr_args[0]
@header = arr_args[1]
#@arr_args = arguments.strip.split(/\s+/)
@type, @header= arguments.strip.split(/\s*,\s*/, 2)
#@type= arr_args[0]
#@header = arr_args[1]
end
def render(context)
......
module Jekyll
class ScholarExtras
VERSION = '0.0.1'.freeze
VERSION = '0.0.2'.freeze
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment