Skip to content

Commit

Permalink
Merge pull request #13 from dmarcotte/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
dmarcotte committed Dec 31, 2013
2 parents 3471fe4 + eca5e79 commit 920d521
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
10 changes: 6 additions & 4 deletions github-markdown-preview.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ Gem::Specification.new do |s|
s.description = %q{Local previews for Github Flavored Markdown files}
s.license = 'MIT'

s.add_dependency 'active_support', '~> 3.0.0'
s.add_dependency 'listen', '~> 1.3.1'
s.add_dependency 'listen', '1.3.1' # pin to latest version of listen which supports Ruby 1.8
s.add_dependency 'pygments.rb', '0.5.2' # pin pygments.rb version to work around https://github.com/dmarcotte/github-markdown-preview/issues/11
s.add_dependency 'github-linguist', '~> 2.9.4'
s.add_dependency 'html-pipeline', '~> 0.3.1'
s.add_dependency 'html-pipeline', '~> 1.1'
s.add_dependency 'sanitize', '2.0.3' # pin to latest version of sanitize which supports Ruby 1.8
s.add_dependency 'github-markdown', '~> 0.6'
s.add_dependency 'gemoji', '~> 1.5'

s.add_development_dependency 'minitest', '~> 4.7'
s.add_development_dependency 'minitest', '~> 5.2'
s.add_development_dependency 'bundler', '~> 1.3'
s.add_development_dependency 'rake', '~> 10.1'

Expand Down
3 changes: 0 additions & 3 deletions lib/github-markdown-preview/html_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ module GithubMarkdownPreview
#
# For a given file /path/to/file.md, generates /path/to/file.md.html
class HtmlPreview

VERSION = '1.5'

attr_reader :source_file, :preview_file
attr_accessor :delete_on_exit

Expand Down
2 changes: 1 addition & 1 deletion test/github-markdown-preview_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'minitest/autorun'

class TestBin < Minitest::Unit::TestCase
class TestBin < Minitest::Test
def setup
@ghp_scipt = File.join(File.dirname(__FILE__), '..', 'bin', 'github-markdown-preview')
end
Expand Down
2 changes: 1 addition & 1 deletion test/html_preview_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'minitest/autorun'
require 'tmpdir'

class TestHtmlPreview < Minitest::Unit::TestCase
class TestHtmlPreview < Minitest::Test

def setup
@ghp = GithubMarkdownPreview::HtmlPreview
Expand Down

0 comments on commit 920d521

Please sign in to comment.