Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Fixed README code fencing.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Nov 14, 2014
1 parent 034519f commit e9ee913
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $ bundle install
## Import from Local rails/rails


```
```ruby
reload!
repo = Repo.where(full_name: "schneems/threaded").first_or_create
fetcher = GithubFetcher.new(repo.full_name)
Expand All @@ -43,8 +43,7 @@ parser.store(repo)
puts DocFile.last.path
```

```
```ruby
repo = Repo.where(full_name: "rails/rails").first_or_create
files = '/Users/schneems/documents/projects/rails/**/*.rb'files = '/Users/schneems/Documents/projects/rails/activerecord/lib/rails/generators/active_record/model/model_generator.rb'parser = DocsDoctor::Parsers::Ruby::Rdoc.new(files) parser.process parser.store(repo)
# DocFile.destroy_all repo = Repo.last
Expand All @@ -60,7 +59,7 @@ parser.store(repo)

# DocFile.destroy_all repo = Repo.last
doc = repo.methods_missing_docs.first
```

https://github.com/schneems/threaded_in_memory_queue/blob/master/threaded_in_memory_queue/test/threaded_in_memory_queue/master_test.rb/#L5

Expand All @@ -72,7 +71,7 @@ https://github.com/schneems/threaded_in_memory_queue/blob/master/test/threaded_i
Grab all subscriptions, pull out one doc_method from each


```
```ruby
reload!
fetcher = GithubFetcher.new(full_name)
parser = DocsDoctor::Parsers::Ruby::Rdoc.new(fetcher.clone)
Expand All @@ -86,7 +85,7 @@ parser.store(Repo.where("full_name" => full_name).first)

- Debug emails not being sent

```
```ruby
reload!
repo = Repo.where(full_name: "schneems/rrrretry").first_or_create
fetcher = GithubFetcher.new(repo.full_name)
Expand Down

0 comments on commit e9ee913

Please sign in to comment.