resolved 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/app/controllers/resolved/ideas_controller.rb +2 -0
- data/app/models/resolved/idea.rb +2 -0
- data/app/views/layouts/resolved.html.erb +23 -0
- data/config/locales/translations/apps_en.yml +356 -0
- data/config/routes.rb +44 -0
- data/lib/resolved.rb +6 -0
- data/lib/resolved/controller.rb +0 -0
- data/lib/resolved/engine.rb +24 -0
- data/lib/resolved/record.rb +0 -0
- data/vendor/assets/images/apps/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/apps/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/apps/bootstrap-2.0.js +1722 -0
- data/vendor/assets/javascripts/apps/jquery-dotdotdot-1.2.1.js +315 -0
- data/vendor/assets/javascripts/apps/jquery-file-upload-5.11.2.js +949 -0
- data/vendor/assets/javascripts/apps/jquery-iframe-transport-1.4.js +171 -0
- data/vendor/assets/javascripts/apps/jquery-ui-widget-1.8.20.js +272 -0
- data/vendor/assets/javascripts/apps/jquery_ujs.js +377 -0
- data/vendor/assets/javascripts/apps/vendor.js +8 -0
- data/vendor/assets/stylesheets/apps/vendor.css.scss +16 -0
- metadata +383 -0
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title><%= t('txt.apps.admin.layouts.market') %></title>
|
5
|
+
<%= stylesheet_link_tag "apps/vendor" %>
|
6
|
+
<%= stylesheet_link_tag "apps/app_market" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
<link type="text/plain" rel="author" href="<%= humans_txt_url %>" />
|
9
|
+
<%= yield :head %>
|
10
|
+
</head>
|
11
|
+
<body class="<%= body_class %>">
|
12
|
+
|
13
|
+
<%= render :partial => 'layouts/nav_bar' %>
|
14
|
+
|
15
|
+
<div class='container' id='root'>
|
16
|
+
<%= render :partial => 'layouts/flash', :locals => { :flash => flash } %>
|
17
|
+
<%= content_for?(:content) ? yield(:content) : yield %>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<%= javascript_include_tag 'apps/vendor', 'apps/app_market' %>
|
21
|
+
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,356 @@
|
|
1
|
+
title: "Apps"
|
2
|
+
|
3
|
+
parts:
|
4
|
+
# Rails overrides: date formats, validation messages, etc.
|
5
|
+
- translation:
|
6
|
+
key: "activerecord.errors.models.zendesk/app_market/setting.attributes.base.installation_does_not_match_parameter"
|
7
|
+
title: "Error message for mismatch between installation_id and parameter_id"
|
8
|
+
value: "installation.app_id (%{installation_app_id}) does not match parameter.app_id (%{parameter_app_id})"
|
9
|
+
|
10
|
+
# Layout
|
11
|
+
- translation:
|
12
|
+
key: "txt.apps.admin.layouts.zendesk_app_market"
|
13
|
+
title: "Main navigation: project title"
|
14
|
+
value: "Zendesk App Market"
|
15
|
+
- translation:
|
16
|
+
key: "txt.apps.admin.layouts.documentation"
|
17
|
+
title: "Main navigation: 'documentation' link"
|
18
|
+
value: "Documentation"
|
19
|
+
- translation:
|
20
|
+
key: "txt.apps.admin.layouts.market"
|
21
|
+
title: "Main navigation: 'browse apps' link"
|
22
|
+
value: "Market"
|
23
|
+
- translation:
|
24
|
+
key: "txt.apps.admin.layouts.my_installations"
|
25
|
+
title: "Main navigation: 'my installations' link"
|
26
|
+
value: "My Installations"
|
27
|
+
|
28
|
+
# apps/owned
|
29
|
+
- translation:
|
30
|
+
key: "txt.apps.admin.apps.owned.title"
|
31
|
+
title: "Manage owned apps page: title"
|
32
|
+
value: "Your Listings"
|
33
|
+
- translation:
|
34
|
+
key: "txt.apps.admin.apps.owned.new_app_link_text"
|
35
|
+
title: "Manage owned apps page: 'add app' link"
|
36
|
+
value: "Create a new App"
|
37
|
+
- translation:
|
38
|
+
key: "txt.apps.admin.apps.owned.options"
|
39
|
+
title: "Manage owned apps page: 'more options' button"
|
40
|
+
value: "Options"
|
41
|
+
- translation:
|
42
|
+
key: "txt.apps.admin.apps.owned.private"
|
43
|
+
title: "Manage owned apps page: 'app is private' label"
|
44
|
+
value: "Private"
|
45
|
+
- translation:
|
46
|
+
key: "txt.apps.admin.apps.owned.remove"
|
47
|
+
title: "Manage owned apps page: 'delete app' link"
|
48
|
+
value: "Remove"
|
49
|
+
|
50
|
+
# apps/development_coming_soon
|
51
|
+
- translation:
|
52
|
+
key: "txt.apps.admin.apps.development_coming_soon.title"
|
53
|
+
title: "Apps Coming Soon page: title"
|
54
|
+
value: "Coming Soon:"
|
55
|
+
- translation:
|
56
|
+
key: "txt.apps.admin.apps.development_coming_soon.subtitle"
|
57
|
+
title: "Apps Coming Soon page: subtitle"
|
58
|
+
value: "Create Your Own Apps"
|
59
|
+
- translation:
|
60
|
+
key: "txt.apps.admin.apps.development_coming_soon.text"
|
61
|
+
title: "Apps Coming Soon Page: main text"
|
62
|
+
value: "Private Apps are apps that only your account can see. They help integrate Zendesk with your existing infrastructure by communicating with any outside API, grabbing data objects from Zendesk, or constructing interface elements and populating with external data."
|
63
|
+
|
64
|
+
# apps/new
|
65
|
+
- translation:
|
66
|
+
key: "txt.apps.admin.apps.new.header"
|
67
|
+
title: "Create app page: title"
|
68
|
+
value: "Developer Center"
|
69
|
+
- translation:
|
70
|
+
key: "txt.apps.admin.apps.new.about.header"
|
71
|
+
title: "Create app page: 'about' header"
|
72
|
+
value: "About App Creation"
|
73
|
+
- translation:
|
74
|
+
key: "txt.apps.admin.apps.new.about.body"
|
75
|
+
title: "Create app page: 'about' text"
|
76
|
+
value: "This is where you develop new apps. See the %{docs_link} for more information."
|
77
|
+
- translation:
|
78
|
+
key: "txt.apps.admin.apps.new.about.docs_link_text"
|
79
|
+
title: "Create app page: link text for txt.apps.admin.apps.new.about.body"
|
80
|
+
value: "documentation"
|
81
|
+
- translation:
|
82
|
+
key: "txt.apps.admin.apps.new.upload.header"
|
83
|
+
title: "Create app page: header"
|
84
|
+
value: "Upload Your App"
|
85
|
+
- translation:
|
86
|
+
key: "txt.apps.admin.apps.new.name_label"
|
87
|
+
title: "Create app page: 'name' label"
|
88
|
+
value: "Name"
|
89
|
+
- translation:
|
90
|
+
key: "txt.apps.admin.apps.new.upload.file_label"
|
91
|
+
title: "Create app page: 'file upload' label"
|
92
|
+
value: "Your App File"
|
93
|
+
- translation:
|
94
|
+
key: "txt.apps.admin.apps.new.upload.file_type_help"
|
95
|
+
title: "Create app page: 'file types' info message"
|
96
|
+
value: "Only a .zip file is valid. Max 2MB"
|
97
|
+
- translation:
|
98
|
+
key: "txt.apps.admin.apps.new.upload.submit"
|
99
|
+
title: "Create app page: 'submit' button"
|
100
|
+
value: "Upload .zip"
|
101
|
+
- translation:
|
102
|
+
key: "txt.apps.admin.apps.new.status.uploading"
|
103
|
+
title: "Create app page: 'uploading' status message"
|
104
|
+
value: "Uploading…"
|
105
|
+
- translation:
|
106
|
+
key: "txt.apps.admin.apps.new.status.queued"
|
107
|
+
title: "Create app page: 'build is queued on server' status message"
|
108
|
+
value: "Queued…"
|
109
|
+
- translation:
|
110
|
+
key: "txt.apps.admin.apps.new.status.working/verify"
|
111
|
+
title: "Create app page: 'server is running validations' status message"
|
112
|
+
value: "Verifying…"
|
113
|
+
- translation:
|
114
|
+
key: "txt.apps.admin.apps.new.status.working/prepare"
|
115
|
+
title: "Create app page: 'server is preparing the app' status message"
|
116
|
+
value: "Preparing…"
|
117
|
+
- translation:
|
118
|
+
key: "txt.apps.admin.apps.new.status.working/create_translations"
|
119
|
+
title: "Create app page: 'server is saving the translations' status message"
|
120
|
+
value: "Creating translations…"
|
121
|
+
- translation:
|
122
|
+
key: "txt.apps.admin.apps.new.status.working/create_assets"
|
123
|
+
title: "Create app page: 'server is saving the assets' status message"
|
124
|
+
value: "Creating assets…"
|
125
|
+
- translation:
|
126
|
+
key: "txt.apps.admin.apps.new.status.working/create_sources"
|
127
|
+
title: "Create app page: 'server is saving the source code' status message"
|
128
|
+
value: "Creating sources…"
|
129
|
+
- translation:
|
130
|
+
key: "txt.apps.admin.apps.new.status.working/cleanup"
|
131
|
+
title: "Create app page: 'server is cleaning up' status message"
|
132
|
+
value: "Cleaning up…"
|
133
|
+
- translation:
|
134
|
+
key: "txt.apps.admin.apps.new.status.failed"
|
135
|
+
title: "Create app page: 'uplod failed' status message"
|
136
|
+
value: "Failed…"
|
137
|
+
- translation:
|
138
|
+
key: "txt.apps.admin.apps.new.status.completed"
|
139
|
+
title: "Create app page: 'upload succeeded' status message"
|
140
|
+
value: "Completed…"
|
141
|
+
- translation:
|
142
|
+
key: "txt.apps.admin.apps.new.error.header"
|
143
|
+
title: "Create app error page: header"
|
144
|
+
value: "Oh Snap!"
|
145
|
+
- translation:
|
146
|
+
key: "txt.apps.admin.apps.new.error.text"
|
147
|
+
title: "Create app error page: text"
|
148
|
+
value: "Your app is a bag of wrongness; please try again."
|
149
|
+
|
150
|
+
# apps/index
|
151
|
+
- translation:
|
152
|
+
key: "txt.apps.admin.apps.index.install"
|
153
|
+
title: "List apps page: 'install' button"
|
154
|
+
value: "Install"
|
155
|
+
- translation:
|
156
|
+
key: "txt.apps.admin.apps.index.installed"
|
157
|
+
title: "List apps page: 'already installed' label"
|
158
|
+
value: "Installed"
|
159
|
+
- translation:
|
160
|
+
key: "txt.apps.admin.apps.index.install_another"
|
161
|
+
title: "List apps page: 'install another' button"
|
162
|
+
value: "Install Another"
|
163
|
+
- translation:
|
164
|
+
key: "txt.apps.admin.apps.index.needs_admin"
|
165
|
+
title: "List apps page: installation requires an administrator"
|
166
|
+
value: "Please ask your help desk administrator to add this application."
|
167
|
+
- translation:
|
168
|
+
key: "txt.apps.admin.apps.index.please_sign_in"
|
169
|
+
title: "List apps page: installation requires signing in"
|
170
|
+
value: "Please sign in to your help desk to manage your applications."
|
171
|
+
- translation:
|
172
|
+
key: "txt.apps.admin.apps.index.available"
|
173
|
+
title: "List apps page: 'available apps' header"
|
174
|
+
value: "Available apps"
|
175
|
+
- translation:
|
176
|
+
key: "txt.apps.admin.apps.index.carousel.coming_soon.title"
|
177
|
+
title: "Browse apps page: 'coming soon' title"
|
178
|
+
value: "Introducing Zendesk Apps"
|
179
|
+
- translation:
|
180
|
+
key: "txt.apps.admin.apps.index.carousel.coming_soon.detail"
|
181
|
+
title: "Browse apps page: 'coming soon' text"
|
182
|
+
value: "We'll be adding more Apps over time, and you'll be able to add your own! Click to learn more…"
|
183
|
+
|
184
|
+
# installations/_form
|
185
|
+
- translation:
|
186
|
+
key: "txt.apps.admin.installations.form.name_label"
|
187
|
+
title: "Install app page: 'name' field label"
|
188
|
+
value: "Name"
|
189
|
+
- translation:
|
190
|
+
key: "txt.apps.admin.installations.form.install"
|
191
|
+
title: "Install app page: 'install' button"
|
192
|
+
value: "Install"
|
193
|
+
- translation:
|
194
|
+
key: "txt.apps.admin.installations.form.update"
|
195
|
+
title: "Install app page: submit button to update existing installation"
|
196
|
+
value: "Update"
|
197
|
+
- translation:
|
198
|
+
key: "txt.apps.admin.installations.form.cancel"
|
199
|
+
title: "Install app page: 'cancel' button"
|
200
|
+
value: "Cancel"
|
201
|
+
|
202
|
+
# installations/index
|
203
|
+
- translation:
|
204
|
+
key: "txt.apps.admin.installations.index.change_settings"
|
205
|
+
title: "Manage installations page: 'change settings' button"
|
206
|
+
value: "Change Settings"
|
207
|
+
- translation:
|
208
|
+
key: "txt.apps.admin.installations.index.enabled"
|
209
|
+
title: "Manage installations page: 'enabled' label"
|
210
|
+
value: "Enabled"
|
211
|
+
- translation:
|
212
|
+
key: "txt.apps.admin.installations.index.installed"
|
213
|
+
title: "Manage installations page: header"
|
214
|
+
value: "Your Installed Apps"
|
215
|
+
- translation:
|
216
|
+
key: "txt.apps.admin.installations.index.options"
|
217
|
+
title: "Manage installations page: button to disclose more options"
|
218
|
+
value: "Options"
|
219
|
+
- translation:
|
220
|
+
key: "txt.apps.admin.installations.index.remove"
|
221
|
+
title: "Manage installations page: 'uninstall' button"
|
222
|
+
value: "Remove"
|
223
|
+
- translation:
|
224
|
+
key: "txt.apps.admin.installations.index.required"
|
225
|
+
title: "Install app page: 'required' field label"
|
226
|
+
value: "Required"
|
227
|
+
- translation:
|
228
|
+
key: "txt.apps.admin.installations.index.view_in_market"
|
229
|
+
title: "Manage installations page: 'view in market' button"
|
230
|
+
value: "View in Market"
|
231
|
+
- translation:
|
232
|
+
key: "txt.apps.admin.installations.index.no_apps_html"
|
233
|
+
title: "Manage installations page: 'no apps' text"
|
234
|
+
value: "You have no apps installed right now. %{browse_apps}."
|
235
|
+
- translation:
|
236
|
+
key: "txt.apps.admin.installations.index.no_apps_link"
|
237
|
+
title: "Manage installations page: link text for txt.apps.admin.installations.index.no_apps_html"
|
238
|
+
value: "Browse Apps to install"
|
239
|
+
|
240
|
+
# Info messages
|
241
|
+
- translation:
|
242
|
+
key: "txt.apps.admin.info.apps.destroy_success"
|
243
|
+
title: "Info message: 'app delete succeeded'"
|
244
|
+
value: "Deleted app %{name}"
|
245
|
+
- translation:
|
246
|
+
key: "txt.apps.admin.info.apps.destroy_fail"
|
247
|
+
title: "Info message: 'app delete failed'"
|
248
|
+
value: "Failed to app %{name}"
|
249
|
+
- translation:
|
250
|
+
key: "txt.apps.admin.info.installations.created"
|
251
|
+
title: "Info message: 'app install succeeded'"
|
252
|
+
value: "Created %{name}"
|
253
|
+
- translation:
|
254
|
+
key: "txt.apps.admin.info.installations.updated"
|
255
|
+
title: "Info message: 'app installation updated'"
|
256
|
+
value: "Updated %{name}"
|
257
|
+
- translation:
|
258
|
+
key: "txt.apps.admin.info.installations.deleted"
|
259
|
+
title: "Info message: 'app uninstall successful'"
|
260
|
+
value: "Deleted %{name}"
|
261
|
+
|
262
|
+
# Error messages
|
263
|
+
- translation:
|
264
|
+
key: "txt.apps.admin.error.api.not_yet_implemented"
|
265
|
+
title: "API: 'not yet implemented' error message"
|
266
|
+
value: "Not yet implemented"
|
267
|
+
- translation:
|
268
|
+
key: "txt.apps.admin.error.installations.no_app"
|
269
|
+
title: "Manage installations page: 'no such app' error message"
|
270
|
+
value: "No such app: #%{id}"
|
271
|
+
- translation:
|
272
|
+
key: "txt.apps.admin.error.installations.no_installation"
|
273
|
+
title: "Manage installations page: 'no such installation' error message"
|
274
|
+
value: "No such installation: #%{id}"
|
275
|
+
- translation:
|
276
|
+
key: "txt.apps.admin.error.api.require_admin"
|
277
|
+
title: "API: 'operation available only to administrators' error message"
|
278
|
+
value: "Only help desk administrator can perform this function"
|
279
|
+
- translation:
|
280
|
+
key: "txt.apps.admin.error.api.require_agent"
|
281
|
+
title: "API: 'operation available only to agents' error message"
|
282
|
+
value: "Only help desk agents can perform this function"
|
283
|
+
- translation:
|
284
|
+
key: "txt.apps.admin.error.app_build.unknown"
|
285
|
+
title: "App builder job: 'unknown error' message"
|
286
|
+
value: "Unknown error"
|
287
|
+
- translation:
|
288
|
+
key: "txt.apps.admin.error.app_build.missing_manifest_keys"
|
289
|
+
title: "App builder job: 'missing manifest fields' message"
|
290
|
+
value: "Missing required fields in manifest: %{missing_keys}"
|
291
|
+
- translation:
|
292
|
+
key: "txt.apps.admin.error.app_build.missing_manifest"
|
293
|
+
title: "App builder job: 'missing manifest file' message"
|
294
|
+
value: "Missing manifest.json"
|
295
|
+
- translation:
|
296
|
+
key: "txt.apps.admin.error.app_build.missing_source"
|
297
|
+
title: "App builder job: 'missing source file' message"
|
298
|
+
value: "Missing app.js"
|
299
|
+
|
300
|
+
# Builder Job Phases
|
301
|
+
- translation:
|
302
|
+
key: "txt.apps.admin.app_builder.phases.all.begin"
|
303
|
+
title: "App builder job: 'begin all' phase"
|
304
|
+
value: "Begin build at %{ts}"
|
305
|
+
- translation:
|
306
|
+
key: "txt.apps.admin.app_builder.phases.all.end"
|
307
|
+
title: "App builder job: 'end all' phase"
|
308
|
+
value: "Build completed at %{ts}"
|
309
|
+
- translation:
|
310
|
+
key: "txt.apps.admin.app_builder.phases.verify.begin"
|
311
|
+
title: "App builder job: 'begin verify' phase"
|
312
|
+
value: "Verifying upload at %{ts}"
|
313
|
+
- translation:
|
314
|
+
key: "txt.apps.admin.app_builder.phases.verify.end"
|
315
|
+
title: "App builder job: 'end verify' phase"
|
316
|
+
value: "Verified at %{ts}"
|
317
|
+
- translation:
|
318
|
+
key: "txt.apps.admin.app_builder.phases.prepare.begin"
|
319
|
+
title: "App builder job: 'begin prepare' phase"
|
320
|
+
value: "Preparing build at %{ts}"
|
321
|
+
- translation:
|
322
|
+
key: "txt.apps.admin.app_builder.phases.prepare.end"
|
323
|
+
title: "App builder job: 'end prepare' phase"
|
324
|
+
value: "Prepared build at %{ts}"
|
325
|
+
- translation:
|
326
|
+
key: "txt.apps.admin.app_builder.phases.create_translations.begin"
|
327
|
+
title: "App builder job: 'begin create-translations' phase"
|
328
|
+
value: "Creating translations at %{ts}"
|
329
|
+
- translation:
|
330
|
+
key: "txt.apps.admin.app_builder.phases.create_translations.end"
|
331
|
+
title: "App builder job: 'end create-translations' phase"
|
332
|
+
value: "Created translations at %{ts}"
|
333
|
+
- translation:
|
334
|
+
key: "txt.apps.admin.app_builder.phases.create_assets.begin"
|
335
|
+
title: "App builder job: 'begin create-assets' phase"
|
336
|
+
value: "Creating assets at %{ts}"
|
337
|
+
- translation:
|
338
|
+
key: "txt.apps.admin.app_builder.phases.create_assets.end"
|
339
|
+
title: "App builder job: 'end create-assets' phase"
|
340
|
+
value: "Created assets at %{ts}"
|
341
|
+
- translation:
|
342
|
+
key: "txt.apps.admin.app_builder.phases.create_sources.begin"
|
343
|
+
title: "App builder job: 'begin create-source' phase"
|
344
|
+
value: "Creating sources at %{ts}"
|
345
|
+
- translation:
|
346
|
+
key: "txt.apps.admin.app_builder.phases.create_sources.end"
|
347
|
+
title: "App builder job: 'end create-source' phase"
|
348
|
+
value: "Created sources at %{ts}"
|
349
|
+
- translation:
|
350
|
+
key: "txt.apps.admin.app_builder.phases.cleanup.begin"
|
351
|
+
title: "App builder job: 'begin cleanup' phase"
|
352
|
+
value: "Cleaning up at %{ts}"
|
353
|
+
- translation:
|
354
|
+
key: "txt.apps.admin.app_builder.phases.cleanup.end"
|
355
|
+
title: "App builder job: 'end cleanup' phase"
|
356
|
+
value: "Cleaned up at %{ts}"
|
data/config/routes.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
Zendesk::AppMarket::Engine.routes.draw do
|
2
|
+
|
3
|
+
namespace :api_v2, :path => 'api/v2', :module => 'v2' do
|
4
|
+
|
5
|
+
scope :path => 'apps' do
|
6
|
+
resources :installations,
|
7
|
+
:only => [ :index, :show, :create, :update, :destroy ]
|
8
|
+
|
9
|
+
resources :uploads,
|
10
|
+
:only => [ :create ]
|
11
|
+
|
12
|
+
resources :job_statuses,
|
13
|
+
:only => [ :show ]
|
14
|
+
end
|
15
|
+
|
16
|
+
match 'apps/installed.:format' => 'apps#installed',
|
17
|
+
:constraints => { :format => 'js' },
|
18
|
+
:via => :get,
|
19
|
+
:controller => 'apps',
|
20
|
+
:as => 'installed_apps'
|
21
|
+
|
22
|
+
match 'apps/:id/assets/*name' => 'apps#asset',
|
23
|
+
:name => /[^\/]+/,
|
24
|
+
:via => :get,
|
25
|
+
:as => 'asset'
|
26
|
+
|
27
|
+
resources :apps,
|
28
|
+
:only => [ :index, :show, :create, :update ]
|
29
|
+
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
resources :apps, :only => [ :new, :index, :destroy ] do
|
34
|
+
get 'owned' => 'apps#owned', :on => :collection, :as => 'owned'
|
35
|
+
end
|
36
|
+
|
37
|
+
get 'apps/:app_id/install(.:format)' => 'installations#new', :as => 'app_install'
|
38
|
+
|
39
|
+
scope :path => 'apps' do
|
40
|
+
resources :installations, :only => [ :index, :create, :edit, :update, :destroy ]
|
41
|
+
get 'humans.txt' => 'apps#humans', :format => 'txt', :as => 'humans_txt'
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
data/lib/resolved.rb
ADDED
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'bootstrap-sass'
|
2
|
+
|
3
|
+
module Resolved
|
4
|
+
|
5
|
+
class Engine < Rails::Engine
|
6
|
+
|
7
|
+
isolate_namespace Resolved
|
8
|
+
|
9
|
+
config.generators do |g|
|
10
|
+
g.test_framework :rspec
|
11
|
+
g.integration_tool :rspec
|
12
|
+
end
|
13
|
+
|
14
|
+
initializer :append_assets_to_precompile_list, :group => :all do |app|
|
15
|
+
app.config.assets.precompile += [
|
16
|
+
'resolved/application.css',
|
17
|
+
'resolved/application.js',
|
18
|
+
'resolved/*.png'
|
19
|
+
]
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|