Skip to content

Commit

Permalink
moved asciidoc to gem
Browse files Browse the repository at this point in the history
  • Loading branch information
runemadsen committed Nov 4, 2011
1 parent 9357448 commit 2f6b17e
Show file tree
Hide file tree
Showing 33 changed files with 15 additions and 576 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source :rubygems

gem 'sinatra'
gem 'sinatra'
gem 'asciidoc', :path => '/Users/rune/Projects/gems/asciidoc'
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PATH
remote: /Users/rune/Projects/gems/asciidoc
specs:
asciidoc (0.0.1)

GEM
remote: http://rubygems.org/
specs:
Expand All @@ -11,4 +16,5 @@ PLATFORMS
ruby

DEPENDENCIES
asciidoc!
sinatra
4 changes: 1 addition & 3 deletions application.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require 'rubygems'
require 'bundler'
Bundler.require
require './parser/asciidoc.rb'
require 'yaml'

class Application < Sinatra::Base

Expand All @@ -11,7 +9,7 @@ class Application < Sinatra::Base
end

get '/parse' do
@document = AsciiDoc.new(open("public/test.asciidoc").read)
@document = AsciiDoc::AsciiDocument.new(open("public/test.asciidoc").read)
erb :parse
end

Expand Down
34 changes: 0 additions & 34 deletions asciidoc.rb

This file was deleted.

7 changes: 0 additions & 7 deletions config.yml

This file was deleted.

19 changes: 0 additions & 19 deletions parse.rb

This file was deleted.

45 changes: 0 additions & 45 deletions parser/asciiblock.rb

This file was deleted.

17 changes: 0 additions & 17 deletions parser/asciicharplugins.rb

This file was deleted.

27 changes: 0 additions & 27 deletions parser/asciichars.rb

This file was deleted.

57 changes: 0 additions & 57 deletions parser/asciidoc.rb

This file was deleted.

28 changes: 0 additions & 28 deletions parser/asciielement.rb

This file was deleted.

27 changes: 0 additions & 27 deletions parser/asciilines.rb

This file was deleted.

17 changes: 0 additions & 17 deletions parser/asciiplugins.rb

This file was deleted.

23 changes: 0 additions & 23 deletions parser/char/bold.rb

This file was deleted.

23 changes: 0 additions & 23 deletions parser/char/italic.rb

This file was deleted.

7 changes: 0 additions & 7 deletions parser/config.yml

This file was deleted.

Loading

0 comments on commit 2f6b17e

Please sign in to comment.