kblog 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +11 -0
- data/Rakefile +40 -0
- data/app/assets/javascripts/kblog/application.js +15 -0
- data/app/assets/javascripts/kblog/articles.js +2 -0
- data/app/assets/stylesheets/kblog/application.css +13 -0
- data/app/assets/stylesheets/kblog/articles.css.scss +63 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/kblog/application_controller.rb +9 -0
- data/app/controllers/kblog/articles_controller.rb +75 -0
- data/app/helpers/kblog/application_helper.rb +4 -0
- data/app/helpers/kblog/articles_helper.rb +9 -0
- data/app/models/kblog/article.rb +17 -0
- data/app/views/kblog/articles/_article.html.erb +17 -0
- data/app/views/kblog/articles/_form.html.erb +25 -0
- data/app/views/kblog/articles/edit.html.erb +10 -0
- data/app/views/kblog/articles/index.html.erb +11 -0
- data/app/views/kblog/articles/new.html.erb +9 -0
- data/app/views/kblog/articles/show.html.erb +3 -0
- data/app/views/layouts/kblog/application.html.erb +14 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20130303192309_create_kblog_articles.rb +10 -0
- data/lib/generators/kblog/USAGE +8 -0
- data/lib/generators/kblog/kblog_generator.rb +8 -0
- data/lib/generators/kblog/templates/initializer.rb +23 -0
- data/lib/kblog.rb +9 -0
- data/lib/kblog/engine.rb +9 -0
- data/lib/kblog/version.rb +3 -0
- data/lib/tasks/kblog_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/javascripts/users.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/assets/stylesheets/users.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/users_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/users_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +18 -0
- data/test/dummy/app/views/users/_form.html.erb +21 -0
- data/test/dummy/app/views/users/edit.html.erb +6 -0
- data/test/dummy/app/views/users/index.html.erb +23 -0
- data/test/dummy/app/views/users/new.html.erb +5 -0
- data/test/dummy/app/views/users/show.html.erb +10 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/kblog_init.rb +22 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130304103354_create_users.rb +9 -0
- data/test/dummy/db/schema.rb +29 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +4864 -0
- data/test/dummy/log/test.log +637 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/users.yml +7 -0
- data/test/dummy/test/functional/users_controller_test.rb +49 -0
- data/test/dummy/test/unit/helpers/users_helper_test.rb +4 -0
- data/test/dummy/test/unit/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/C1F/920/sprockets%2F6470181da287432450dd3489f684b330 +0 -0
- data/test/dummy/tmp/cache/assets/C8B/460/sprockets%2F8499a931f096e078410273e1144ff9bc +0 -0
- data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
- data/test/dummy/tmp/cache/assets/CBA/3B0/sprockets%2F5d22e8d21995fc24f358b51f78a41644 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea +0 -0
- data/test/dummy/tmp/cache/assets/CE8/410/sprockets%2F5936641b8e8fe5b2e700bd20a54986e5 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CFB/700/sprockets%2F9a5aa032a0d3f0640a9024f3a8e408e9 +0 -0
- data/test/dummy/tmp/cache/assets/D02/830/sprockets%2Fd57b03ae1c5dad82f11315b678c74702 +0 -0
- data/test/dummy/tmp/cache/assets/D2B/E70/sprockets%2F51eca8d078e9898519e97bc7e8d5311c +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D44/410/sprockets%2F9773f5b0d1d0fcdf89d22a1cc9719037 +0 -0
- data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5D/650/sprockets%2F111ca3e1e3f6288db6ac4e585ba0c541 +0 -0
- data/test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/FF0/sprockets%2F93cdafd007a9cb71c05e58f3d57ec128 +0 -0
- data/test/dummy/tmp/cache/assets/DB3/5D0/sprockets%2F8b9338bdf730c9f47e771f4dda7dac58 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/D70/sprockets%2Fa26d7b4e10cbda5a68c6020ffe44de00 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E0F/250/sprockets%2Fab2e9f1deb2dcd8968ea6d476747e8aa +0 -0
- data/test/dummy/tmp/cache/assets/E67/260/sprockets%2F88eea1ef8a12c4aded94f17d18fb9bbf +0 -0
- data/test/dummy/tmp/cache/assets/F00/CA0/sprockets%2Fdfaefdc96bffbdf1f087bdc61e994bef +0 -0
- data/test/fixtures/kblog/articles.yml +9 -0
- data/test/functional/kblog/articles_controller_test.rb +51 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/kblog_test.rb +7 -0
- data/test/test_helper.rb +36 -0
- data/test/unit/helpers/kblog/articles_helper_test.rb +6 -0
- data/test/unit/kblog/article_test.rb +16 -0
- metadata +325 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UsersControllerTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
@user = users(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "should get index" do
|
9
|
+
get :index
|
10
|
+
assert_response :success
|
11
|
+
assert_not_nil assigns(:users)
|
12
|
+
end
|
13
|
+
|
14
|
+
test "should get new" do
|
15
|
+
get :new
|
16
|
+
assert_response :success
|
17
|
+
end
|
18
|
+
|
19
|
+
test "should create user" do
|
20
|
+
assert_difference('User.count') do
|
21
|
+
post :create, user: { name: @user.name }
|
22
|
+
end
|
23
|
+
|
24
|
+
assert_redirected_to user_path(assigns(:user))
|
25
|
+
end
|
26
|
+
|
27
|
+
test "should show user" do
|
28
|
+
get :show, id: @user
|
29
|
+
assert_response :success
|
30
|
+
end
|
31
|
+
|
32
|
+
test "should get edit" do
|
33
|
+
get :edit, id: @user
|
34
|
+
assert_response :success
|
35
|
+
end
|
36
|
+
|
37
|
+
test "should update user" do
|
38
|
+
put :update, id: @user, user: { name: @user.name }
|
39
|
+
assert_redirected_to user_path(assigns(:user))
|
40
|
+
end
|
41
|
+
|
42
|
+
test "should destroy user" do
|
43
|
+
assert_difference('User.count', -1) do
|
44
|
+
delete :destroy, id: @user
|
45
|
+
end
|
46
|
+
|
47
|
+
assert_redirected_to users_path
|
48
|
+
end
|
49
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Kblog
|
4
|
+
class ArticlesControllerTest < ActionController::TestCase
|
5
|
+
setup do
|
6
|
+
@article = kblog_articles(:one)
|
7
|
+
end
|
8
|
+
|
9
|
+
test "should get index" do
|
10
|
+
get :index
|
11
|
+
assert_response :success
|
12
|
+
assert_not_nil assigns(:articles)
|
13
|
+
end
|
14
|
+
|
15
|
+
test "should get new" do
|
16
|
+
get :new
|
17
|
+
assert_response :success
|
18
|
+
end
|
19
|
+
|
20
|
+
test "should create article" do
|
21
|
+
assert_difference('Article.count') do
|
22
|
+
post :create, article: { content: @article.content, title: @article.title }
|
23
|
+
end
|
24
|
+
|
25
|
+
assert_redirected_to article_path(assigns(:article))
|
26
|
+
end
|
27
|
+
|
28
|
+
test "should show article" do
|
29
|
+
get :show, id: @article
|
30
|
+
assert_response :success
|
31
|
+
end
|
32
|
+
|
33
|
+
test "should get edit" do
|
34
|
+
get :edit, id: @article
|
35
|
+
assert_response :success
|
36
|
+
end
|
37
|
+
|
38
|
+
test "should update article" do
|
39
|
+
put :update, id: @article, article: { content: @article.content, title: @article.title }
|
40
|
+
assert_redirected_to article_path(assigns(:article))
|
41
|
+
end
|
42
|
+
|
43
|
+
test "should destroy article" do
|
44
|
+
assert_difference('Article.count', -1) do
|
45
|
+
delete :destroy, id: @article
|
46
|
+
end
|
47
|
+
|
48
|
+
assert_redirected_to articles_path
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/test/kblog_test.rb
ADDED
data/test/test_helper.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
|
13
|
+
# Load fixtures from the engine
|
14
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
15
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
16
|
+
end
|
17
|
+
|
18
|
+
|
19
|
+
class ActiveSupport::TestCase
|
20
|
+
fixtures :all
|
21
|
+
end
|
22
|
+
|
23
|
+
if ActionDispatch::IntegrationTest.method_defined?(:fixture_path=)
|
24
|
+
ActionDispatch::IntegrationTest.fixture_path = File.expand_path("../fixtures", __FILE__)
|
25
|
+
end
|
26
|
+
|
27
|
+
|
28
|
+
module Kblog
|
29
|
+
class ActionController::TestCase
|
30
|
+
setup do
|
31
|
+
@routes = Engine.routes
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Kblog
|
4
|
+
class ArticleTest < ActiveSupport::TestCase
|
5
|
+
test "kind of article" do
|
6
|
+
assert_instance_of(Article, Article.new)
|
7
|
+
end
|
8
|
+
test "save an article" do
|
9
|
+
assert Article.create(:title => "Ein Test", :content => "Hier kommt was inhaltlihces")
|
10
|
+
end
|
11
|
+
test "wont save article without title" do
|
12
|
+
article = Article.new(:title => nil, :content => "Hier kommt was inhaltlihces")
|
13
|
+
assert ! article.save
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,325 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kblog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- rene paulokat
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-03-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sass
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: will_paginate
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: RedCloth
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: sqlite3
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
description: ! 'Kblog is a very simplistic and lightweight mountable blog-engine for
|
95
|
+
rails
|
96
|
+
|
97
|
+
provides simple helper in your views.'
|
98
|
+
email:
|
99
|
+
- rene@so36.net
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- app/assets/stylesheets/kblog/articles.css.scss
|
105
|
+
- app/assets/stylesheets/kblog/application.css
|
106
|
+
- app/assets/stylesheets/scaffold.css
|
107
|
+
- app/assets/javascripts/kblog/application.js
|
108
|
+
- app/assets/javascripts/kblog/articles.js
|
109
|
+
- app/views/kblog/articles/index.html.erb
|
110
|
+
- app/views/kblog/articles/_form.html.erb
|
111
|
+
- app/views/kblog/articles/edit.html.erb
|
112
|
+
- app/views/kblog/articles/show.html.erb
|
113
|
+
- app/views/kblog/articles/_article.html.erb
|
114
|
+
- app/views/kblog/articles/new.html.erb
|
115
|
+
- app/views/layouts/kblog/application.html.erb
|
116
|
+
- app/helpers/kblog/articles_helper.rb
|
117
|
+
- app/helpers/kblog/application_helper.rb
|
118
|
+
- app/controllers/kblog/application_controller.rb
|
119
|
+
- app/controllers/kblog/articles_controller.rb
|
120
|
+
- app/models/kblog/article.rb
|
121
|
+
- config/routes.rb
|
122
|
+
- db/migrate/20130303192309_create_kblog_articles.rb
|
123
|
+
- lib/kblog/engine.rb
|
124
|
+
- lib/kblog/version.rb
|
125
|
+
- lib/generators/kblog/kblog_generator.rb
|
126
|
+
- lib/generators/kblog/USAGE
|
127
|
+
- lib/generators/kblog/templates/initializer.rb
|
128
|
+
- lib/tasks/kblog_tasks.rake
|
129
|
+
- lib/kblog.rb
|
130
|
+
- MIT-LICENSE
|
131
|
+
- Rakefile
|
132
|
+
- README.rdoc
|
133
|
+
- test/integration/navigation_test.rb
|
134
|
+
- test/test_helper.rb
|
135
|
+
- test/functional/kblog/articles_controller_test.rb
|
136
|
+
- test/kblog_test.rb
|
137
|
+
- test/dummy/README.rdoc
|
138
|
+
- test/dummy/Rakefile
|
139
|
+
- test/dummy/tmp/cache/assets/D44/410/sprockets%2F9773f5b0d1d0fcdf89d22a1cc9719037
|
140
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
141
|
+
- test/dummy/tmp/cache/assets/D9E/FF0/sprockets%2F93cdafd007a9cb71c05e58f3d57ec128
|
142
|
+
- test/dummy/tmp/cache/assets/D2B/E70/sprockets%2F51eca8d078e9898519e97bc7e8d5311c
|
143
|
+
- test/dummy/tmp/cache/assets/CFB/700/sprockets%2F9a5aa032a0d3f0640a9024f3a8e408e9
|
144
|
+
- test/dummy/tmp/cache/assets/D02/830/sprockets%2Fd57b03ae1c5dad82f11315b678c74702
|
145
|
+
- test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
|
146
|
+
- test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
|
147
|
+
- test/dummy/tmp/cache/assets/CBA/3B0/sprockets%2F5d22e8d21995fc24f358b51f78a41644
|
148
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
149
|
+
- test/dummy/tmp/cache/assets/DB7/D70/sprockets%2Fa26d7b4e10cbda5a68c6020ffe44de00
|
150
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
151
|
+
- test/dummy/tmp/cache/assets/C1F/920/sprockets%2F6470181da287432450dd3489f684b330
|
152
|
+
- test/dummy/tmp/cache/assets/F00/CA0/sprockets%2Fdfaefdc96bffbdf1f087bdc61e994bef
|
153
|
+
- test/dummy/tmp/cache/assets/D5D/650/sprockets%2F111ca3e1e3f6288db6ac4e585ba0c541
|
154
|
+
- test/dummy/tmp/cache/assets/C8B/460/sprockets%2F8499a931f096e078410273e1144ff9bc
|
155
|
+
- test/dummy/tmp/cache/assets/DB3/5D0/sprockets%2F8b9338bdf730c9f47e771f4dda7dac58
|
156
|
+
- test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
|
157
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
158
|
+
- test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
|
159
|
+
- test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
|
160
|
+
- test/dummy/tmp/cache/assets/CE8/410/sprockets%2F5936641b8e8fe5b2e700bd20a54986e5
|
161
|
+
- test/dummy/tmp/cache/assets/E67/260/sprockets%2F88eea1ef8a12c4aded94f17d18fb9bbf
|
162
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
163
|
+
- test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
|
164
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
165
|
+
- test/dummy/tmp/cache/assets/E0F/250/sprockets%2Fab2e9f1deb2dcd8968ea6d476747e8aa
|
166
|
+
- test/dummy/test/functional/users_controller_test.rb
|
167
|
+
- test/dummy/test/fixtures/users.yml
|
168
|
+
- test/dummy/test/unit/helpers/users_helper_test.rb
|
169
|
+
- test/dummy/test/unit/user_test.rb
|
170
|
+
- test/dummy/config/locales/en.yml
|
171
|
+
- test/dummy/config/application.rb
|
172
|
+
- test/dummy/config/environments/development.rb
|
173
|
+
- test/dummy/config/environments/test.rb
|
174
|
+
- test/dummy/config/environments/production.rb
|
175
|
+
- test/dummy/config/database.yml
|
176
|
+
- test/dummy/config/boot.rb
|
177
|
+
- test/dummy/config/initializers/session_store.rb
|
178
|
+
- test/dummy/config/initializers/mime_types.rb
|
179
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
180
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
181
|
+
- test/dummy/config/initializers/secret_token.rb
|
182
|
+
- test/dummy/config/initializers/inflections.rb
|
183
|
+
- test/dummy/config/initializers/kblog_init.rb
|
184
|
+
- test/dummy/config/routes.rb
|
185
|
+
- test/dummy/config/environment.rb
|
186
|
+
- test/dummy/public/500.html
|
187
|
+
- test/dummy/public/404.html
|
188
|
+
- test/dummy/public/422.html
|
189
|
+
- test/dummy/public/favicon.ico
|
190
|
+
- test/dummy/script/rails
|
191
|
+
- test/dummy/db/test.sqlite3
|
192
|
+
- test/dummy/db/migrate/20130304103354_create_users.rb
|
193
|
+
- test/dummy/db/schema.rb
|
194
|
+
- test/dummy/db/development.sqlite3
|
195
|
+
- test/dummy/config.ru
|
196
|
+
- test/dummy/app/assets/stylesheets/users.css
|
197
|
+
- test/dummy/app/assets/stylesheets/application.css
|
198
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
199
|
+
- test/dummy/app/assets/javascripts/users.js
|
200
|
+
- test/dummy/app/assets/javascripts/application.js
|
201
|
+
- test/dummy/app/views/users/index.html.erb
|
202
|
+
- test/dummy/app/views/users/_form.html.erb
|
203
|
+
- test/dummy/app/views/users/edit.html.erb
|
204
|
+
- test/dummy/app/views/users/show.html.erb
|
205
|
+
- test/dummy/app/views/users/new.html.erb
|
206
|
+
- test/dummy/app/views/layouts/application.html.erb
|
207
|
+
- test/dummy/app/helpers/users_helper.rb
|
208
|
+
- test/dummy/app/helpers/application_helper.rb
|
209
|
+
- test/dummy/app/controllers/users_controller.rb
|
210
|
+
- test/dummy/app/controllers/application_controller.rb
|
211
|
+
- test/dummy/app/models/user.rb
|
212
|
+
- test/dummy/log/development.log
|
213
|
+
- test/dummy/log/test.log
|
214
|
+
- test/fixtures/kblog/articles.yml
|
215
|
+
- test/unit/helpers/kblog/articles_helper_test.rb
|
216
|
+
- test/unit/kblog/article_test.rb
|
217
|
+
homepage: https://github.com/erpe/kblog
|
218
|
+
licenses: []
|
219
|
+
post_install_message:
|
220
|
+
rdoc_options: []
|
221
|
+
require_paths:
|
222
|
+
- lib
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
225
|
+
requirements:
|
226
|
+
- - ! '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ! '>='
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
235
|
+
requirements: []
|
236
|
+
rubyforge_project:
|
237
|
+
rubygems_version: 1.8.25
|
238
|
+
signing_key:
|
239
|
+
specification_version: 3
|
240
|
+
summary: a simplistic blog engine for rails
|
241
|
+
test_files:
|
242
|
+
- test/integration/navigation_test.rb
|
243
|
+
- test/test_helper.rb
|
244
|
+
- test/functional/kblog/articles_controller_test.rb
|
245
|
+
- test/kblog_test.rb
|
246
|
+
- test/dummy/README.rdoc
|
247
|
+
- test/dummy/Rakefile
|
248
|
+
- test/dummy/tmp/cache/assets/D44/410/sprockets%2F9773f5b0d1d0fcdf89d22a1cc9719037
|
249
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
250
|
+
- test/dummy/tmp/cache/assets/D9E/FF0/sprockets%2F93cdafd007a9cb71c05e58f3d57ec128
|
251
|
+
- test/dummy/tmp/cache/assets/D2B/E70/sprockets%2F51eca8d078e9898519e97bc7e8d5311c
|
252
|
+
- test/dummy/tmp/cache/assets/CFB/700/sprockets%2F9a5aa032a0d3f0640a9024f3a8e408e9
|
253
|
+
- test/dummy/tmp/cache/assets/D02/830/sprockets%2Fd57b03ae1c5dad82f11315b678c74702
|
254
|
+
- test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
|
255
|
+
- test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
|
256
|
+
- test/dummy/tmp/cache/assets/CBA/3B0/sprockets%2F5d22e8d21995fc24f358b51f78a41644
|
257
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
258
|
+
- test/dummy/tmp/cache/assets/DB7/D70/sprockets%2Fa26d7b4e10cbda5a68c6020ffe44de00
|
259
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
260
|
+
- test/dummy/tmp/cache/assets/C1F/920/sprockets%2F6470181da287432450dd3489f684b330
|
261
|
+
- test/dummy/tmp/cache/assets/F00/CA0/sprockets%2Fdfaefdc96bffbdf1f087bdc61e994bef
|
262
|
+
- test/dummy/tmp/cache/assets/D5D/650/sprockets%2F111ca3e1e3f6288db6ac4e585ba0c541
|
263
|
+
- test/dummy/tmp/cache/assets/C8B/460/sprockets%2F8499a931f096e078410273e1144ff9bc
|
264
|
+
- test/dummy/tmp/cache/assets/DB3/5D0/sprockets%2F8b9338bdf730c9f47e771f4dda7dac58
|
265
|
+
- test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
|
266
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
267
|
+
- test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
|
268
|
+
- test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
|
269
|
+
- test/dummy/tmp/cache/assets/CE8/410/sprockets%2F5936641b8e8fe5b2e700bd20a54986e5
|
270
|
+
- test/dummy/tmp/cache/assets/E67/260/sprockets%2F88eea1ef8a12c4aded94f17d18fb9bbf
|
271
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
272
|
+
- test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
|
273
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
274
|
+
- test/dummy/tmp/cache/assets/E0F/250/sprockets%2Fab2e9f1deb2dcd8968ea6d476747e8aa
|
275
|
+
- test/dummy/test/functional/users_controller_test.rb
|
276
|
+
- test/dummy/test/fixtures/users.yml
|
277
|
+
- test/dummy/test/unit/helpers/users_helper_test.rb
|
278
|
+
- test/dummy/test/unit/user_test.rb
|
279
|
+
- test/dummy/config/locales/en.yml
|
280
|
+
- test/dummy/config/application.rb
|
281
|
+
- test/dummy/config/environments/development.rb
|
282
|
+
- test/dummy/config/environments/test.rb
|
283
|
+
- test/dummy/config/environments/production.rb
|
284
|
+
- test/dummy/config/database.yml
|
285
|
+
- test/dummy/config/boot.rb
|
286
|
+
- test/dummy/config/initializers/session_store.rb
|
287
|
+
- test/dummy/config/initializers/mime_types.rb
|
288
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
289
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
290
|
+
- test/dummy/config/initializers/secret_token.rb
|
291
|
+
- test/dummy/config/initializers/inflections.rb
|
292
|
+
- test/dummy/config/initializers/kblog_init.rb
|
293
|
+
- test/dummy/config/routes.rb
|
294
|
+
- test/dummy/config/environment.rb
|
295
|
+
- test/dummy/public/500.html
|
296
|
+
- test/dummy/public/404.html
|
297
|
+
- test/dummy/public/422.html
|
298
|
+
- test/dummy/public/favicon.ico
|
299
|
+
- test/dummy/script/rails
|
300
|
+
- test/dummy/db/test.sqlite3
|
301
|
+
- test/dummy/db/migrate/20130304103354_create_users.rb
|
302
|
+
- test/dummy/db/schema.rb
|
303
|
+
- test/dummy/db/development.sqlite3
|
304
|
+
- test/dummy/config.ru
|
305
|
+
- test/dummy/app/assets/stylesheets/users.css
|
306
|
+
- test/dummy/app/assets/stylesheets/application.css
|
307
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
308
|
+
- test/dummy/app/assets/javascripts/users.js
|
309
|
+
- test/dummy/app/assets/javascripts/application.js
|
310
|
+
- test/dummy/app/views/users/index.html.erb
|
311
|
+
- test/dummy/app/views/users/_form.html.erb
|
312
|
+
- test/dummy/app/views/users/edit.html.erb
|
313
|
+
- test/dummy/app/views/users/show.html.erb
|
314
|
+
- test/dummy/app/views/users/new.html.erb
|
315
|
+
- test/dummy/app/views/layouts/application.html.erb
|
316
|
+
- test/dummy/app/helpers/users_helper.rb
|
317
|
+
- test/dummy/app/helpers/application_helper.rb
|
318
|
+
- test/dummy/app/controllers/users_controller.rb
|
319
|
+
- test/dummy/app/controllers/application_controller.rb
|
320
|
+
- test/dummy/app/models/user.rb
|
321
|
+
- test/dummy/log/development.log
|
322
|
+
- test/dummy/log/test.log
|
323
|
+
- test/fixtures/kblog/articles.yml
|
324
|
+
- test/unit/helpers/kblog/articles_helper_test.rb
|
325
|
+
- test/unit/kblog/article_test.rb
|