brightcontent-pages 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +173 -0
- data/MIT-LICENSE +20 -0
- data/README.md +35 -0
- data/Rakefile +14 -0
- data/app/assets/images/brightcontent/.gitkeep +0 -0
- data/app/controllers/brightcontent/pages_controller.rb +16 -0
- data/app/helpers/brightcontent/pages_helper.rb +13 -0
- data/app/models/brightcontent/page.rb +27 -0
- data/app/views/brightcontent/pages/_form_field_parent_id.html.erb +1 -0
- data/app/views/brightcontent/pages/_list_field_name.html.erb +1 -0
- data/brightcontent-pages.gemspec +26 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20121207132810_create_brightcontent_pages.rb +16 -0
- data/lib/brightcontent/pages/engine.rb +14 -0
- data/lib/brightcontent/pages/methods.rb +9 -0
- data/lib/brightcontent/pages/version.rb +5 -0
- data/lib/brightcontent/pages.rb +10 -0
- data/lib/brightcontent-pages.rb +1 -0
- data/lib/generators/brightcontent/pages/install_generator.rb +15 -0
- data/script/rails +8 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/javascripts/brightcontent/custom.js +1 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/assets/stylesheets/brightcontent/custom.css +1 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/brightcontent/blogs_controller.rb +2 -0
- data/spec/dummy/app/controllers/pages_controller.rb +8 -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/blog.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/pages/index.html.erb +1 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/brightcontent.rb +3 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -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 +6 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +44 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories.rb +16 -0
- data/spec/features/menu_spec.rb +16 -0
- data/spec/features/pages_spec.rb +18 -0
- data/spec/models/brightcontent/page_spec.rb +49 -0
- data/spec/spec_helper.rb +18 -0
- data/spec/support/acceptance_helper.rb +8 -0
- metadata +274 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20121207132810) do
|
15
|
+
|
16
|
+
create_table "blogs", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.text "body"
|
19
|
+
t.datetime "created_at", :null => false
|
20
|
+
t.datetime "updated_at", :null => false
|
21
|
+
end
|
22
|
+
|
23
|
+
create_table "brightcontent_admin_users", :force => true do |t|
|
24
|
+
t.string "email"
|
25
|
+
t.string "password_digest"
|
26
|
+
t.datetime "created_at", :null => false
|
27
|
+
t.datetime "updated_at", :null => false
|
28
|
+
end
|
29
|
+
|
30
|
+
create_table "brightcontent_pages", :force => true do |t|
|
31
|
+
t.string "name"
|
32
|
+
t.text "body"
|
33
|
+
t.string "slug"
|
34
|
+
t.integer "depth"
|
35
|
+
t.integer "lft"
|
36
|
+
t.integer "rgt"
|
37
|
+
t.integer "parent_id"
|
38
|
+
t.datetime "created_at", :null => false
|
39
|
+
t.datetime "updated_at", :null => false
|
40
|
+
end
|
41
|
+
|
42
|
+
add_index "brightcontent_pages", ["slug"], :name => "index_brightcontent_pages_on_slug"
|
43
|
+
|
44
|
+
end
|
File without changes
|
@@ -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'
|
data/spec/factories.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
sequence :email do |n|
|
3
|
+
"person#{n}@example.com"
|
4
|
+
end
|
5
|
+
|
6
|
+
factory :admin_user, class: Brightcontent::AdminUser do
|
7
|
+
email
|
8
|
+
password "password"
|
9
|
+
password_confirmation "password"
|
10
|
+
end
|
11
|
+
|
12
|
+
factory :page, class: Brightcontent::Page do
|
13
|
+
name "Pagina"
|
14
|
+
body "Body"
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature "Menu" do
|
4
|
+
|
5
|
+
scenario "Shows menu for extra resources" do
|
6
|
+
sign_in
|
7
|
+
menu_should_have_link "Pages"
|
8
|
+
end
|
9
|
+
|
10
|
+
def menu_should_have_link(link_name)
|
11
|
+
within "#menu" do
|
12
|
+
page.should have_link link_name
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature "Pages" do
|
4
|
+
background do
|
5
|
+
@page = create :page , name: "Homepage"
|
6
|
+
end
|
7
|
+
|
8
|
+
scenario "visit root page" do
|
9
|
+
visit root_path
|
10
|
+
page.should have_content @page.name
|
11
|
+
end
|
12
|
+
|
13
|
+
scenario "visit specific page" do
|
14
|
+
@page2 = create :page, name: "Test page"
|
15
|
+
visit "/test-page"
|
16
|
+
page.should have_content @page2.name
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Brightcontent
|
4
|
+
describe Page do
|
5
|
+
describe "validations" do
|
6
|
+
it "validates persence of name" do
|
7
|
+
build_stubbed(:page, name: nil).should_not be_valid
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "slugs" do
|
12
|
+
context "first page" do
|
13
|
+
subject { create(:page, name: "Homepage") }
|
14
|
+
its(:slug) { should be_empty }
|
15
|
+
end
|
16
|
+
|
17
|
+
context "second page" do
|
18
|
+
let!(:homepage) { create(:page, name: "Homepage") }
|
19
|
+
|
20
|
+
it "generates slug for siblings" do
|
21
|
+
create(:page, name: "About us").slug.should eq "about-us"
|
22
|
+
end
|
23
|
+
|
24
|
+
it "creates a slug for children" do
|
25
|
+
create(:page, name: "About us", parent: homepage).slug.should eq "homepage/about-us"
|
26
|
+
end
|
27
|
+
|
28
|
+
it "persists the slug" do
|
29
|
+
page = create(:page, name: "About us", parent: homepage).reload
|
30
|
+
page.slug.should eq "homepage/about-us"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe ".homepage?" do
|
36
|
+
subject { create(:page, name: "Homepage") }
|
37
|
+
|
38
|
+
context "is homepage" do
|
39
|
+
it { should be_homepage }
|
40
|
+
end
|
41
|
+
|
42
|
+
context "is not homepage" do
|
43
|
+
before { create(:page) }
|
44
|
+
subject { create(:page, name: "Second_page") }
|
45
|
+
it { should_not be_homepage }
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require 'rspec/rails'
|
6
|
+
require 'capybara/rspec'
|
7
|
+
require 'factory_girl_rails'
|
8
|
+
require 'brightcontent-pages'
|
9
|
+
|
10
|
+
Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
|
11
|
+
|
12
|
+
Rails.backtrace_cleaner.remove_silencers!
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.mock_with :rspec
|
16
|
+
config.use_transactional_fixtures = true
|
17
|
+
config.include FactoryGirl::Syntax::Methods
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,274 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: brightcontent-pages
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Developers at Brightin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: brightcontent-core
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '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: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: awesome_nested_set
|
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: sqlite3
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
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: rspec-rails
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
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: capybara
|
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
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: launchy
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: factory_girl_rails
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
description: Separate pages resource for brightcontent
|
127
|
+
email: developers@brightin.nl
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- .gitignore
|
133
|
+
- Gemfile
|
134
|
+
- Gemfile.lock
|
135
|
+
- MIT-LICENSE
|
136
|
+
- README.md
|
137
|
+
- Rakefile
|
138
|
+
- app/assets/images/brightcontent/.gitkeep
|
139
|
+
- app/controllers/brightcontent/pages_controller.rb
|
140
|
+
- app/helpers/brightcontent/pages_helper.rb
|
141
|
+
- app/models/brightcontent/page.rb
|
142
|
+
- app/views/brightcontent/pages/_form_field_parent_id.html.erb
|
143
|
+
- app/views/brightcontent/pages/_list_field_name.html.erb
|
144
|
+
- brightcontent-pages.gemspec
|
145
|
+
- config/routes.rb
|
146
|
+
- db/migrate/20121207132810_create_brightcontent_pages.rb
|
147
|
+
- lib/brightcontent-pages.rb
|
148
|
+
- lib/brightcontent/pages.rb
|
149
|
+
- lib/brightcontent/pages/engine.rb
|
150
|
+
- lib/brightcontent/pages/methods.rb
|
151
|
+
- lib/brightcontent/pages/version.rb
|
152
|
+
- lib/generators/brightcontent/pages/install_generator.rb
|
153
|
+
- script/rails
|
154
|
+
- spec/dummy/README.rdoc
|
155
|
+
- spec/dummy/Rakefile
|
156
|
+
- spec/dummy/app/assets/javascripts/application.js
|
157
|
+
- spec/dummy/app/assets/javascripts/brightcontent/custom.js
|
158
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
159
|
+
- spec/dummy/app/assets/stylesheets/brightcontent/custom.css
|
160
|
+
- spec/dummy/app/controllers/application_controller.rb
|
161
|
+
- spec/dummy/app/controllers/brightcontent/blogs_controller.rb
|
162
|
+
- spec/dummy/app/controllers/pages_controller.rb
|
163
|
+
- spec/dummy/app/helpers/application_helper.rb
|
164
|
+
- spec/dummy/app/mailers/.gitkeep
|
165
|
+
- spec/dummy/app/models/.gitkeep
|
166
|
+
- spec/dummy/app/models/blog.rb
|
167
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
168
|
+
- spec/dummy/app/views/pages/index.html.erb
|
169
|
+
- spec/dummy/config.ru
|
170
|
+
- spec/dummy/config/application.rb
|
171
|
+
- spec/dummy/config/boot.rb
|
172
|
+
- spec/dummy/config/database.yml
|
173
|
+
- spec/dummy/config/environment.rb
|
174
|
+
- spec/dummy/config/environments/development.rb
|
175
|
+
- spec/dummy/config/environments/production.rb
|
176
|
+
- spec/dummy/config/environments/test.rb
|
177
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
178
|
+
- spec/dummy/config/initializers/brightcontent.rb
|
179
|
+
- spec/dummy/config/initializers/inflections.rb
|
180
|
+
- spec/dummy/config/initializers/mime_types.rb
|
181
|
+
- spec/dummy/config/initializers/secret_token.rb
|
182
|
+
- spec/dummy/config/initializers/session_store.rb
|
183
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
184
|
+
- spec/dummy/config/locales/en.yml
|
185
|
+
- spec/dummy/config/routes.rb
|
186
|
+
- spec/dummy/db/schema.rb
|
187
|
+
- spec/dummy/lib/assets/.gitkeep
|
188
|
+
- spec/dummy/public/404.html
|
189
|
+
- spec/dummy/public/422.html
|
190
|
+
- spec/dummy/public/500.html
|
191
|
+
- spec/dummy/public/favicon.ico
|
192
|
+
- spec/dummy/script/rails
|
193
|
+
- spec/factories.rb
|
194
|
+
- spec/features/menu_spec.rb
|
195
|
+
- spec/features/pages_spec.rb
|
196
|
+
- spec/models/brightcontent/page_spec.rb
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
- spec/support/acceptance_helper.rb
|
199
|
+
homepage: http://brightin.nl
|
200
|
+
licenses: []
|
201
|
+
post_install_message:
|
202
|
+
rdoc_options: []
|
203
|
+
require_paths:
|
204
|
+
- lib
|
205
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ! '>='
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
segments:
|
212
|
+
- 0
|
213
|
+
hash: 2145923981483683983
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
segments:
|
221
|
+
- 0
|
222
|
+
hash: 2145923981483683983
|
223
|
+
requirements: []
|
224
|
+
rubyforge_project:
|
225
|
+
rubygems_version: 1.8.23
|
226
|
+
signing_key:
|
227
|
+
specification_version: 3
|
228
|
+
summary: Pages resource for brightcontent
|
229
|
+
test_files:
|
230
|
+
- spec/dummy/README.rdoc
|
231
|
+
- spec/dummy/Rakefile
|
232
|
+
- spec/dummy/app/assets/javascripts/application.js
|
233
|
+
- spec/dummy/app/assets/javascripts/brightcontent/custom.js
|
234
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
235
|
+
- spec/dummy/app/assets/stylesheets/brightcontent/custom.css
|
236
|
+
- spec/dummy/app/controllers/application_controller.rb
|
237
|
+
- spec/dummy/app/controllers/brightcontent/blogs_controller.rb
|
238
|
+
- spec/dummy/app/controllers/pages_controller.rb
|
239
|
+
- spec/dummy/app/helpers/application_helper.rb
|
240
|
+
- spec/dummy/app/mailers/.gitkeep
|
241
|
+
- spec/dummy/app/models/.gitkeep
|
242
|
+
- spec/dummy/app/models/blog.rb
|
243
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
244
|
+
- spec/dummy/app/views/pages/index.html.erb
|
245
|
+
- spec/dummy/config.ru
|
246
|
+
- spec/dummy/config/application.rb
|
247
|
+
- spec/dummy/config/boot.rb
|
248
|
+
- spec/dummy/config/database.yml
|
249
|
+
- spec/dummy/config/environment.rb
|
250
|
+
- spec/dummy/config/environments/development.rb
|
251
|
+
- spec/dummy/config/environments/production.rb
|
252
|
+
- spec/dummy/config/environments/test.rb
|
253
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
254
|
+
- spec/dummy/config/initializers/brightcontent.rb
|
255
|
+
- spec/dummy/config/initializers/inflections.rb
|
256
|
+
- spec/dummy/config/initializers/mime_types.rb
|
257
|
+
- spec/dummy/config/initializers/secret_token.rb
|
258
|
+
- spec/dummy/config/initializers/session_store.rb
|
259
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
260
|
+
- spec/dummy/config/locales/en.yml
|
261
|
+
- spec/dummy/config/routes.rb
|
262
|
+
- spec/dummy/db/schema.rb
|
263
|
+
- spec/dummy/lib/assets/.gitkeep
|
264
|
+
- spec/dummy/public/404.html
|
265
|
+
- spec/dummy/public/422.html
|
266
|
+
- spec/dummy/public/500.html
|
267
|
+
- spec/dummy/public/favicon.ico
|
268
|
+
- spec/dummy/script/rails
|
269
|
+
- spec/factories.rb
|
270
|
+
- spec/features/menu_spec.rb
|
271
|
+
- spec/features/pages_spec.rb
|
272
|
+
- spec/models/brightcontent/page_spec.rb
|
273
|
+
- spec/spec_helper.rb
|
274
|
+
- spec/support/acceptance_helper.rb
|