abc-frontend 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/conductors/abc/frontend/conductors/shows_page.rb +69 -0
- data/app/controllers/abc/application_controller.rb +6 -0
- data/app/controllers/abc/frontend/base_controller.rb +8 -0
- data/app/controllers/abc/frontend/pages_controller.rb +12 -0
- data/app/presenters/abc/html/page_presenter.rb +13 -0
- data/app/views/abc/frontend/base/index.html.erb +1 -0
- data/app/views/abc/frontend/pages/show.html.haml +1 -0
- data/config/coverage/assets/0.7.1/application.css +1110 -0
- data/config/coverage/assets/0.7.1/application.js +626 -0
- data/config/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/config/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/config/coverage/assets/0.7.1/favicon_green.png +0 -0
- data/config/coverage/assets/0.7.1/favicon_red.png +0 -0
- data/config/coverage/assets/0.7.1/favicon_yellow.png +0 -0
- data/config/coverage/assets/0.7.1/loading.gif +0 -0
- data/config/coverage/assets/0.7.1/magnify.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/config/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/config/coverage/index.html +72 -0
- data/config/routes.rb +5 -0
- data/lib/abc-frontend.rb +3 -0
- data/lib/abc/frontend/engine.rb +7 -0
- data/spec/conductors/abc/frontend/shows_page_spec.rb +41 -0
- data/spec/integration/backend_spec.rb +10 -0
- data/spec/integration/pages_spec.rb +11 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +5 -0
- data/spec/internal/db/schema.rb +3 -0
- data/spec/internal/log/test.log +2283 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/presenters/html/page_presenter_spec.rb +19 -0
- data/spec/spec_helper.rb +15 -0
- data/spec/tiny_spec_helper.rb +14 -0
- metadata +234 -0
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'tiny_spec_helper'
|
2
|
+
require 'presenters/abc/html/page_presenter'
|
3
|
+
require 'ostruct'
|
4
|
+
|
5
|
+
module Abc
|
6
|
+
module Html
|
7
|
+
describe PagePresenter do
|
8
|
+
let(:page) do
|
9
|
+
p = mock('page')
|
10
|
+
p.stub(:title).and_return('foo')
|
11
|
+
p
|
12
|
+
end
|
13
|
+
|
14
|
+
subject { PagePresenter.new(page) }
|
15
|
+
|
16
|
+
its(:title) { should == 'foo' }
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
unless ENV['TRAVIS']
|
2
|
+
require 'simplecov'
|
3
|
+
SimpleCov.start do
|
4
|
+
add_filter "/spec/"
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
require 'bundler/setup'
|
9
|
+
|
10
|
+
Bundler.require :default, :test
|
11
|
+
|
12
|
+
require 'capybara/rspec'
|
13
|
+
|
14
|
+
Combustion.initialize! :action_view, :active_model, :action_controller
|
15
|
+
require 'rspec/rails'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
$LOAD_PATH.push File.expand_path('../../app', __FILE__)
|
2
|
+
%w(presenters conductors).each do |pattern|
|
3
|
+
$LOAD_PATH.push File.expand_path("../../app/#{pattern}", __FILE__)
|
4
|
+
end
|
5
|
+
|
6
|
+
unless ENV['TRAVIS']
|
7
|
+
require 'simplecov'
|
8
|
+
SimpleCov.start do
|
9
|
+
add_filter '/spec/'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'abc-adapters'
|
14
|
+
require 'abc-core'
|
metadata
ADDED
@@ -0,0 +1,234 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: abc-frontend
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- The Afterburner CMS Team
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-03-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 4.0.0.beta
|
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: 4.0.0.beta
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: activesupport
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 4.0.0.beta
|
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: 4.0.0.beta
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: actionpack
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 4.0.0.beta
|
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: 4.0.0.beta
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: activemodel
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 4.0.0.beta
|
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: 4.0.0.beta
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: haml-rails
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
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: abc-core
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - '='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.0.1
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - '='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.0.1
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: abc-adapters
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.0.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.0.1
|
126
|
+
description: An easy-to-use, easy-to-extend CMS.
|
127
|
+
email:
|
128
|
+
- info@afterburnercms.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- app/views/abc/frontend/base/index.html.erb
|
134
|
+
- app/views/abc/frontend/pages/show.html.haml
|
135
|
+
- app/controllers/abc/application_controller.rb
|
136
|
+
- app/controllers/abc/frontend/base_controller.rb
|
137
|
+
- app/controllers/abc/frontend/pages_controller.rb
|
138
|
+
- app/presenters/abc/html/page_presenter.rb
|
139
|
+
- app/conductors/abc/frontend/conductors/shows_page.rb
|
140
|
+
- lib/abc-frontend.rb
|
141
|
+
- lib/abc/frontend/engine.rb
|
142
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
143
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
144
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
145
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
146
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
147
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
148
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
149
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
150
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
151
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
152
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
153
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
154
|
+
- config/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
155
|
+
- config/coverage/assets/0.7.1/loading.gif
|
156
|
+
- config/coverage/assets/0.7.1/magnify.png
|
157
|
+
- config/coverage/assets/0.7.1/favicon_red.png
|
158
|
+
- config/coverage/assets/0.7.1/application.css
|
159
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_close.png
|
160
|
+
- config/coverage/assets/0.7.1/fancybox/fancybox.png
|
161
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
162
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
163
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
164
|
+
- config/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
165
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
166
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
167
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
168
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
169
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
170
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
171
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
172
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
173
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
174
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
175
|
+
- config/coverage/assets/0.7.1/fancybox/blank.gif
|
176
|
+
- config/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
177
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
178
|
+
- config/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
179
|
+
- config/coverage/assets/0.7.1/application.js
|
180
|
+
- config/coverage/assets/0.7.1/favicon_yellow.png
|
181
|
+
- config/coverage/assets/0.7.1/favicon_green.png
|
182
|
+
- config/coverage/index.html
|
183
|
+
- config/routes.rb
|
184
|
+
- spec/tiny_spec_helper.rb
|
185
|
+
- spec/presenters/html/page_presenter_spec.rb
|
186
|
+
- spec/spec_helper.rb
|
187
|
+
- spec/integration/backend_spec.rb
|
188
|
+
- spec/integration/pages_spec.rb
|
189
|
+
- spec/conductors/abc/frontend/shows_page_spec.rb
|
190
|
+
- spec/internal/log/test.log
|
191
|
+
- spec/internal/public/favicon.ico
|
192
|
+
- spec/internal/db/schema.rb
|
193
|
+
- spec/internal/config/database.yml
|
194
|
+
- spec/internal/config/routes.rb
|
195
|
+
homepage: http://www.afterburnercms.com/
|
196
|
+
licenses: []
|
197
|
+
post_install_message:
|
198
|
+
rdoc_options: []
|
199
|
+
require_paths:
|
200
|
+
- lib
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
203
|
+
requirements:
|
204
|
+
- - ! '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 1.9.3
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
209
|
+
requirements:
|
210
|
+
- - ! '>='
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
213
|
+
segments:
|
214
|
+
- 0
|
215
|
+
hash: 1682202732935739826
|
216
|
+
requirements: []
|
217
|
+
rubyforge_project:
|
218
|
+
rubygems_version: 1.8.24
|
219
|
+
signing_key:
|
220
|
+
specification_version: 3
|
221
|
+
summary: An easy-to-use, easy-to-extend CMS.
|
222
|
+
test_files:
|
223
|
+
- spec/tiny_spec_helper.rb
|
224
|
+
- spec/presenters/html/page_presenter_spec.rb
|
225
|
+
- spec/spec_helper.rb
|
226
|
+
- spec/integration/backend_spec.rb
|
227
|
+
- spec/integration/pages_spec.rb
|
228
|
+
- spec/conductors/abc/frontend/shows_page_spec.rb
|
229
|
+
- spec/internal/log/test.log
|
230
|
+
- spec/internal/public/favicon.ico
|
231
|
+
- spec/internal/db/schema.rb
|
232
|
+
- spec/internal/config/database.yml
|
233
|
+
- spec/internal/config/routes.rb
|
234
|
+
has_rdoc:
|