Skip to content

Commit

Permalink
Version 0.2.2: Fixes #16 once and for all - bumped redcarpet dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
tybenz committed May 28, 2014
1 parent 17ac192 commit e53bf8f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source 'https://rubygems.org'
gem 'rake'
gem 'artii', '~>2.0.4'
gem 'asciiart', '~>0.0.7'
gem 'redcarpet', '~>3.1.1'
gem 'redcarpet', '~>3.1.2'
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GEM
rmagick
rainbow (2.0.0)
rake (10.1.1)
redcarpet (3.1.1)
redcarpet (3.1.2)
rmagick (2.13.2)

PLATFORMS
Expand All @@ -17,4 +17,4 @@ DEPENDENCIES
artii (~> 2.0.4)
asciiart (~> 0.0.7)
rake
redcarpet (= 3.1.1)
redcarpet (~> 3.1.2)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.1
0.2.2
7 changes: 5 additions & 2 deletions bin/vimdeck
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
#> foregoes the ability to have small and large headers

require "optparse"
require "vimdeck"
# require_relative File.dirname(__FILE__)+"/../../lib/vimdeck.rb"
if ENV["VIMDECK_DEBUG"]
require_relative File.dirname(__FILE__)+"/../../lib/vimdeck.rb"
else
require "vimdeck"
end

def usage
File.read(__FILE__).split("\n").grep(/^#>/).each do |line|
Expand Down
2 changes: 1 addition & 1 deletion lib/vimdeck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def list(content, type)
end
end

def header(title, level, anchor)
def header(title, level)
if !Vimdeck::Slideshow.options[:no_ascii]
case level
when 1
Expand Down
2 changes: 1 addition & 1 deletion vimdeck.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Gem::Specification.new do |s|
s.executables = ['vimdeck']
s.add_runtime_dependency 'artii', '~>2.0.4'
s.add_runtime_dependency 'asciiart', '~>0.0.7'
s.add_runtime_dependency 'redcarpet', '~>3.1.1'
s.add_runtime_dependency 'redcarpet', '~>3.1.2'
end

0 comments on commit e53bf8f

Please sign in to comment.