aerial 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -1
- data/README.md +23 -28
- data/Rakefile +27 -52
- data/VERSION +1 -1
- data/aerial.gemspec +134 -0
- data/articles/congratulations/congratulations-aerial-is-configured-correctly.article +6 -0
- data/bin/aerial +5 -0
- data/config/config.sample.ru +19 -0
- data/config/config.sample.yml +29 -0
- data/config/config.test.yml +49 -0
- data/config/config.yml +3 -3
- data/config/thin.sample.yml +13 -0
- data/examples/articles/congratulations/congratulations-aerial-is-configured-correctly.article +6 -0
- data/{lib/spec/fixtures → examples}/public/javascripts/application.js +0 -0
- data/{lib/spec/fixtures → examples}/public/javascripts/jquery-1.3.1.min.js +0 -0
- data/{lib/spec/fixtures → examples}/public/javascripts/jquery.template.js +0 -0
- data/{lib/spec/fixtures → examples}/views/article.haml +1 -1
- data/{lib/spec/fixtures → examples}/views/articles.haml +0 -0
- data/{lib/spec/fixtures → examples}/views/comment.haml +1 -1
- data/{lib/spec/fixtures → examples}/views/home.haml +0 -0
- data/{lib/spec/fixtures → examples}/views/layout.haml +1 -1
- data/examples/views/not_found.haml +1 -0
- data/{lib/spec/fixtures → examples}/views/post.haml +0 -0
- data/{lib/spec/fixtures → examples}/views/rss.haml +2 -2
- data/{lib/spec/fixtures → examples}/views/sidebar.haml +8 -0
- data/{lib/spec/fixtures → examples}/views/style.sass +0 -0
- data/{lib/features → features}/article.feature +0 -0
- data/features/home.feature +16 -0
- data/{lib/features → features}/step_definitions/article_steps.rb +0 -0
- data/{lib/features → features}/step_definitions/home_steps.rb +0 -0
- data/{lib/features → features}/support/env.rb +0 -0
- data/{lib/features → features}/support/pages/article.rb +0 -0
- data/{lib/features → features}/support/pages/homepage.rb +0 -0
- data/index.html +164 -0
- data/lib/aerial.rb +38 -87
- data/lib/aerial/app.rb +93 -0
- data/lib/aerial/article.rb +28 -30
- data/lib/aerial/base.rb +24 -32
- data/lib/aerial/comment.rb +10 -19
- data/lib/aerial/content.rb +12 -21
- data/lib/aerial/installer.rb +119 -0
- data/public/javascripts/application.js +109 -0
- data/public/javascripts/jquery-1.3.1.min.js +19 -0
- data/public/javascripts/jquery.template.js +255 -0
- data/spec/aerial_spec.rb +19 -0
- data/{lib/spec/aerial_spec.rb → spec/app_spec.rb} +32 -40
- data/{lib/spec → spec}/article_spec.rb +21 -21
- data/{lib/spec → spec}/base_spec.rb +1 -5
- data/{lib/spec → spec}/comment_spec.rb +8 -8
- data/{lib/spec → spec}/config_spec.rb +0 -0
- data/spec/fixtures/articles/congratulations-aerial-is-configured-correctly/congratulations-aerial-is-configured-correctly.article +6 -0
- data/spec/fixtures/articles/sample-article/sample-article.article +6 -0
- data/spec/fixtures/articles/test-article-one/test-article.article +7 -0
- data/spec/fixtures/articles/test-article-three/test-article.article +7 -0
- data/spec/fixtures/articles/test-article-two/comment-missing-fields.comment +8 -0
- data/spec/fixtures/articles/test-article-two/test-article.article +7 -0
- data/spec/fixtures/articles/test-article-two/test-comment.comment +10 -0
- data/{lib/spec → spec}/fixtures/config.yml +0 -0
- data/spec/fixtures/public/javascripts/application.js +109 -0
- data/spec/fixtures/public/javascripts/jquery-1.3.1.min.js +19 -0
- data/spec/fixtures/public/javascripts/jquery.template.js +255 -0
- data/spec/fixtures/views/article.haml +19 -0
- data/spec/fixtures/views/articles.haml +2 -0
- data/spec/fixtures/views/comment.haml +8 -0
- data/spec/fixtures/views/home.haml +2 -0
- data/spec/fixtures/views/layout.haml +22 -0
- data/spec/fixtures/views/not_found.haml +1 -0
- data/spec/fixtures/views/post.haml +27 -0
- data/spec/fixtures/views/rss.haml +15 -0
- data/spec/fixtures/views/sidebar.haml +29 -0
- data/spec/fixtures/views/style.sass +163 -0
- data/{lib/spec → spec}/spec_helper.rb +15 -3
- data/views/article.haml +19 -0
- data/views/articles.haml +2 -0
- data/views/comment.haml +8 -0
- data/views/home.haml +2 -0
- data/views/layout.haml +22 -0
- data/views/not_found.haml +1 -0
- data/views/post.haml +27 -0
- data/views/rss.haml +15 -0
- data/views/sidebar.haml +29 -0
- data/views/style.sass +163 -0
- metadata +86 -40
- data/lib/features/home.feature +0 -16
- data/lib/spec/fixtures/articles/sample-article/sample-article.article +0 -6
- data/lib/spec/fixtures/articles/test-article-one/test-article.article +0 -7
- data/lib/spec/fixtures/articles/test-article-three/test-article.article +0 -7
- data/lib/spec/fixtures/articles/test-article-two/comment-missing-fields.comment +0 -8
- data/lib/spec/fixtures/articles/test-article-two/test-article.article +0 -7
- data/lib/spec/fixtures/articles/test-article-two/test-comment.comment +0 -10
data/lib/features/home.feature
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
Feature: Homepage
|
2
|
-
In order to view recent Articles
|
3
|
-
As anonymous
|
4
|
-
wants to view the most recent articles
|
5
|
-
|
6
|
-
Scenario: Opening the home page
|
7
|
-
Given there are articles
|
8
|
-
When I view the Homepage
|
9
|
-
Then the title should be "Aerial | A Microblog by Matt Sears"
|
10
|
-
Then I should see "Congratulations! Aerial is configured correctly"
|
11
|
-
Then I should see a link to "Home":http://localhost:4567/home
|
12
|
-
Then I should see a link to "About":http://localhost:4567/about
|
13
|
-
Then I should see a link to "ruby":http://localhost:4567/tags/ruby
|
14
|
-
Then I should see a link to "sinatra":http://localhost:4567/tags/sinatra
|
15
|
-
Then I should see a link to "git":http://localhost:4567/tags/git
|
16
|
-
Then I should see a link to "aerial":http://localhost:4567/tags/aerial
|
@@ -1,10 +0,0 @@
|
|
1
|
-
Author : Anonymous Coward
|
2
|
-
Email : anonymous@coward.com
|
3
|
-
Homepage : http://littlelines.com
|
4
|
-
Referrer : http://mattsears.com
|
5
|
-
User-Agent : CERN-LineMode/2.15 libwww/2.17b3
|
6
|
-
Published : 10/26/2009
|
7
|
-
IP : 127.0.0.1
|
8
|
-
|
9
|
-
Lorem ipsum dolor sit amet, adipisicing **comment**, sed do eiusmod
|
10
|
-
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim venia
|