ak2196-forem 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +135 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +34 -0
- data/ak2196-forem.gemspec +27 -0
- data/app/assets/images/forem/.gitkeep +0 -0
- data/app/assets/javascripts/forem/application.js +9 -0
- data/app/assets/javascripts/forem/posts.js +2 -0
- data/app/assets/javascripts/forem/topics.js +2 -0
- data/app/assets/stylesheets/forem/application.css +7 -0
- data/app/assets/stylesheets/forem/posts.css +4 -0
- data/app/assets/stylesheets/forem/topics.css +4 -0
- data/app/controllers/forem/application_controller.rb +11 -0
- data/app/controllers/forem/posts_controller.rb +22 -0
- data/app/controllers/forem/topics_controller.rb +23 -0
- data/app/helpers/forem/application_helper.rb +4 -0
- data/app/helpers/forem/posts_helper.rb +4 -0
- data/app/helpers/forem/topics_helper.rb +4 -0
- data/app/models/forem/post.rb +6 -0
- data/app/models/forem/topic.rb +14 -0
- data/app/views/forem/posts/_form.html.erb +4 -0
- data/app/views/forem/posts/_post.html.erb +6 -0
- data/app/views/forem/posts/new.html.erb +5 -0
- data/app/views/forem/topics/_form.html.erb +11 -0
- data/app/views/forem/topics/index.html.erb +26 -0
- data/app/views/forem/topics/new.html.erb +2 -0
- data/app/views/forem/topics/show.html.erb +6 -0
- data/bin/autospec +16 -0
- data/bin/erubis +16 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/nokogiri +16 -0
- data/bin/rackup +16 -0
- data/bin/rails +16 -0
- data/bin/rake +16 -0
- data/bin/rake2thor +16 -0
- data/bin/rdoc +16 -0
- data/bin/ri +16 -0
- data/bin/rspec +16 -0
- data/bin/thor +16 -0
- data/bin/tilt +16 -0
- data/bin/tt +16 -0
- data/config/routes.rb +6 -0
- data/db/migrate/20111124070524_create_forem_topics.rb +10 -0
- data/db/migrate/20111124195355_create_forem_posts.rb +11 -0
- data/db/migrate/20111124230339_add_posts_count_to_forem_topics.rb +5 -0
- data/lib/forem/engine.rb +18 -0
- data/lib/forem/version.rb +3 -0
- data/lib/forem.rb +6 -0
- data/lib/tasks/forem_tasks.rake +4 -0
- data/script/rails +6 -0
- data/spec/configuration_spec.rb +12 -0
- data/spec/controllers/forem/posts_controller_spec.rb +5 -0
- data/spec/controllers/forem/topics_controller_spec.rb +5 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +9 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/fake_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/user.rb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +18 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +20 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/forem.rb +1 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20111128220059_create_users.rb +9 -0
- data/spec/dummy/db/schema.rb +38 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/log/development.log +42 -0
- data/spec/dummy/log/test.log +4321 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/test/fixtures/users.yml +7 -0
- data/spec/dummy/test/unit/user_test.rb +7 -0
- data/spec/helpers/forem/posts_helper_spec.rb +15 -0
- data/spec/helpers/forem/topics_helper_spec.rb +15 -0
- data/spec/integration/posts_spec.rb +60 -0
- data/spec/integration/topics_spec.rb +47 -0
- data/spec/models/forem/post_spec.rb +5 -0
- data/spec/models/forem/topic_spec.rb +5 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/support/capybara.rb +8 -0
- data/spec/support/dummy_login.rb +19 -0
- data/spec/support/load_routes.rb +6 -0
- metadata +205 -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,26 @@
|
|
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
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</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,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
# Specs in this file have access to a helper object that includes
|
4
|
+
# the PostsHelper. For example:
|
5
|
+
#
|
6
|
+
# describe PostsHelper do
|
7
|
+
# describe "string concat" do
|
8
|
+
# it "concats two strings with spaces" do
|
9
|
+
# helper.concat_strings("this","that").should == "this that"
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
# end
|
13
|
+
describe Forem::PostsHelper do
|
14
|
+
pending "add some examples to (or delete) #{__FILE__}"
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
# Specs in this file have access to a helper object that includes
|
4
|
+
# the TopicsHelper. For example:
|
5
|
+
#
|
6
|
+
# describe TopicsHelper do
|
7
|
+
# describe "string concat" do
|
8
|
+
# it "concats two strings with spaces" do
|
9
|
+
# helper.concat_strings("this","that").should == "this that"
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
# end
|
13
|
+
describe Forem::TopicsHelper do
|
14
|
+
pending "add some examples to (or delete) #{__FILE__}"
|
15
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "posts" do
|
3
|
+
before do
|
4
|
+
@user = User.create!(:login => "some_guy")
|
5
|
+
@topic = Forem::Topic.new(:subject => "First topic!", :user => @user)
|
6
|
+
@topic.posts.build(:text => "First post!")
|
7
|
+
@topic.save!
|
8
|
+
end
|
9
|
+
|
10
|
+
context "unauthenticated users" do
|
11
|
+
before do
|
12
|
+
sign_out!
|
13
|
+
end
|
14
|
+
|
15
|
+
it "cannot access the new action" do
|
16
|
+
visit new_topic_post_path(@topic)
|
17
|
+
page.current_url.should eql(sign_in_url)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should see the post count and last post details" do
|
21
|
+
visit topics_path
|
22
|
+
within "#topics tbody td#posts_count" do
|
23
|
+
page.should have_content("1")
|
24
|
+
end
|
25
|
+
|
26
|
+
within "#topics tbody td#last_post" do
|
27
|
+
page.should have_content("last post was less than a minute ago by some_guy")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "authenticated users" do
|
33
|
+
before do
|
34
|
+
sign_in!
|
35
|
+
end
|
36
|
+
|
37
|
+
it "reply to a topic" do
|
38
|
+
visit topics_path
|
39
|
+
click_link "First topic!"
|
40
|
+
within ".forem_topic #posts .forem_post" do
|
41
|
+
click_link "Reply"
|
42
|
+
end
|
43
|
+
|
44
|
+
fill_in "Text", :with => "First reply!"
|
45
|
+
click_button "Create Post"
|
46
|
+
|
47
|
+
within "#flash_notice" do
|
48
|
+
page.should have_content("Post has been created!")
|
49
|
+
end
|
50
|
+
|
51
|
+
within ".forem_topic #posts .forem_post:last" do
|
52
|
+
page.should have_content("First reply!")
|
53
|
+
end
|
54
|
+
|
55
|
+
within ".forem_topic #posts .forem_post:last .user" do
|
56
|
+
page.should have_content("forem_user")
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "topics" do
|
4
|
+
context "authenticated users" do
|
5
|
+
before do
|
6
|
+
sign_in!
|
7
|
+
end
|
8
|
+
|
9
|
+
it "creating a new one" do
|
10
|
+
visit topics_path
|
11
|
+
click_link "New Topic"
|
12
|
+
fill_in "Subject", :with => "First topic!"
|
13
|
+
fill_in "Text", :with => "First post!"
|
14
|
+
click_button "Create Topic"
|
15
|
+
|
16
|
+
within "#flash_notice" do
|
17
|
+
page.should have_content("Topic has been created!")
|
18
|
+
end
|
19
|
+
|
20
|
+
within ".forem_topic #posts .forem_post" do
|
21
|
+
page.should have_content("First post!")
|
22
|
+
end
|
23
|
+
|
24
|
+
within ".forem_topic #posts .forem_post .user" do
|
25
|
+
page.should have_content("forem_user")
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
context "unauthenticated users" do
|
32
|
+
before do
|
33
|
+
sign_out!
|
34
|
+
end
|
35
|
+
|
36
|
+
it "cannot see the 'New Topic' link" do
|
37
|
+
visit topics_path
|
38
|
+
page.should_not have_content("New Topic")
|
39
|
+
end
|
40
|
+
|
41
|
+
it "cannot begin to create a new topic" do
|
42
|
+
visit new_topic_path
|
43
|
+
page.current_url.should eql(sign_in_url)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rspec/rails"
|
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
|
+
RSpec.configure do |config|
|
13
|
+
config.use_transactional_fixtures = true
|
14
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
def sign_out!
|
2
|
+
ApplicationController.class_eval <<-STRING
|
3
|
+
def current_user
|
4
|
+
nil
|
5
|
+
end
|
6
|
+
|
7
|
+
helper_method :current_user
|
8
|
+
STRING
|
9
|
+
end
|
10
|
+
|
11
|
+
def sign_in!(options={})
|
12
|
+
ApplicationController.class_eval <<-STRING
|
13
|
+
def current_user
|
14
|
+
User.find_or_create_by_login("forem_user")
|
15
|
+
end
|
16
|
+
|
17
|
+
helper_method :current_user
|
18
|
+
STRING
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ak2196-forem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Your name
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-11-29 00:00:00.000000000 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
requirement: &70205750705940 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70205750705940
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: sqlite3
|
28
|
+
requirement: &70205750705500 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *70205750705500
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rspec-rails
|
39
|
+
requirement: &70205750704960 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '2.5'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *70205750704960
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: capybara
|
50
|
+
requirement: &70205750704540 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *70205750704540
|
59
|
+
description: Description of Forem.
|
60
|
+
email:
|
61
|
+
- Your email
|
62
|
+
executables: []
|
63
|
+
extensions: []
|
64
|
+
extra_rdoc_files: []
|
65
|
+
files:
|
66
|
+
- .gitignore
|
67
|
+
- Gemfile
|
68
|
+
- Gemfile.lock
|
69
|
+
- MIT-LICENSE
|
70
|
+
- README.rdoc
|
71
|
+
- Rakefile
|
72
|
+
- ak2196-forem.gemspec
|
73
|
+
- app/assets/images/forem/.gitkeep
|
74
|
+
- app/assets/javascripts/forem/application.js
|
75
|
+
- app/assets/javascripts/forem/posts.js
|
76
|
+
- app/assets/javascripts/forem/topics.js
|
77
|
+
- app/assets/stylesheets/forem/application.css
|
78
|
+
- app/assets/stylesheets/forem/posts.css
|
79
|
+
- app/assets/stylesheets/forem/topics.css
|
80
|
+
- app/controllers/forem/application_controller.rb
|
81
|
+
- app/controllers/forem/posts_controller.rb
|
82
|
+
- app/controllers/forem/topics_controller.rb
|
83
|
+
- app/helpers/forem/application_helper.rb
|
84
|
+
- app/helpers/forem/posts_helper.rb
|
85
|
+
- app/helpers/forem/topics_helper.rb
|
86
|
+
- app/models/forem/post.rb
|
87
|
+
- app/models/forem/topic.rb
|
88
|
+
- app/views/forem/posts/_form.html.erb
|
89
|
+
- app/views/forem/posts/_post.html.erb
|
90
|
+
- app/views/forem/posts/new.html.erb
|
91
|
+
- app/views/forem/topics/_form.html.erb
|
92
|
+
- app/views/forem/topics/index.html.erb
|
93
|
+
- app/views/forem/topics/new.html.erb
|
94
|
+
- app/views/forem/topics/show.html.erb
|
95
|
+
- bin/autospec
|
96
|
+
- bin/erubis
|
97
|
+
- bin/htmldiff
|
98
|
+
- bin/ldiff
|
99
|
+
- bin/nokogiri
|
100
|
+
- bin/rackup
|
101
|
+
- bin/rails
|
102
|
+
- bin/rake
|
103
|
+
- bin/rake2thor
|
104
|
+
- bin/rdoc
|
105
|
+
- bin/ri
|
106
|
+
- bin/rspec
|
107
|
+
- bin/thor
|
108
|
+
- bin/tilt
|
109
|
+
- bin/tt
|
110
|
+
- config/routes.rb
|
111
|
+
- db/migrate/20111124070524_create_forem_topics.rb
|
112
|
+
- db/migrate/20111124195355_create_forem_posts.rb
|
113
|
+
- db/migrate/20111124230339_add_posts_count_to_forem_topics.rb
|
114
|
+
- lib/forem.rb
|
115
|
+
- lib/forem/engine.rb
|
116
|
+
- lib/forem/version.rb
|
117
|
+
- lib/tasks/forem_tasks.rake
|
118
|
+
- script/rails
|
119
|
+
- spec/configuration_spec.rb
|
120
|
+
- spec/controllers/forem/posts_controller_spec.rb
|
121
|
+
- spec/controllers/forem/topics_controller_spec.rb
|
122
|
+
- spec/dummy/Rakefile
|
123
|
+
- spec/dummy/app/assets/javascripts/application.js
|
124
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
125
|
+
- spec/dummy/app/controllers/application_controller.rb
|
126
|
+
- spec/dummy/app/controllers/fake_controller.rb
|
127
|
+
- spec/dummy/app/helpers/application_helper.rb
|
128
|
+
- spec/dummy/app/mailers/.gitkeep
|
129
|
+
- spec/dummy/app/models/.gitkeep
|
130
|
+
- spec/dummy/app/models/user.rb
|
131
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
132
|
+
- spec/dummy/config.ru
|
133
|
+
- spec/dummy/config/application.rb
|
134
|
+
- spec/dummy/config/boot.rb
|
135
|
+
- spec/dummy/config/database.yml
|
136
|
+
- spec/dummy/config/environment.rb
|
137
|
+
- spec/dummy/config/environments/development.rb
|
138
|
+
- spec/dummy/config/environments/production.rb
|
139
|
+
- spec/dummy/config/environments/test.rb
|
140
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
141
|
+
- spec/dummy/config/initializers/forem.rb
|
142
|
+
- spec/dummy/config/initializers/inflections.rb
|
143
|
+
- spec/dummy/config/initializers/mime_types.rb
|
144
|
+
- spec/dummy/config/initializers/secret_token.rb
|
145
|
+
- spec/dummy/config/initializers/session_store.rb
|
146
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
147
|
+
- spec/dummy/config/locales/en.yml
|
148
|
+
- spec/dummy/config/routes.rb
|
149
|
+
- spec/dummy/db/development.sqlite3
|
150
|
+
- spec/dummy/db/migrate/20111128220059_create_users.rb
|
151
|
+
- spec/dummy/db/schema.rb
|
152
|
+
- spec/dummy/db/test.sqlite3
|
153
|
+
- spec/dummy/lib/assets/.gitkeep
|
154
|
+
- spec/dummy/log/.gitkeep
|
155
|
+
- spec/dummy/log/development.log
|
156
|
+
- spec/dummy/log/test.log
|
157
|
+
- spec/dummy/public/404.html
|
158
|
+
- spec/dummy/public/422.html
|
159
|
+
- spec/dummy/public/500.html
|
160
|
+
- spec/dummy/public/favicon.ico
|
161
|
+
- spec/dummy/script/rails
|
162
|
+
- spec/dummy/test/fixtures/users.yml
|
163
|
+
- spec/dummy/test/unit/user_test.rb
|
164
|
+
- spec/helpers/forem/posts_helper_spec.rb
|
165
|
+
- spec/helpers/forem/topics_helper_spec.rb
|
166
|
+
- spec/integration/posts_spec.rb
|
167
|
+
- spec/integration/topics_spec.rb
|
168
|
+
- spec/models/forem/post_spec.rb
|
169
|
+
- spec/models/forem/topic_spec.rb
|
170
|
+
- spec/spec_helper.rb
|
171
|
+
- spec/support/capybara.rb
|
172
|
+
- spec/support/dummy_login.rb
|
173
|
+
- spec/support/load_routes.rb
|
174
|
+
has_rdoc: true
|
175
|
+
homepage: http://bleh.com
|
176
|
+
licenses: []
|
177
|
+
post_install_message:
|
178
|
+
rdoc_options: []
|
179
|
+
require_paths:
|
180
|
+
- lib
|
181
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
segments:
|
188
|
+
- 0
|
189
|
+
hash: 3143156815796501212
|
190
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ! '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
segments:
|
197
|
+
- 0
|
198
|
+
hash: 3143156815796501212
|
199
|
+
requirements: []
|
200
|
+
rubyforge_project:
|
201
|
+
rubygems_version: 1.6.2
|
202
|
+
signing_key:
|
203
|
+
specification_version: 3
|
204
|
+
summary: Summary of Forem.
|
205
|
+
test_files: []
|