vision 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- // Cosmo 2.2.2
1
+ // Cosmo 2.3.1
2
2
  // Variables
3
3
  // --------------------------------------------------
4
4
 
@@ -181,7 +181,7 @@
181
181
  @navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
182
182
 
183
183
  @navbarHeight: 50px;
184
- @navbarBackgroundHighlight: @navbarBackground;
184
+ @navbarBackgroundHighlight: @grayDarker;
185
185
  @navbarBackground: @grayDarker;
186
186
  @navbarBorder: transparent;
187
187
 
@@ -1,9 +1,12 @@
1
1
  module Vision::ResourceHelper
2
2
  def sortable(column, title = nil)
3
3
  title ||= resource_class.human_attribute_name(attr)
4
- css_class = column == sort_column ? "current #{sort_direction}" : nil
4
+ css_class = column == sort_column ? "current #{sort_direction} link-no-decoration" : 'link-no-decoration'
5
5
  direction = column == sort_column && sort_direction == "asc" ? "desc" : "asc"
6
- link_to title, params.merge(:sort => column, :direction => direction, :page=>nil), {:class => css_class}
6
+ direction_class = column == sort_column && sort_direction == "asc" ? "icon-sort-up" : "icon-sort-down"
7
+ link_to params.merge(:sort => column, :direction => direction, :page=>nil), {:class => css_class} do
8
+ content_tag(:span, title) + content_tag(:i, '', class: direction_class)
9
+ end
7
10
  end
8
11
 
9
12
 
@@ -1,3 +1,3 @@
1
1
  module Vision
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,4 @@
1
+ class Vision::ThemeController < Vision::ApplicationController
2
+ def index
3
+ end
4
+ end
@@ -0,0 +1,160 @@
1
+ .row-fluid
2
+ .page-header
3
+ %h1 Theme UI Examples
4
+
5
+ .row-fluid
6
+ %h3 Awesome Icons
7
+ %i.icon-spinner.icon-spin.icon-2x
8
+ %i.icon-trash.icon-2x
9
+ %i.icon-bar-chart.icon-2x
10
+ %hr
11
+
12
+ .row-fluid
13
+ %h3 Labels
14
+ %span.label Default
15
+ %span.label.label-success Success
16
+ %span.label.label-warning Warning
17
+ %span.label.label-important Important
18
+ %span.label.label-info Info
19
+ %span.label.label-inverse Inverse
20
+ %hr
21
+
22
+ .row-fluid
23
+ %h3 Badges
24
+ %span.badge Default
25
+ %span.badge.badge-success Success
26
+ %span.badge.badge-warning Warning
27
+ %span.badge.badge-important Important
28
+ %span.badge.badge-info Info
29
+ %span.badge.badge-inverse Inverse
30
+ %hr
31
+
32
+ .row-fluid
33
+ %h3 Progress Bar
34
+ .span2
35
+ .progress
36
+ .bar{:style => "width: 60%;"}
37
+ .span2
38
+ .progress.progress-info.progress-striped
39
+ .bar{:style => "width: 20%;"}
40
+ .span2
41
+ .progress.progress-danger.progress-striped.active
42
+ .bar{:style => "width: 45%"}
43
+
44
+ %hr
45
+
46
+ .row-fluid
47
+ %h3 Alerts
48
+ .row
49
+ .span7
50
+ .alert.alert-block
51
+ %a.close ×
52
+ %h4.alert-heading Alert block
53
+ %p Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
54
+
55
+ .row
56
+ .span3
57
+ .alert.alert-error
58
+ %a.close ×
59
+ %strong Error
60
+ Change a few things up and try submitting again.
61
+ .span3
62
+ .alert.alert-success
63
+ %a.close ×
64
+ %strong Success
65
+ You successfully read this important alert message.
66
+ .span3
67
+ .alert.alert-info
68
+ %a.close ×
69
+ %strong Information
70
+ This alert needs your attention, but it's not super important.
71
+ %hr
72
+
73
+ .row-fluid
74
+ %h3 Form
75
+ %form.form-horizontal.well
76
+ %fieldset
77
+ %legend Controls Bootstrap supports
78
+ .control-group
79
+ %label.control-label{:for => "input01"} Text input
80
+ .controls
81
+ %input#input01.input-xlarge{:type => "text"}/
82
+ %p.help-block In addition to freeform text, any HTML5 text-based input appears like so.
83
+ .control-group
84
+ %label.control-label{:for => "optionsCheckbox"} Checkbox
85
+ .controls
86
+ %label.checkbox
87
+ %input#optionsCheckbox{:type => "checkbox", :value => "option1"}/
88
+ Option one is this and that—be sure to include why it's great
89
+ .control-group
90
+ %label.control-label{:for => "select01"} Select list
91
+ .controls
92
+ %select#select01
93
+ %option something
94
+ %option 2
95
+ %option 3
96
+ %option 4
97
+ %option 5
98
+ .control-group
99
+ %label.control-label{:for => "multiSelect"} Multicon-select
100
+ .controls
101
+ %select#multiSelect{:multiple => "multiple"}
102
+ %option 1
103
+ %option 2
104
+ %option 3
105
+ %option 4
106
+ %option 5
107
+ .control-group
108
+ %label.control-label{:for => "fileInput"} File input
109
+ .controls
110
+ %input#fileInput.input-file{:type => "file"}/
111
+ .control-group
112
+ %label.control-label{:for => "textarea"} Textarea
113
+ .controls
114
+ %textarea#textarea.input-xlarge{:rows => "3"}
115
+ .control-group
116
+ %label.control-label{:for => "focusedInput"} Focused input
117
+ .controls
118
+ %input#focusedInput.input-xlarge.focused{:type => "text", :value => "This is focused…"}/
119
+ .control-group
120
+ %label.control-label Uneditable input
121
+ .controls
122
+ %span.input-xlarge.uneditable-input Some value here
123
+ .control-group
124
+ %label.control-label{:for => "disabledInput"} Disabled input
125
+ .controls
126
+ %input#disabledInput.input-xlarge.disabled{:disabled => "", :placeholder => "Disabled input here…", :type => "text"}/
127
+ .control-group
128
+ %label.control-label{:for => "optionsCheckbox2"} Disabled checkbox
129
+ .controls
130
+ %label.checkbox
131
+ %input#optionsCheckbox2{:disabled => "", :type => "checkbox", :value => "option1"}/
132
+ This is a disabled checkbox
133
+ .control-group.warning
134
+ %label.control-label{:for => "inputWarning"} Input with warning
135
+ .controls
136
+ %input#inputWarning{:type => "text"}/
137
+ %span.help-inline Something may have gone wrong
138
+ .control-group.error
139
+ %label.control-label{:for => "inputError"} Input with error
140
+ .controls
141
+ %input#inputError{:type => "text"}/
142
+ %span.help-inline Please correct the error
143
+ .control-group.success
144
+ %label.control-label{:for => "inputSuccess"} Input with success
145
+ .controls
146
+ %input#inputSuccess{:type => "text"}/
147
+ %span.help-inline Woohoo!
148
+ .control-group.info
149
+ %label.control-label{:for => "selectError"} Select with info
150
+ .controls
151
+ %select#selectError
152
+ %option 1
153
+ %option 2
154
+ %option 3
155
+ %option 4
156
+ %option 5
157
+ %span.help-inline Woohoo!
158
+ .form-actions
159
+ %button.btn.btn-primary{:type => "submit"} Save changes
160
+ %button.btn{:type => "reset"} Cancel
@@ -6,7 +6,7 @@ Dummy::Application.routes.draw do
6
6
  namespace :vision, {:path=>'vision'} do
7
7
  # vision routes
8
8
 
9
- root :to=> 'users#index'
9
+ root :to=> 'theme#index'
10
10
  resources :posts
11
11
  resources :users
12
12
  end
@@ -0,0 +1,2 @@
1
+ User.create!(email: "tester@zengile.com", password: "password", password_confirmation: "password")
2
+ puts 'User created. Login: tester@zengile.com, password: password'
metadata CHANGED
@@ -1,352 +1,309 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vision
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.1
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Serj Prikhodko
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
11
+ date: 2013-06-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- type: :runtime
16
- prerelease: false
17
14
  name: rails
18
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
19
16
  requirements:
20
17
  - - ~>
21
18
  - !ruby/object:Gem::Version
22
19
  version: 3.2.11
23
- none: false
24
- requirement: !ruby/object:Gem::Requirement
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
24
  - - ~>
27
25
  - !ruby/object:Gem::Version
28
26
  version: 3.2.11
29
- none: false
30
27
  - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
31
34
  type: :runtime
32
35
  prerelease: false
33
- name: jquery-rails
34
36
  version_requirements: !ruby/object:Gem::Requirement
35
37
  requirements:
36
- - - ! '>='
38
+ - - '>='
37
39
  - !ruby/object:Gem::Version
38
40
  version: '0'
39
- none: false
41
+ - !ruby/object:Gem::Dependency
42
+ name: jquery-ui-rails
40
43
  requirement: !ruby/object:Gem::Requirement
41
44
  requirements:
42
- - - ! '>='
45
+ - - '>='
43
46
  - !ruby/object:Gem::Version
44
47
  version: '0'
45
- none: false
46
- - !ruby/object:Gem::Dependency
47
48
  type: :runtime
48
49
  prerelease: false
49
- name: jquery-ui-rails
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- none: false
55
+ - !ruby/object:Gem::Dependency
56
+ name: haml-rails
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - ! '>='
59
+ - - '>='
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- none: false
62
- - !ruby/object:Gem::Dependency
63
62
  type: :runtime
64
63
  prerelease: false
65
- name: haml-rails
66
64
  version_requirements: !ruby/object:Gem::Requirement
67
65
  requirements:
68
- - - ! '>='
66
+ - - '>='
69
67
  - !ruby/object:Gem::Version
70
68
  version: '0'
71
- none: false
69
+ - !ruby/object:Gem::Dependency
70
+ name: twitter-bootstrap-rails
72
71
  requirement: !ruby/object:Gem::Requirement
73
72
  requirements:
74
- - - ! '>='
73
+ - - '>='
75
74
  - !ruby/object:Gem::Version
76
75
  version: '0'
77
- none: false
78
- - !ruby/object:Gem::Dependency
79
76
  type: :runtime
80
77
  prerelease: false
81
- name: twitter-bootstrap-rails
82
78
  version_requirements: !ruby/object:Gem::Requirement
83
79
  requirements:
84
- - - ! '>='
80
+ - - '>='
85
81
  - !ruby/object:Gem::Version
86
82
  version: '0'
87
- none: false
83
+ - !ruby/object:Gem::Dependency
84
+ name: kaminari
88
85
  requirement: !ruby/object:Gem::Requirement
89
86
  requirements:
90
- - - ! '>='
87
+ - - '>='
91
88
  - !ruby/object:Gem::Version
92
89
  version: '0'
93
- none: false
94
- - !ruby/object:Gem::Dependency
95
90
  type: :runtime
96
91
  prerelease: false
97
- name: kaminari
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
- - - ! '>='
94
+ - - '>='
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
- none: false
97
+ - !ruby/object:Gem::Dependency
98
+ name: bootstrap-kaminari-views
104
99
  requirement: !ruby/object:Gem::Requirement
105
100
  requirements:
106
- - - ! '>='
101
+ - - '>='
107
102
  - !ruby/object:Gem::Version
108
103
  version: '0'
109
- none: false
110
- - !ruby/object:Gem::Dependency
111
104
  type: :runtime
112
105
  prerelease: false
113
- name: bootstrap-kaminari-views
114
106
  version_requirements: !ruby/object:Gem::Requirement
115
107
  requirements:
116
- - - ! '>='
108
+ - - '>='
117
109
  - !ruby/object:Gem::Version
118
110
  version: '0'
119
- none: false
111
+ - !ruby/object:Gem::Dependency
112
+ name: redactor-rails
120
113
  requirement: !ruby/object:Gem::Requirement
121
114
  requirements:
122
- - - ! '>='
115
+ - - '>='
123
116
  - !ruby/object:Gem::Version
124
117
  version: '0'
125
- none: false
126
- - !ruby/object:Gem::Dependency
127
118
  type: :runtime
128
119
  prerelease: false
129
- name: redactor-rails
130
120
  version_requirements: !ruby/object:Gem::Requirement
131
121
  requirements:
132
- - - ! '>='
122
+ - - '>='
133
123
  - !ruby/object:Gem::Version
134
124
  version: '0'
135
- none: false
125
+ - !ruby/object:Gem::Dependency
126
+ name: carrierwave
136
127
  requirement: !ruby/object:Gem::Requirement
137
128
  requirements:
138
- - - ! '>='
129
+ - - '>='
139
130
  - !ruby/object:Gem::Version
140
131
  version: '0'
141
- none: false
142
- - !ruby/object:Gem::Dependency
143
132
  type: :runtime
144
133
  prerelease: false
145
- name: carrierwave
146
134
  version_requirements: !ruby/object:Gem::Requirement
147
135
  requirements:
148
- - - ! '>='
136
+ - - '>='
149
137
  - !ruby/object:Gem::Version
150
138
  version: '0'
151
- none: false
139
+ - !ruby/object:Gem::Dependency
140
+ name: mini_magick
152
141
  requirement: !ruby/object:Gem::Requirement
153
142
  requirements:
154
- - - ! '>='
143
+ - - '>='
155
144
  - !ruby/object:Gem::Version
156
145
  version: '0'
157
- none: false
158
- - !ruby/object:Gem::Dependency
159
146
  type: :runtime
160
147
  prerelease: false
161
- name: mini_magick
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
- - - ! '>='
150
+ - - '>='
165
151
  - !ruby/object:Gem::Version
166
152
  version: '0'
167
- none: false
153
+ - !ruby/object:Gem::Dependency
154
+ name: simple_form
168
155
  requirement: !ruby/object:Gem::Requirement
169
156
  requirements:
170
- - - ! '>='
157
+ - - '>='
171
158
  - !ruby/object:Gem::Version
172
159
  version: '0'
173
- none: false
174
- - !ruby/object:Gem::Dependency
175
160
  type: :runtime
176
161
  prerelease: false
177
- name: simple_form
178
162
  version_requirements: !ruby/object:Gem::Requirement
179
163
  requirements:
180
- - - ! '>='
164
+ - - '>='
181
165
  - !ruby/object:Gem::Version
182
166
  version: '0'
183
- none: false
167
+ - !ruby/object:Gem::Dependency
168
+ name: simple_form_fancy_uploads
184
169
  requirement: !ruby/object:Gem::Requirement
185
170
  requirements:
186
- - - ! '>='
171
+ - - '>='
187
172
  - !ruby/object:Gem::Version
188
173
  version: '0'
189
- none: false
190
- - !ruby/object:Gem::Dependency
191
174
  type: :runtime
192
175
  prerelease: false
193
- name: simple_form_fancy_uploads
194
176
  version_requirements: !ruby/object:Gem::Requirement
195
177
  requirements:
196
- - - ! '>='
178
+ - - '>='
197
179
  - !ruby/object:Gem::Version
198
180
  version: '0'
199
- none: false
181
+ - !ruby/object:Gem::Dependency
182
+ name: simple-navigation
200
183
  requirement: !ruby/object:Gem::Requirement
201
184
  requirements:
202
- - - ! '>='
185
+ - - '>='
203
186
  - !ruby/object:Gem::Version
204
187
  version: '0'
205
- none: false
206
- - !ruby/object:Gem::Dependency
207
188
  type: :runtime
208
189
  prerelease: false
209
- name: simple-navigation
210
190
  version_requirements: !ruby/object:Gem::Requirement
211
191
  requirements:
212
- - - ! '>='
192
+ - - '>='
213
193
  - !ruby/object:Gem::Version
214
194
  version: '0'
215
- none: false
195
+ - !ruby/object:Gem::Dependency
196
+ name: inherited_resources
216
197
  requirement: !ruby/object:Gem::Requirement
217
198
  requirements:
218
- - - ! '>='
199
+ - - '>='
219
200
  - !ruby/object:Gem::Version
220
201
  version: '0'
221
- none: false
222
- - !ruby/object:Gem::Dependency
223
202
  type: :runtime
224
203
  prerelease: false
225
- name: inherited_resources
226
204
  version_requirements: !ruby/object:Gem::Requirement
227
205
  requirements:
228
- - - ! '>='
206
+ - - '>='
229
207
  - !ruby/object:Gem::Version
230
208
  version: '0'
231
- none: false
209
+ - !ruby/object:Gem::Dependency
210
+ name: has_scope
232
211
  requirement: !ruby/object:Gem::Requirement
233
212
  requirements:
234
- - - ! '>='
213
+ - - '>='
235
214
  - !ruby/object:Gem::Version
236
215
  version: '0'
237
- none: false
238
- - !ruby/object:Gem::Dependency
239
216
  type: :runtime
240
217
  prerelease: false
241
- name: has_scope
242
218
  version_requirements: !ruby/object:Gem::Requirement
243
219
  requirements:
244
- - - ! '>='
220
+ - - '>='
245
221
  - !ruby/object:Gem::Version
246
222
  version: '0'
247
- none: false
223
+ - !ruby/object:Gem::Dependency
224
+ name: cancan
248
225
  requirement: !ruby/object:Gem::Requirement
249
226
  requirements:
250
- - - ! '>='
227
+ - - '>='
251
228
  - !ruby/object:Gem::Version
252
229
  version: '0'
253
- none: false
254
- - !ruby/object:Gem::Dependency
255
230
  type: :runtime
256
231
  prerelease: false
257
- name: cancan
258
232
  version_requirements: !ruby/object:Gem::Requirement
259
233
  requirements:
260
- - - ! '>='
234
+ - - '>='
261
235
  - !ruby/object:Gem::Version
262
236
  version: '0'
263
- none: false
237
+ - !ruby/object:Gem::Dependency
238
+ name: less-rails
264
239
  requirement: !ruby/object:Gem::Requirement
265
240
  requirements:
266
- - - ! '>='
241
+ - - '>='
267
242
  - !ruby/object:Gem::Version
268
243
  version: '0'
269
- none: false
270
- - !ruby/object:Gem::Dependency
271
244
  type: :runtime
272
245
  prerelease: false
273
- name: less-rails
274
246
  version_requirements: !ruby/object:Gem::Requirement
275
247
  requirements:
276
- - - ! '>='
248
+ - - '>='
277
249
  - !ruby/object:Gem::Version
278
250
  version: '0'
279
- none: false
251
+ - !ruby/object:Gem::Dependency
252
+ name: less
280
253
  requirement: !ruby/object:Gem::Requirement
281
254
  requirements:
282
- - - ! '>='
255
+ - - '>='
283
256
  - !ruby/object:Gem::Version
284
257
  version: '0'
285
- none: false
286
- - !ruby/object:Gem::Dependency
287
258
  type: :runtime
288
259
  prerelease: false
289
- name: less
290
260
  version_requirements: !ruby/object:Gem::Requirement
291
261
  requirements:
292
- - - ! '>='
262
+ - - '>='
293
263
  - !ruby/object:Gem::Version
294
264
  version: '0'
295
- none: false
265
+ - !ruby/object:Gem::Dependency
266
+ name: uglifier
296
267
  requirement: !ruby/object:Gem::Requirement
297
268
  requirements:
298
- - - ! '>='
269
+ - - '>='
299
270
  - !ruby/object:Gem::Version
300
271
  version: '0'
301
- none: false
302
- - !ruby/object:Gem::Dependency
303
272
  type: :runtime
304
273
  prerelease: false
305
- name: uglifier
306
274
  version_requirements: !ruby/object:Gem::Requirement
307
275
  requirements:
308
- - - ! '>='
276
+ - - '>='
309
277
  - !ruby/object:Gem::Version
310
278
  version: '0'
311
- none: false
279
+ - !ruby/object:Gem::Dependency
280
+ name: execjs
312
281
  requirement: !ruby/object:Gem::Requirement
313
282
  requirements:
314
- - - ! '>='
283
+ - - '>='
315
284
  - !ruby/object:Gem::Version
316
285
  version: '0'
317
- none: false
318
- - !ruby/object:Gem::Dependency
319
286
  type: :runtime
320
287
  prerelease: false
321
- name: execjs
322
288
  version_requirements: !ruby/object:Gem::Requirement
323
289
  requirements:
324
- - - ! '>='
290
+ - - '>='
325
291
  - !ruby/object:Gem::Version
326
292
  version: '0'
327
- none: false
293
+ - !ruby/object:Gem::Dependency
294
+ name: therubyracer
328
295
  requirement: !ruby/object:Gem::Requirement
329
296
  requirements:
330
- - - ! '>='
297
+ - - '>='
331
298
  - !ruby/object:Gem::Version
332
299
  version: '0'
333
- none: false
334
- - !ruby/object:Gem::Dependency
335
300
  type: :runtime
336
301
  prerelease: false
337
- name: therubyracer
338
302
  version_requirements: !ruby/object:Gem::Requirement
339
303
  requirements:
340
- - - ! '>='
341
- - !ruby/object:Gem::Version
342
- version: '0'
343
- none: false
344
- requirement: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - ! '>='
304
+ - - '>='
347
305
  - !ruby/object:Gem::Version
348
306
  version: '0'
349
- none: false
350
307
  description: Vision is a Rails Way dashboard, built as a simple alternative to ActiveAdmin.
351
308
  email:
352
309
  - sergey@zengile.com
@@ -354,228 +311,221 @@ executables: []
354
311
  extensions: []
355
312
  extra_rdoc_files: []
356
313
  files:
357
- - app/helpers/vision/resource_helper.rb
358
- - app/helpers/vision/application_helper.rb~
359
- - app/helpers/vision/resource_helper.rb~
360
314
  - app/helpers/vision/application_helper.rb
361
- - app/uploaders/redactor_rails_picture_uploader.rb
362
- - app/uploaders/redactor_rails_document_uploader.rb
363
- - app/models/redactor_rails/asset.rb
364
- - app/models/redactor_rails/picture.rb
365
- - app/models/redactor_rails/document.rb
366
- - app/models/ability.rb
367
- - app/views/vision/application/_user_bar.html.haml
368
- - app/views/vision/resource/_index.html.haml
369
- - app/views/vision/resource/index.html.haml
370
- - app/views/vision/resource/edit.html.haml
371
- - app/views/vision/resource/show.html.haml
372
- - app/views/vision/resource/_search.html.haml
373
- - app/views/vision/resource/new.html.haml
374
- - app/views/vision/resource/_form.html.haml
375
- - app/views/shared/_pagination.html.haml
376
- - app/views/layouts/vision/application.html.haml
315
+ - app/helpers/vision/resource_helper.rb~
316
+ - app/helpers/vision/application_helper.rb~
317
+ - app/helpers/vision/resource_helper.rb
377
318
  - app/controllers/vision/responder.rb
378
319
  - app/controllers/vision/resource_controller.rb
379
320
  - app/controllers/vision/application_controller.rb
380
- - app/assets/images/vision/sort-arrows-down.png
381
- - app/assets/images/vision/img/glyphicons-halflings.png
321
+ - app/uploaders/redactor_rails_document_uploader.rb
322
+ - app/uploaders/redactor_rails_picture_uploader.rb
323
+ - app/assets/javascripts/vision/application.js
324
+ - app/assets/javascripts/vision/redactor-rails/config.js
325
+ - app/assets/javascripts/vision/redactor-rails/ru.js
382
326
  - app/assets/images/vision/sort-arrows-up.png
327
+ - app/assets/images/vision/img/glyphicons-halflings.png
328
+ - app/assets/images/vision/sort-arrows-down.png
383
329
  - app/assets/stylesheets/vision/bootstrap_and_overrides.css.less
330
+ - app/assets/stylesheets/vision/cosmo_theme/variables.css.less
331
+ - app/assets/stylesheets/vision/cosmo_theme/bootswatch.css.less
384
332
  - app/assets/stylesheets/vision/application.css
385
- - app/assets/stylesheets/vision/bootstrap_theme/variables.less
386
- - app/assets/stylesheets/vision/bootstrap_theme/bootswatch.css.less
387
- - app/assets/stylesheets/vision/bootstrap_theme/bootstrap-responsive.min.css.less
388
- - app/assets/stylesheets/vision/bootstrap_theme/bootstrap.css.less
389
- - app/assets/javascripts/vision/application.js
390
- - app/assets/javascripts/vision/redactor-rails/ru.js
391
- - app/assets/javascripts/vision/redactor-rails/config.js
333
+ - app/views/layouts/vision/application.html.haml
334
+ - app/views/vision/resource/_form.html.haml
335
+ - app/views/vision/resource/_index.html.haml
336
+ - app/views/vision/resource/show.html.haml
337
+ - app/views/vision/resource/index.html.haml
338
+ - app/views/vision/resource/_search.html.haml
339
+ - app/views/vision/resource/edit.html.haml
340
+ - app/views/vision/resource/new.html.haml
341
+ - app/views/vision/application/_user_bar.html.haml
342
+ - app/views/shared/_pagination.html.haml
343
+ - app/models/ability.rb
344
+ - app/models/redactor_rails/document.rb
345
+ - app/models/redactor_rails/asset.rb
346
+ - app/models/redactor_rails/picture.rb
347
+ - config/routes.rb
392
348
  - config/initializers/simple_form.rb
393
349
  - config/initializers/simple_form_bootstrap.rb
394
- - config/routes.rb
395
- - lib/generators/templates/vision_navigation.rb
396
- - lib/generators/templates/stylesheets/vision/application.css
350
+ - lib/generators/vision/assets_generator.rb
351
+ - lib/generators/vision/layout_generator.rb
352
+ - lib/generators/vision/css_generator.rb
353
+ - lib/generators/vision/js_generator.rb
354
+ - lib/generators/vision/resource_generator.rb
355
+ - lib/generators/vision/views_generator.rb
356
+ - lib/generators/vision/install_generator.rb
397
357
  - lib/generators/templates/vision.rb
398
- - lib/generators/templates/resource_controller.rb.erb
399
- - lib/generators/templates/layouts/vision/application.html.haml
400
358
  - lib/generators/templates/javascripts/vision/application.js
359
+ - lib/generators/templates/layouts/vision/application.html.haml
360
+ - lib/generators/templates/migrations/create_redactor_assets.rb
361
+ - lib/generators/templates/resource/_form.html.haml
401
362
  - lib/generators/templates/resource/_index.html.haml
402
- - lib/generators/templates/resource/index.html.haml
403
- - lib/generators/templates/resource/edit.html.haml
404
363
  - lib/generators/templates/resource/show.html.haml
364
+ - lib/generators/templates/resource/index.html.haml
405
365
  - lib/generators/templates/resource/_search.html.haml
366
+ - lib/generators/templates/resource/edit.html.haml
406
367
  - lib/generators/templates/resource/new.html.haml
407
- - lib/generators/templates/resource/_form.html.haml
408
- - lib/generators/templates/migrations/create_redactor_assets.rb
409
- - lib/generators/vision/layout_generator.rb
410
- - lib/generators/vision/assets_generator.rb
411
- - lib/generators/vision/install_generator.rb
412
- - lib/generators/vision/js_generator.rb
413
- - lib/generators/vision/resource_generator.rb
414
- - lib/generators/vision/css_generator.rb
415
- - lib/generators/vision/views_generator.rb
368
+ - lib/generators/templates/stylesheets/vision/application.css
369
+ - lib/generators/templates/vision_navigation.rb
370
+ - lib/generators/templates/resource_controller.rb.erb
416
371
  - lib/generators/install_generator.rb~
372
+ - lib/vision.rb
417
373
  - lib/vision/version.rb
418
374
  - lib/vision/engine.rb
419
375
  - lib/vision/engine.rb~
420
- - lib/vision.rb
421
376
  - lib/tasks/vision_tasks.rake
422
377
  - MIT-LICENSE
423
378
  - Rakefile
424
379
  - README.md
425
- - test/integration/navigation_test.rb
426
380
  - test/test_helper.rb
427
- - test/dummy/log/development.log
428
- - test/dummy/public/favicon.ico
429
- - test/dummy/public/404.html
430
- - test/dummy/public/422.html
431
- - test/dummy/public/500.html
432
- - test/dummy/public/system/redactor_assets/pictures/1/content_2CEKRCGXPrw.jpg
433
- - test/dummy/public/system/redactor_assets/pictures/1/zengile.jpg
434
- - test/dummy/public/system/redactor_assets/pictures/1/content_zengile.jpg
435
- - test/dummy/public/system/redactor_assets/pictures/1/2CEKRCGXPrw.jpg
436
- - test/dummy/public/system/redactor_assets/pictures/1/thumb_2CEKRCGXPrw.jpg
437
- - test/dummy/public/system/redactor_assets/pictures/1/thumb_zengile.jpg
438
- - test/dummy/config.ru
439
- - test/dummy/README.rdoc
440
- - test/dummy/test/fixtures/posts.yml
441
- - test/dummy/test/fixtures/users.yml
442
- - test/dummy/test/unit/post_test.rb
443
- - test/dummy/test/unit/user_test.rb
444
- - test/dummy/db/development.sqlite3
445
- - test/dummy/db/migrate/20130215163420_create_posts.rb
446
- - test/dummy/db/migrate/20130310104039_create_redactor_assets.rb
447
- - test/dummy/db/migrate/20130212093826_add_devise_to_users.rb
448
- - test/dummy/db/migrate/20130212093735_create_users.rb
449
- - test/dummy/db/schema.rb
450
- - test/dummy/Rakefile
381
+ - test/integration/navigation_test.rb
451
382
  - test/dummy/script/rails
452
- - test/dummy/config/vision_navigation.rb
453
- - test/dummy/config/boot.rb
454
- - test/dummy/config/locales/en.yml
455
383
  - test/dummy/config/locales/devise.en.yml
384
+ - test/dummy/config/locales/en.yml
385
+ - test/dummy/config/environments/production.rb
386
+ - test/dummy/config/environments/test.rb
387
+ - test/dummy/config/environments/development.rb
388
+ - test/dummy/config/application.rb
389
+ - test/dummy/config/boot.rb
390
+ - test/dummy/config/routes.rb
456
391
  - test/dummy/config/initializers/wrap_parameters.rb
457
- - test/dummy/config/initializers/backtrace_silencers.rb
458
392
  - test/dummy/config/initializers/vision.rb
459
- - test/dummy/config/initializers/inflections.rb
460
- - test/dummy/config/initializers/devise.rb
461
- - test/dummy/config/initializers/secret_token.rb
462
393
  - test/dummy/config/initializers/session_store.rb
394
+ - test/dummy/config/initializers/inflections.rb
463
395
  - test/dummy/config/initializers/mime_types.rb
464
- - test/dummy/config/environments/test.rb
465
- - test/dummy/config/environments/production.rb
466
- - test/dummy/config/environments/development.rb
467
- - test/dummy/config/environment.rb
468
- - test/dummy/config/routes.rb
469
- - test/dummy/config/application.rb
396
+ - test/dummy/config/initializers/backtrace_silencers.rb
397
+ - test/dummy/config/initializers/secret_token.rb
398
+ - test/dummy/config/initializers/devise.rb
470
399
  - test/dummy/config/database.yml
400
+ - test/dummy/config/environment.rb
401
+ - test/dummy/config/vision_navigation.rb
471
402
  - test/dummy/app/helpers/application_helper.rb
472
- - test/dummy/app/models/post.rb
473
- - test/dummy/app/models/user.rb
474
- - test/dummy/app/views/vision/posts/_index.html.haml
475
- - test/dummy/app/views/vision/posts/index.html.haml
476
- - test/dummy/app/views/vision/posts/edit.html.haml
477
- - test/dummy/app/views/vision/posts/show.html.haml
478
- - test/dummy/app/views/vision/posts/_search.html.haml
479
- - test/dummy/app/views/vision/posts/new.html.haml
480
- - test/dummy/app/views/vision/posts/_form.html.haml
481
- - test/dummy/app/views/layouts/application.html.erb
482
403
  - test/dummy/app/controllers/vision/posts_controller.rb
483
404
  - test/dummy/app/controllers/vision/users_controller.rb
484
405
  - test/dummy/app/controllers/application_controller.rb
485
- - test/dummy/app/assets/stylesheets/application.css
406
+ - test/dummy/app/controllers/theme_controller.rb
486
407
  - test/dummy/app/assets/javascripts/application.js
408
+ - test/dummy/app/assets/stylesheets/application.css
409
+ - test/dummy/app/views/layouts/application.html.erb
410
+ - test/dummy/app/views/vision/posts/_form.html.haml
411
+ - test/dummy/app/views/vision/posts/_index.html.haml
412
+ - test/dummy/app/views/vision/posts/show.html.haml
413
+ - test/dummy/app/views/vision/posts/index.html.haml
414
+ - test/dummy/app/views/vision/posts/_search.html.haml
415
+ - test/dummy/app/views/vision/posts/edit.html.haml
416
+ - test/dummy/app/views/vision/posts/new.html.haml
417
+ - test/dummy/app/views/vision/theme/index.html.haml
418
+ - test/dummy/app/models/post.rb
419
+ - test/dummy/app/models/user.rb
420
+ - test/dummy/Rakefile
421
+ - test/dummy/db/migrate/20130310104039_create_redactor_assets.rb
422
+ - test/dummy/db/migrate/20130212093735_create_users.rb
423
+ - test/dummy/db/migrate/20130215163420_create_posts.rb
424
+ - test/dummy/db/migrate/20130212093826_add_devise_to_users.rb
425
+ - test/dummy/db/seeds.rb
426
+ - test/dummy/db/schema.rb
427
+ - test/dummy/test/unit/post_test.rb
428
+ - test/dummy/test/unit/user_test.rb
429
+ - test/dummy/test/fixtures/users.yml
430
+ - test/dummy/test/fixtures/posts.yml
431
+ - test/dummy/config.ru
432
+ - test/dummy/README.rdoc
433
+ - test/dummy/public/404.html
434
+ - test/dummy/public/422.html
435
+ - test/dummy/public/favicon.ico
436
+ - test/dummy/public/500.html
437
+ - test/dummy/public/system/redactor_assets/pictures/1/2CEKRCGXPrw.jpg
438
+ - test/dummy/public/system/redactor_assets/pictures/1/thumb_2CEKRCGXPrw.jpg
439
+ - test/dummy/public/system/redactor_assets/pictures/1/content_zengile.jpg
440
+ - test/dummy/public/system/redactor_assets/pictures/1/content_2CEKRCGXPrw.jpg
441
+ - test/dummy/public/system/redactor_assets/pictures/1/zengile.jpg
442
+ - test/dummy/public/system/redactor_assets/pictures/1/thumb_zengile.jpg
487
443
  - test/vision_test.rb
488
444
  homepage: http://github.com/prikha/vision
489
445
  licenses: []
446
+ metadata: {}
490
447
  post_install_message:
491
448
  rdoc_options: []
492
449
  require_paths:
493
450
  - lib
494
451
  required_ruby_version: !ruby/object:Gem::Requirement
495
452
  requirements:
496
- - - ! '>='
453
+ - - '>='
497
454
  - !ruby/object:Gem::Version
498
- hash: -2684726156863933638
499
- segments:
500
- - 0
501
455
  version: '0'
502
- none: false
503
456
  required_rubygems_version: !ruby/object:Gem::Requirement
504
457
  requirements:
505
- - - ! '>='
458
+ - - '>='
506
459
  - !ruby/object:Gem::Version
507
- hash: -2684726156863933638
508
- segments:
509
- - 0
510
460
  version: '0'
511
- none: false
512
461
  requirements: []
513
462
  rubyforge_project:
514
- rubygems_version: 1.8.25
463
+ rubygems_version: 2.0.3
515
464
  signing_key:
516
- specification_version: 3
465
+ specification_version: 4
517
466
  summary: Vision is a Rails Way dashboard, built as a simple alternative to ActiveAdmin.
518
467
  test_files:
519
- - test/integration/navigation_test.rb
520
468
  - test/test_helper.rb
521
- - test/dummy/log/development.log
522
- - test/dummy/public/favicon.ico
523
- - test/dummy/public/404.html
524
- - test/dummy/public/422.html
525
- - test/dummy/public/500.html
526
- - test/dummy/public/system/redactor_assets/pictures/1/content_2CEKRCGXPrw.jpg
527
- - test/dummy/public/system/redactor_assets/pictures/1/zengile.jpg
528
- - test/dummy/public/system/redactor_assets/pictures/1/content_zengile.jpg
529
- - test/dummy/public/system/redactor_assets/pictures/1/2CEKRCGXPrw.jpg
530
- - test/dummy/public/system/redactor_assets/pictures/1/thumb_2CEKRCGXPrw.jpg
531
- - test/dummy/public/system/redactor_assets/pictures/1/thumb_zengile.jpg
532
- - test/dummy/config.ru
533
- - test/dummy/README.rdoc
534
- - test/dummy/test/fixtures/posts.yml
535
- - test/dummy/test/fixtures/users.yml
536
- - test/dummy/test/unit/post_test.rb
537
- - test/dummy/test/unit/user_test.rb
538
- - test/dummy/db/development.sqlite3
539
- - test/dummy/db/migrate/20130215163420_create_posts.rb
540
- - test/dummy/db/migrate/20130310104039_create_redactor_assets.rb
541
- - test/dummy/db/migrate/20130212093826_add_devise_to_users.rb
542
- - test/dummy/db/migrate/20130212093735_create_users.rb
543
- - test/dummy/db/schema.rb
544
- - test/dummy/Rakefile
469
+ - test/integration/navigation_test.rb
545
470
  - test/dummy/script/rails
546
- - test/dummy/config/vision_navigation.rb
547
- - test/dummy/config/boot.rb
548
- - test/dummy/config/locales/en.yml
549
471
  - test/dummy/config/locales/devise.en.yml
472
+ - test/dummy/config/locales/en.yml
473
+ - test/dummy/config/environments/production.rb
474
+ - test/dummy/config/environments/test.rb
475
+ - test/dummy/config/environments/development.rb
476
+ - test/dummy/config/application.rb
477
+ - test/dummy/config/boot.rb
478
+ - test/dummy/config/routes.rb
550
479
  - test/dummy/config/initializers/wrap_parameters.rb
551
- - test/dummy/config/initializers/backtrace_silencers.rb
552
480
  - test/dummy/config/initializers/vision.rb
553
- - test/dummy/config/initializers/inflections.rb
554
- - test/dummy/config/initializers/devise.rb
555
- - test/dummy/config/initializers/secret_token.rb
556
481
  - test/dummy/config/initializers/session_store.rb
482
+ - test/dummy/config/initializers/inflections.rb
557
483
  - test/dummy/config/initializers/mime_types.rb
558
- - test/dummy/config/environments/test.rb
559
- - test/dummy/config/environments/production.rb
560
- - test/dummy/config/environments/development.rb
561
- - test/dummy/config/environment.rb
562
- - test/dummy/config/routes.rb
563
- - test/dummy/config/application.rb
484
+ - test/dummy/config/initializers/backtrace_silencers.rb
485
+ - test/dummy/config/initializers/secret_token.rb
486
+ - test/dummy/config/initializers/devise.rb
564
487
  - test/dummy/config/database.yml
488
+ - test/dummy/config/environment.rb
489
+ - test/dummy/config/vision_navigation.rb
565
490
  - test/dummy/app/helpers/application_helper.rb
566
- - test/dummy/app/models/post.rb
567
- - test/dummy/app/models/user.rb
568
- - test/dummy/app/views/vision/posts/_index.html.haml
569
- - test/dummy/app/views/vision/posts/index.html.haml
570
- - test/dummy/app/views/vision/posts/edit.html.haml
571
- - test/dummy/app/views/vision/posts/show.html.haml
572
- - test/dummy/app/views/vision/posts/_search.html.haml
573
- - test/dummy/app/views/vision/posts/new.html.haml
574
- - test/dummy/app/views/vision/posts/_form.html.haml
575
- - test/dummy/app/views/layouts/application.html.erb
576
491
  - test/dummy/app/controllers/vision/posts_controller.rb
577
492
  - test/dummy/app/controllers/vision/users_controller.rb
578
493
  - test/dummy/app/controllers/application_controller.rb
579
- - test/dummy/app/assets/stylesheets/application.css
494
+ - test/dummy/app/controllers/theme_controller.rb
580
495
  - test/dummy/app/assets/javascripts/application.js
496
+ - test/dummy/app/assets/stylesheets/application.css
497
+ - test/dummy/app/views/layouts/application.html.erb
498
+ - test/dummy/app/views/vision/posts/_form.html.haml
499
+ - test/dummy/app/views/vision/posts/_index.html.haml
500
+ - test/dummy/app/views/vision/posts/show.html.haml
501
+ - test/dummy/app/views/vision/posts/index.html.haml
502
+ - test/dummy/app/views/vision/posts/_search.html.haml
503
+ - test/dummy/app/views/vision/posts/edit.html.haml
504
+ - test/dummy/app/views/vision/posts/new.html.haml
505
+ - test/dummy/app/views/vision/theme/index.html.haml
506
+ - test/dummy/app/models/post.rb
507
+ - test/dummy/app/models/user.rb
508
+ - test/dummy/Rakefile
509
+ - test/dummy/db/migrate/20130310104039_create_redactor_assets.rb
510
+ - test/dummy/db/migrate/20130212093735_create_users.rb
511
+ - test/dummy/db/migrate/20130215163420_create_posts.rb
512
+ - test/dummy/db/migrate/20130212093826_add_devise_to_users.rb
513
+ - test/dummy/db/seeds.rb
514
+ - test/dummy/db/schema.rb
515
+ - test/dummy/test/unit/post_test.rb
516
+ - test/dummy/test/unit/user_test.rb
517
+ - test/dummy/test/fixtures/users.yml
518
+ - test/dummy/test/fixtures/posts.yml
519
+ - test/dummy/config.ru
520
+ - test/dummy/README.rdoc
521
+ - test/dummy/public/404.html
522
+ - test/dummy/public/422.html
523
+ - test/dummy/public/favicon.ico
524
+ - test/dummy/public/500.html
525
+ - test/dummy/public/system/redactor_assets/pictures/1/2CEKRCGXPrw.jpg
526
+ - test/dummy/public/system/redactor_assets/pictures/1/thumb_2CEKRCGXPrw.jpg
527
+ - test/dummy/public/system/redactor_assets/pictures/1/content_zengile.jpg
528
+ - test/dummy/public/system/redactor_assets/pictures/1/content_2CEKRCGXPrw.jpg
529
+ - test/dummy/public/system/redactor_assets/pictures/1/zengile.jpg
530
+ - test/dummy/public/system/redactor_assets/pictures/1/thumb_zengile.jpg
581
531
  - test/vision_test.rb