Skip to content
Browse files

Update dependencies.

ghpreview and bluecloth are in the dev section of the Gemfile.
Sorcerer has been put in the optional section.
  • Loading branch information...
1 parent 4c2ddb6 commit 55313017efea45db4797e1eb534dd557a0fb09a0 @jimweirich committed Dec 28, 2012
Showing with 12 additions and 11 deletions.
  1. +6 −0 Gemfile
  2. +4 −0 Gemfile.lock
  3. +2 −11 Rakefile
View
6 Gemfile
@@ -2,6 +2,12 @@ source 'https://rubygems.org'
gem 'rspec', '>= 2.12'
gem 'rake', '>= 0.9.2.2'
+group :optional do
+ # Only needed if using Natural Assertions
+ gem 'sorcerer'
+end
+
group :dev do
+ gem 'bluecloth'
gem 'ghpreview'
end
View
4 Gemfile.lock
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
+ bluecloth (2.2.0)
diff-lcs (1.1.3)
ghpreview (0.0.2)
httpclient
@@ -18,11 +19,14 @@ GEM
rspec-expectations (2.12.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.0)
+ sorcerer (0.3.7)
PLATFORMS
ruby
DEPENDENCIES
+ bluecloth
ghpreview
rake (>= 0.9.2.2)
rspec (>= 2.12)
+ sorcerer
View
13 Rakefile
@@ -89,17 +89,8 @@ end
directory 'html'
desc "Display the README file"
-task :readme => "html/README.html" do
- sh "open html/README.html"
-end
-
-desc "format the README file"
-task "html/README.html" => ['html', 'README.md'] do
- open("README.md") do |source|
- open('html/README.html', 'w') do |out|
- out.write(BlueCloth.new(source.read).to_html)
- end
- end
+task :readme => ["README.md"] do
+ sh "ghpreview README.md"
end
desc "Generate an RDoc README"

0 comments on commit 5531301

Please sign in to comment.
Something went wrong with that request. Please try again.