carnival 0.2.8 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/javascripts/carnival/vizir_admin.js.erb +7 -3
- data/app/controllers/carnival/base_admin_controller.rb +2 -7
- data/app/helpers/carnival/base_admin_helper.rb +1 -4
- data/app/helpers/carnival/field_renderers/field_renderer.rb +11 -1
- data/app/helpers/carnival/field_renderers/many_relation_renderer.rb +0 -7
- data/app/helpers/carnival/field_renderers/single_relation_renderer.rb +5 -8
- data/app/models/carnival/field.rb +4 -0
- data/app/presenters/carnival/base_admin_presenter.rb +55 -38
- data/app/presenters/carnival/dsl.rb +1 -1
- data/lib/carnival/version.rb +1 -1
- metadata +218 -382
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/controllers/admin/todo_lists_controller.rb +0 -7
- data/spec/dummy/app/controllers/admin/todos_controller.rb +0 -7
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/models/todo.rb +0 -7
- data/spec/dummy/app/models/todo_list.rb +0 -4
- data/spec/dummy/app/presenters/admin/todo_list_presenter.rb +0 -13
- data/spec/dummy/app/presenters/admin/todo_presenter.rb +0 -32
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -29
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -15
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -43
- data/spec/dummy/config/environments/production.rb +0 -79
- data/spec/dummy/config/environments/test.rb +0 -42
- data/spec/dummy/config/initializers/assets.rb +0 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/carnival_initializer.rb +0 -25
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/carnival.en.yml +0 -28
- data/spec/dummy/config/locales/carnival.pt-br.yml +0 -259
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -11
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/migrate/20150316021645_create_todos.rb +0 -10
- data/spec/dummy/db/migrate/20150408165317_create_todo_lists.rb +0 -8
- data/spec/dummy/db/migrate/20150408165333_add_todo_list_relation_to_todos.rb +0 -5
- data/spec/dummy/db/schema.rb +0 -32
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/todo_lists_factory.rb +0 -5
- data/spec/factories/todos_factory.rb +0 -18
- data/spec/features/create_spec.rb +0 -28
- data/spec/features/destroy_spec.rb +0 -11
- data/spec/features/index/basic_index_spec.rb +0 -14
- data/spec/features/index/pagination_spec.rb +0 -19
- data/spec/features/index/scope_spec.rb +0 -29
- data/spec/features/index/search_spec.rb +0 -28
- data/spec/features/show_spec.rb +0 -15
- data/spec/features/update_spec.rb +0 -26
- data/spec/rails_helper.rb +0 -33
- data/spec/spec_helper.rb +0 -9
- data/spec/support/features/index_helpers.rb +0 -15
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8ce08ea49042844a83161a4a8b911a252986b4d9
|
4
|
+
data.tar.gz: c9a47da79376b4166c7e8e3ed702f5ae8a1ea4fd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 82c4bf1e74d99b1619d5031c57cdb23c10ebadf4ac90d0c955e16106b6088601d893521f0ae5eb45d21e3150068211585e5d61e0cfc9fa97c10c6c806c81a721
|
7
|
+
data.tar.gz: a1f55e8cdf14f41ad7b02860f13d7fa5c453473f455c36c399fb604c0cdca8a99ed0b1da6e200b9d92d7642845a0f73cedfaee57ed78c3705c2028585e7444b2
|
@@ -52,10 +52,14 @@ Carnival.callFunc = function(functionName, data){
|
|
52
52
|
|
53
53
|
Carnival.submitIndexForm = function(){
|
54
54
|
$("#advanced_search_form input").each(function(){
|
55
|
-
var
|
55
|
+
var $input = $(this);
|
56
|
+
var inputValue = $input.val();
|
56
57
|
|
57
|
-
|
58
|
-
|
58
|
+
// [Date Inputs] If has no integer, i.e an empty strings
|
59
|
+
if($input.attr('class') && $input.attr('class').search('date') >= 0){
|
60
|
+
if(inputValue.match(/\d+/) === null)
|
61
|
+
$input.val('');
|
62
|
+
}
|
59
63
|
});
|
60
64
|
|
61
65
|
$("#advanced_search_form select").each(function(){
|
@@ -88,7 +88,7 @@ module Carnival
|
|
88
88
|
end
|
89
89
|
|
90
90
|
def instantiate_presenter
|
91
|
-
@presenter = carnival_presenter_class.new
|
91
|
+
@presenter = carnival_presenter_class.new
|
92
92
|
end
|
93
93
|
|
94
94
|
def carnival_presenter_class
|
@@ -101,12 +101,7 @@ module Carnival
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def extract_namespace
|
104
|
-
|
105
|
-
if module_class_split.size > 1
|
106
|
-
module_class_split[0]
|
107
|
-
else
|
108
|
-
''
|
109
|
-
end
|
104
|
+
self.class.name.deconstantize
|
110
105
|
end
|
111
106
|
|
112
107
|
def back_or_model_path
|
@@ -106,10 +106,7 @@ module Carnival
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def field_value_and_type(presenter, field_name, record)
|
109
|
-
|
110
|
-
.create_field_renderer(presenter, field_name)
|
111
|
-
|
112
|
-
renderer.render_field(record)
|
109
|
+
presenter.render_field(field_name, record)
|
113
110
|
end
|
114
111
|
|
115
112
|
def is_image?(field_type, value)
|
@@ -6,7 +6,17 @@ module Carnival::FieldRenderers
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def render_field(model)
|
9
|
-
|
9
|
+
{ field_type: @presenter.field_type(@field_name), value: model.send(@field_name) }
|
10
|
+
end
|
11
|
+
|
12
|
+
protected
|
13
|
+
|
14
|
+
def related_presenter
|
15
|
+
@presenter.related_presenter(field)
|
16
|
+
end
|
17
|
+
|
18
|
+
def field
|
19
|
+
@presenter.get_field(@field_name)
|
10
20
|
end
|
11
21
|
end
|
12
22
|
end
|
@@ -1,13 +1,6 @@
|
|
1
1
|
module Carnival::FieldRenderers
|
2
2
|
class ManyRelationRenderer < FieldRenderer
|
3
3
|
def render_field(model)
|
4
|
-
field = @presenter.get_field(@field_name)
|
5
|
-
|
6
|
-
related_presenter_name =
|
7
|
-
@presenter.get_related_class(field.association_name)
|
8
|
-
related_presenter_name.gsub!(/.*[(::)\/]/, '')
|
9
|
-
related_presenter =
|
10
|
-
@presenter.presenter_to_field_sym(related_presenter_name)
|
11
4
|
full_model_name = related_presenter.full_model_name
|
12
5
|
|
13
6
|
{ field_type: :relation, value: translate_field(full_model_name) }
|
@@ -1,15 +1,12 @@
|
|
1
1
|
module Carnival::FieldRenderers
|
2
2
|
class SingleRelationRenderer < FieldRenderer
|
3
3
|
def render_field(model)
|
4
|
-
field = @presenter.get_field(@field_name)
|
5
|
-
|
6
|
-
related_presenter_name = @presenter.get_related_class(field.association_name)
|
7
|
-
related_presenter_name.gsub!(/.*[(::)\/]/, '')
|
8
|
-
related_presenter = @presenter.presenter_to_field_sym(related_presenter_name)
|
9
|
-
|
10
4
|
related_model = model.send(field.association_name)
|
11
|
-
|
12
|
-
|
5
|
+
|
6
|
+
{
|
7
|
+
field_type: related_presenter.field_type(field.association_field_name),
|
8
|
+
value: related_model.try(field.association_field_name)
|
9
|
+
}
|
13
10
|
end
|
14
11
|
end
|
15
12
|
end
|
@@ -4,15 +4,13 @@ module Carnival
|
|
4
4
|
include Dsl
|
5
5
|
include Rails.application.routes.url_helpers
|
6
6
|
|
7
|
-
def initialize
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
validates
|
15
|
-
end
|
7
|
+
def initialize
|
8
|
+
return unless model_class.present?
|
9
|
+
|
10
|
+
@klass_service = KlassService.new model_class
|
11
|
+
@advanced_search_parser = Presenters::AdvancedSearchParser.new(@klass_service)
|
12
|
+
@validators = [Carnival::PresenterValidators::FieldValidator]
|
13
|
+
validates
|
16
14
|
end
|
17
15
|
|
18
16
|
def validates
|
@@ -110,10 +108,10 @@ module Carnival
|
|
110
108
|
|
111
109
|
def model_name
|
112
110
|
if @@model_names[presenter_class_name].nil?
|
113
|
-
self.class.to_s.split(
|
111
|
+
self.class.to_s.split('::').last.gsub('Presenter', '').underscore
|
114
112
|
else
|
115
|
-
if @@model_names[presenter_class_name].include?(
|
116
|
-
@@model_names[presenter_class_name].split(
|
113
|
+
if @@model_names[presenter_class_name].include?('/')
|
114
|
+
@@model_names[presenter_class_name].split('/').last
|
117
115
|
else
|
118
116
|
@@model_names[presenter_class_name]
|
119
117
|
end
|
@@ -121,13 +119,13 @@ module Carnival
|
|
121
119
|
end
|
122
120
|
|
123
121
|
def model_params(params)
|
124
|
-
params.select{|key,
|
122
|
+
params.select { |key, _| key != 'action' && key != 'controller' }
|
125
123
|
end
|
126
124
|
|
127
|
-
def model_path(action, extra_params=
|
128
|
-
params =
|
129
|
-
|
130
|
-
|
125
|
+
def model_path(action, extra_params = {})
|
126
|
+
params = extra_params.reverse_merge(
|
127
|
+
controller: controller_name, action: action
|
128
|
+
).merge(only_path: true)
|
131
129
|
url_for(params)
|
132
130
|
end
|
133
131
|
|
@@ -148,15 +146,14 @@ module Carnival
|
|
148
146
|
end
|
149
147
|
|
150
148
|
def controller_class_name
|
151
|
-
|
149
|
+
"#{controller_name}_controller".classify
|
152
150
|
end
|
153
151
|
|
154
152
|
def controller_name
|
155
|
-
|
156
|
-
|
157
|
-
"#{extract_namespace.downcase}/#{@controller.controller_name}"
|
153
|
+
if is_namespaced?
|
154
|
+
"#{extract_namespace}/#{controller_resource_name}".underscore
|
158
155
|
else
|
159
|
-
|
156
|
+
controller_resource_name
|
160
157
|
end
|
161
158
|
end
|
162
159
|
|
@@ -299,7 +296,7 @@ module Carnival
|
|
299
296
|
end
|
300
297
|
end
|
301
298
|
|
302
|
-
def get_related_class_for_field
|
299
|
+
def get_related_class_for_field(field_name)
|
303
300
|
get_related_class get_association_from_field(field_name)
|
304
301
|
end
|
305
302
|
|
@@ -320,20 +317,18 @@ module Carnival
|
|
320
317
|
@advanced_search_parser.parse_advanced_search @@fields[presenter_class_name], records, search_syntax
|
321
318
|
end
|
322
319
|
|
323
|
-
def
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
def controller_to_field field
|
332
|
-
"#{extract_namespace}::#{field.name.to_s.classify.pluralize}Controller".constantize.send("new")
|
320
|
+
def related_presenter(field, _not_used = nil)
|
321
|
+
field = get_field(field)
|
322
|
+
if field.presenter_class.present?
|
323
|
+
field.presenter_class.constantize.new
|
324
|
+
else
|
325
|
+
infer_presenter(field)
|
326
|
+
end
|
333
327
|
end
|
328
|
+
alias_method :presenter_to_field, :related_presenter
|
334
329
|
|
335
|
-
def
|
336
|
-
"#{extract_namespace}::#{field.to_s.classify.pluralize}Controller".constantize.
|
330
|
+
def controller_to_field(field)
|
331
|
+
"#{extract_namespace}::#{field.name.to_s.classify.pluralize}Controller".constantize.new
|
337
332
|
end
|
338
333
|
|
339
334
|
def load_dependent_select_options_path
|
@@ -344,8 +339,23 @@ module Carnival
|
|
344
339
|
end
|
345
340
|
end
|
346
341
|
|
342
|
+
def render_field(field_name, record)
|
343
|
+
renderer_for(field_name).render_field(record)
|
344
|
+
end
|
345
|
+
|
346
|
+
def renderer_for(field_name)
|
347
|
+
FieldRenderers::RendererCreator.create_field_renderer(self, field_name)
|
348
|
+
end
|
349
|
+
|
347
350
|
protected
|
348
351
|
|
352
|
+
def infer_presenter(field)
|
353
|
+
related_presenter_name =
|
354
|
+
get_related_class(field.association_name)
|
355
|
+
.gsub(/.*[(::)\/]/, '')
|
356
|
+
"#{extract_namespace}::#{related_presenter_name.singularize.classify}Presenter".constantize.new
|
357
|
+
end
|
358
|
+
|
349
359
|
def make_relation_advanced_query_url_options(field, record)
|
350
360
|
relation_model = @klass_service.get_association(field).klass.name.pluralize.underscore.split("/").last
|
351
361
|
relation_field = @klass_service.get_association(field).foreign_key
|
@@ -377,13 +387,20 @@ module Carnival
|
|
377
387
|
self.class.presenter_class_name
|
378
388
|
end
|
379
389
|
|
390
|
+
def controller_resource_name
|
391
|
+
presenter_class_name
|
392
|
+
.demodulize
|
393
|
+
.gsub('Presenter', '')
|
394
|
+
.underscore
|
395
|
+
.pluralize
|
396
|
+
end
|
397
|
+
|
380
398
|
def is_namespaced?
|
381
|
-
|
399
|
+
extract_namespace.present?
|
382
400
|
end
|
383
401
|
|
384
402
|
def extract_namespace
|
385
|
-
|
386
|
-
module_and_class.size > 1 ? module_and_class.first : ''
|
403
|
+
self.class.to_s.deconstantize
|
387
404
|
end
|
388
405
|
|
389
406
|
def generate_route_path(params)
|
@@ -22,7 +22,7 @@ module Carnival
|
|
22
22
|
|
23
23
|
def batch_action(name, params = {})
|
24
24
|
class_variable_get('@@batch_actions')[presenter_class_name] ||= {}
|
25
|
-
class_variable_get('@@batch_actions')[presenter_class_name][name] = Carnival::BatchAction.new(self.new
|
25
|
+
class_variable_get('@@batch_actions')[presenter_class_name][name] = Carnival::BatchAction.new(self.new, name, params)
|
26
26
|
end
|
27
27
|
|
28
28
|
def items_per_page(per_page)
|
data/lib/carnival/version.rb
CHANGED
metadata
CHANGED
@@ -1,350 +1,307 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carnival
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Vizir Software Studio
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '4.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '4.0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: coffee-rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 4.0.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 4.0.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: haml-rails
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 0.7.0
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 0.7.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: inherited_resources
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 1.5.1
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.5.1
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: jquery-rails
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: sass-rails
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: simple_form
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 3.1.0
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- - ~>
|
108
|
+
- - "~>"
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: 3.1.0
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: unicode
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: 0.4.4.2
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - ">="
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: 0.4.4.2
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: will_paginate
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- - ~>
|
129
|
+
- - "~>"
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: 3.0.7
|
150
132
|
type: :runtime
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- - ~>
|
136
|
+
- - "~>"
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: 3.0.7
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: better_errors
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- - ~>
|
143
|
+
- - "~>"
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: 0.9.0
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- - ~>
|
150
|
+
- - "~>"
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: 0.9.0
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: binding_of_caller
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
|
-
- - ~>
|
157
|
+
- - "~>"
|
180
158
|
- !ruby/object:Gem::Version
|
181
159
|
version: 0.7.2
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
|
-
- - ~>
|
164
|
+
- - "~>"
|
188
165
|
- !ruby/object:Gem::Version
|
189
166
|
version: 0.7.2
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: bullet
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
|
-
- - ~>
|
171
|
+
- - "~>"
|
196
172
|
- !ruby/object:Gem::Version
|
197
173
|
version: 4.14.0
|
198
174
|
type: :development
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
|
-
- - ~>
|
178
|
+
- - "~>"
|
204
179
|
- !ruby/object:Gem::Version
|
205
180
|
version: 4.14.0
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: byebug
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
|
-
- - ~>
|
185
|
+
- - "~>"
|
212
186
|
- !ruby/object:Gem::Version
|
213
187
|
version: 3.4.0
|
214
188
|
type: :development
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
|
-
- - ~>
|
192
|
+
- - "~>"
|
220
193
|
- !ruby/object:Gem::Version
|
221
194
|
version: 3.4.0
|
222
195
|
- !ruby/object:Gem::Dependency
|
223
196
|
name: capybara
|
224
197
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
198
|
requirements:
|
227
|
-
- - ~>
|
199
|
+
- - "~>"
|
228
200
|
- !ruby/object:Gem::Version
|
229
201
|
version: 2.4.4
|
230
202
|
type: :development
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
205
|
requirements:
|
235
|
-
- - ~>
|
206
|
+
- - "~>"
|
236
207
|
- !ruby/object:Gem::Version
|
237
208
|
version: 2.4.4
|
238
209
|
- !ruby/object:Gem::Dependency
|
239
210
|
name: factory_girl_rails
|
240
211
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
212
|
requirements:
|
243
|
-
- - ~>
|
213
|
+
- - "~>"
|
244
214
|
- !ruby/object:Gem::Version
|
245
215
|
version: 4.5.0
|
246
216
|
type: :development
|
247
217
|
prerelease: false
|
248
218
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
219
|
requirements:
|
251
|
-
- - ~>
|
220
|
+
- - "~>"
|
252
221
|
- !ruby/object:Gem::Version
|
253
222
|
version: 4.5.0
|
254
223
|
- !ruby/object:Gem::Dependency
|
255
224
|
name: pry-byebug
|
256
225
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
226
|
requirements:
|
259
|
-
- - ~>
|
227
|
+
- - "~>"
|
260
228
|
- !ruby/object:Gem::Version
|
261
229
|
version: 2.0.0
|
262
230
|
type: :development
|
263
231
|
prerelease: false
|
264
232
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
233
|
requirements:
|
267
|
-
- - ~>
|
234
|
+
- - "~>"
|
268
235
|
- !ruby/object:Gem::Version
|
269
236
|
version: 2.0.0
|
270
237
|
- !ruby/object:Gem::Dependency
|
271
238
|
name: poltergeist
|
272
239
|
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
240
|
requirements:
|
275
|
-
- - ~>
|
241
|
+
- - "~>"
|
276
242
|
- !ruby/object:Gem::Version
|
277
243
|
version: 1.5.1
|
278
244
|
type: :development
|
279
245
|
prerelease: false
|
280
246
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
247
|
requirements:
|
283
|
-
- - ~>
|
248
|
+
- - "~>"
|
284
249
|
- !ruby/object:Gem::Version
|
285
250
|
version: 1.5.1
|
286
251
|
- !ruby/object:Gem::Dependency
|
287
252
|
name: rspec-rails
|
288
253
|
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
254
|
requirements:
|
291
|
-
- - ~>
|
255
|
+
- - "~>"
|
292
256
|
- !ruby/object:Gem::Version
|
293
257
|
version: 3.1.0
|
294
258
|
type: :development
|
295
259
|
prerelease: false
|
296
260
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
261
|
requirements:
|
299
|
-
- - ~>
|
262
|
+
- - "~>"
|
300
263
|
- !ruby/object:Gem::Version
|
301
264
|
version: 3.1.0
|
302
265
|
- !ruby/object:Gem::Dependency
|
303
266
|
name: simplecov
|
304
267
|
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
268
|
requirements:
|
307
|
-
- - ~>
|
269
|
+
- - "~>"
|
308
270
|
- !ruby/object:Gem::Version
|
309
271
|
version: 0.9.1
|
310
272
|
type: :development
|
311
273
|
prerelease: false
|
312
274
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
275
|
requirements:
|
315
|
-
- - ~>
|
276
|
+
- - "~>"
|
316
277
|
- !ruby/object:Gem::Version
|
317
278
|
version: 0.9.1
|
318
279
|
- !ruby/object:Gem::Dependency
|
319
280
|
name: sqlite3
|
320
281
|
requirement: !ruby/object:Gem::Requirement
|
321
|
-
none: false
|
322
282
|
requirements:
|
323
|
-
- - ~>
|
283
|
+
- - "~>"
|
324
284
|
- !ruby/object:Gem::Version
|
325
285
|
version: 1.3.10
|
326
286
|
type: :development
|
327
287
|
prerelease: false
|
328
288
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
289
|
requirements:
|
331
|
-
- - ~>
|
290
|
+
- - "~>"
|
332
291
|
- !ruby/object:Gem::Version
|
333
292
|
version: 1.3.10
|
334
293
|
- !ruby/object:Gem::Dependency
|
335
294
|
name: capybara-webkit
|
336
295
|
requirement: !ruby/object:Gem::Requirement
|
337
|
-
none: false
|
338
296
|
requirements:
|
339
|
-
- -
|
297
|
+
- - ">="
|
340
298
|
- !ruby/object:Gem::Version
|
341
299
|
version: '0'
|
342
300
|
type: :development
|
343
301
|
prerelease: false
|
344
302
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
none: false
|
346
303
|
requirements:
|
347
|
-
- -
|
304
|
+
- - ">="
|
348
305
|
- !ruby/object:Gem::Version
|
349
306
|
version: '0'
|
350
307
|
description: Carnival is an easy-to-use and extensible Rails Engine to speed the development
|
@@ -357,378 +314,257 @@ executables: []
|
|
357
314
|
extensions: []
|
358
315
|
extra_rdoc_files: []
|
359
316
|
files:
|
360
|
-
-
|
361
|
-
-
|
362
|
-
- app/
|
363
|
-
- app/
|
364
|
-
- app/
|
317
|
+
- MIT-LICENSE
|
318
|
+
- Rakefile
|
319
|
+
- app/assets/fonts/carnival/opensans-regular-webfont.eot
|
320
|
+
- app/assets/fonts/carnival/opensans-regular-webfont.svg
|
321
|
+
- app/assets/fonts/carnival/opensans-regular-webfont.ttf
|
322
|
+
- app/assets/fonts/carnival/opensans-regular-webfont.woff
|
323
|
+
- app/assets/fonts/carnival/opensans-semibold-webfont.eot
|
324
|
+
- app/assets/fonts/carnival/opensans-semibold-webfont.svg
|
325
|
+
- app/assets/fonts/carnival/opensans-semibold-webfont.ttf
|
326
|
+
- app/assets/fonts/carnival/opensans-semibold-webfont.woff
|
327
|
+
- app/assets/fonts/carnival/up-not.png
|
328
|
+
- app/assets/images/carnival/avatar.png
|
329
|
+
- app/assets/images/carnival/bg_button.png
|
330
|
+
- app/assets/images/carnival/blank.gif
|
331
|
+
- app/assets/images/carnival/cal.png
|
365
332
|
- app/assets/images/carnival/chosen-sprite.png
|
366
|
-
- app/assets/images/carnival/select2-spinner.gif
|
367
333
|
- app/assets/images/carnival/chosen-sprite@2x.png
|
368
|
-
- app/assets/images/carnival/sort_asc.png
|
369
|
-
- app/assets/images/carnival/search-button.png
|
370
334
|
- app/assets/images/carnival/header-bg.png
|
371
|
-
- app/assets/images/carnival/
|
335
|
+
- app/assets/images/carnival/loadingGif.gif
|
372
336
|
- app/assets/images/carnival/novo.png
|
373
|
-
- app/assets/images/carnival/sort_desc_disabled.png
|
374
337
|
- app/assets/images/carnival/overlay.png
|
375
|
-
- app/assets/images/carnival/
|
376
|
-
- app/assets/images/carnival/
|
377
|
-
- app/assets/images/carnival/
|
338
|
+
- app/assets/images/carnival/search-button.png
|
339
|
+
- app/assets/images/carnival/search.png
|
340
|
+
- app/assets/images/carnival/select2-spinner.gif
|
378
341
|
- app/assets/images/carnival/select2.png
|
379
|
-
- app/assets/images/carnival/
|
380
|
-
- app/assets/images/carnival/
|
381
|
-
- app/assets/images/carnival/
|
342
|
+
- app/assets/images/carnival/select2x2.png
|
343
|
+
- app/assets/images/carnival/sort_asc.png
|
344
|
+
- app/assets/images/carnival/sort_asc_disabled.png
|
382
345
|
- app/assets/images/carnival/sort_both.png
|
383
346
|
- app/assets/images/carnival/sort_desc.png
|
347
|
+
- app/assets/images/carnival/sort_desc_disabled.png
|
348
|
+
- app/assets/images/carnival/sprites-active.png
|
384
349
|
- app/assets/images/carnival/sprites.png
|
385
|
-
- app/assets/images/carnival/
|
386
|
-
- app/assets/images/carnival/select2x2.png
|
387
|
-
- app/assets/images/carnival/search.png
|
350
|
+
- app/assets/images/carnival/voltar.png
|
388
351
|
- app/assets/javascripts/carnival/admin.js
|
389
352
|
- app/assets/javascripts/carnival/advanced_search.js
|
390
353
|
- app/assets/javascripts/carnival/batch_action.js
|
354
|
+
- app/assets/javascripts/carnival/external/jquery-ui-1.9.1.custom.min.js
|
355
|
+
- app/assets/javascripts/carnival/external/jquery.colorbox-min.js
|
356
|
+
- app/assets/javascripts/carnival/external/jquery.datetimepicker.js
|
391
357
|
- app/assets/javascripts/carnival/external/jquery.maskedinput.js
|
392
|
-
- app/assets/javascripts/carnival/external/
|
393
|
-
- app/assets/javascripts/carnival/external/
|
394
|
-
- app/assets/javascripts/carnival/external/
|
395
|
-
- app/assets/javascripts/carnival/external/
|
396
|
-
- app/assets/javascripts/carnival/external/
|
397
|
-
- app/assets/javascripts/carnival/external/
|
358
|
+
- app/assets/javascripts/carnival/external/noty/jquery.noty.js
|
359
|
+
- app/assets/javascripts/carnival/external/noty/layouts/bottom.js
|
360
|
+
- app/assets/javascripts/carnival/external/noty/layouts/bottomCenter.js
|
361
|
+
- app/assets/javascripts/carnival/external/noty/layouts/bottomLeft.js
|
362
|
+
- app/assets/javascripts/carnival/external/noty/layouts/bottomRight.js
|
363
|
+
- app/assets/javascripts/carnival/external/noty/layouts/center.js
|
364
|
+
- app/assets/javascripts/carnival/external/noty/layouts/centerLeft.js
|
365
|
+
- app/assets/javascripts/carnival/external/noty/layouts/centerRight.js
|
366
|
+
- app/assets/javascripts/carnival/external/noty/layouts/inline.js
|
367
|
+
- app/assets/javascripts/carnival/external/noty/layouts/top.js
|
368
|
+
- app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
|
369
|
+
- app/assets/javascripts/carnival/external/noty/layouts/topLeft.js
|
370
|
+
- app/assets/javascripts/carnival/external/noty/layouts/topRight.js
|
371
|
+
- app/assets/javascripts/carnival/external/noty/packaged/jquery.noty.packaged.js
|
372
|
+
- app/assets/javascripts/carnival/external/noty/packaged/jquery.noty.packaged.min.js
|
373
|
+
- app/assets/javascripts/carnival/external/noty/promise.js
|
374
|
+
- app/assets/javascripts/carnival/external/noty/themes/default.js
|
375
|
+
- app/assets/javascripts/carnival/external/select2/select2.min.js
|
376
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ar.js
|
377
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_az.js
|
398
378
|
- app/assets/javascripts/carnival/external/select2/select2_locale_bg.js
|
399
|
-
- app/assets/javascripts/carnival/external/select2/
|
400
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ru.js
|
379
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ca.js
|
401
380
|
- app/assets/javascripts/carnival/external/select2/select2_locale_cs.js
|
402
381
|
- app/assets/javascripts/carnival/external/select2/select2_locale_da.js
|
403
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ar.js
|
404
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_tr.js
|
405
382
|
- app/assets/javascripts/carnival/external/select2/select2_locale_de.js
|
383
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_el.js
|
406
384
|
- app/assets/javascripts/carnival/external/select2/select2_locale_en.js.template
|
407
|
-
- app/assets/javascripts/carnival/external/select2/
|
408
|
-
- app/assets/javascripts/carnival/external/select2/
|
409
|
-
- app/assets/javascripts/carnival/external/select2/
|
410
|
-
- app/assets/javascripts/carnival/external/select2/
|
411
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_lt.js
|
385
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_es.js
|
386
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_et.js
|
387
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_eu.js
|
388
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_fa.js
|
412
389
|
- app/assets/javascripts/carnival/external/select2/select2_locale_fi.js
|
413
|
-
- app/assets/javascripts/carnival/external/select2/select2.min.js
|
414
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_az.js
|
415
390
|
- app/assets/javascripts/carnival/external/select2/select2_locale_fr.js
|
416
|
-
- app/assets/javascripts/carnival/external/select2/
|
417
|
-
- app/assets/javascripts/carnival/external/select2/
|
418
|
-
- app/assets/javascripts/carnival/external/select2/
|
419
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_it.js
|
420
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ro.js
|
421
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_mk.js
|
422
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ms.js
|
423
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_sv.js
|
424
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_zh-TW.js
|
391
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_gl.js
|
392
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_he.js
|
393
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_hr.js
|
425
394
|
- app/assets/javascripts/carnival/external/select2/select2_locale_hu.js
|
426
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ka.js
|
427
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_is.js
|
428
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_ko.js
|
429
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_et.js
|
430
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_fa.js
|
431
|
-
- app/assets/javascripts/carnival/external/select2/select2_locale_es.js
|
432
395
|
- app/assets/javascripts/carnival/external/select2/select2_locale_id.js
|
433
|
-
- app/assets/javascripts/carnival/external/select2/
|
396
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_is.js
|
397
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_it.js
|
434
398
|
- app/assets/javascripts/carnival/external/select2/select2_locale_ja.js
|
399
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ka.js
|
400
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ko.js
|
401
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_lt.js
|
402
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_lv.js
|
403
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_mk.js
|
404
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ms.js
|
435
405
|
- app/assets/javascripts/carnival/external/select2/select2_locale_nl.js
|
406
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_no.js
|
407
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_pl.js
|
408
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_pt-BR.js
|
409
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_pt-PT.js
|
410
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ro.js
|
436
411
|
- app/assets/javascripts/carnival/external/select2/select2_locale_rs.js
|
412
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_ru.js
|
413
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_sk.js
|
414
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_sv.js
|
415
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_th.js
|
416
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_tr.js
|
437
417
|
- app/assets/javascripts/carnival/external/select2/select2_locale_ug-CN.js
|
418
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_uk.js
|
419
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_vi.js
|
438
420
|
- app/assets/javascripts/carnival/external/select2/select2_locale_zh-CN.js
|
439
|
-
- app/assets/javascripts/carnival/external/
|
440
|
-
- app/assets/javascripts/carnival/external/noty/packaged/jquery.noty.packaged.js
|
441
|
-
- app/assets/javascripts/carnival/external/noty/themes/default.js
|
442
|
-
- app/assets/javascripts/carnival/external/noty/jquery.noty.js
|
443
|
-
- app/assets/javascripts/carnival/external/noty/promise.js
|
444
|
-
- app/assets/javascripts/carnival/external/noty/layouts/bottomCenter.js
|
445
|
-
- app/assets/javascripts/carnival/external/noty/layouts/bottomRight.js
|
446
|
-
- app/assets/javascripts/carnival/external/noty/layouts/topLeft.js
|
447
|
-
- app/assets/javascripts/carnival/external/noty/layouts/centerRight.js
|
448
|
-
- app/assets/javascripts/carnival/external/noty/layouts/topRight.js
|
449
|
-
- app/assets/javascripts/carnival/external/noty/layouts/centerLeft.js
|
450
|
-
- app/assets/javascripts/carnival/external/noty/layouts/top.js
|
451
|
-
- app/assets/javascripts/carnival/external/noty/layouts/center.js
|
452
|
-
- app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
|
453
|
-
- app/assets/javascripts/carnival/external/noty/layouts/inline.js
|
454
|
-
- app/assets/javascripts/carnival/external/noty/layouts/bottomLeft.js
|
455
|
-
- app/assets/javascripts/carnival/external/noty/layouts/bottom.js
|
456
|
-
- app/assets/javascripts/carnival/external/jquery-ui-1.9.1.custom.min.js
|
457
|
-
- app/assets/javascripts/carnival/external/jquery.datetimepicker.js
|
458
|
-
- app/assets/javascripts/carnival/external/jquery.colorbox-min.js
|
459
|
-
- app/assets/javascripts/carnival/vizir_admin.js.erb
|
421
|
+
- app/assets/javascripts/carnival/external/select2/select2_locale_zh-TW.js
|
460
422
|
- app/assets/javascripts/carnival/select_remote.js
|
461
|
-
- app/assets/
|
462
|
-
- app/assets/
|
463
|
-
- app/assets/fonts/carnival/opensans-semibold-webfont.eot
|
464
|
-
- app/assets/fonts/carnival/opensans-semibold-webfont.svg
|
465
|
-
- app/assets/fonts/carnival/up-not.png
|
466
|
-
- app/assets/fonts/carnival/opensans-regular-webfont.eot
|
467
|
-
- app/assets/fonts/carnival/opensans-semibold-webfont.woff
|
468
|
-
- app/assets/fonts/carnival/opensans-regular-webfont.svg
|
469
|
-
- app/assets/fonts/carnival/opensans-regular-webfont.woff
|
470
|
-
- app/assets/stylesheets/carnival/menu.css.scss
|
471
|
-
- app/assets/stylesheets/carnival/grid.css
|
423
|
+
- app/assets/javascripts/carnival/vizir_admin.js.erb
|
424
|
+
- app/assets/stylesheets/carnival/actions.css.scss
|
472
425
|
- app/assets/stylesheets/carnival/admin.css
|
473
|
-
- app/assets/stylesheets/carnival/
|
474
|
-
- app/assets/stylesheets/carnival/
|
475
|
-
- app/assets/stylesheets/carnival/
|
476
|
-
- app/assets/stylesheets/carnival/
|
477
|
-
- app/assets/stylesheets/carnival/
|
426
|
+
- app/assets/stylesheets/carnival/admin_users.css
|
427
|
+
- app/assets/stylesheets/carnival/carnival-grid.css
|
428
|
+
- app/assets/stylesheets/carnival/carnival-list.css
|
429
|
+
- app/assets/stylesheets/carnival/carnival-table.css.scss
|
430
|
+
- app/assets/stylesheets/carnival/colorbox.css.scss
|
431
|
+
- app/assets/stylesheets/carnival/external/jquery.datetimepicker.css
|
432
|
+
- app/assets/stylesheets/carnival/footer.css
|
433
|
+
- app/assets/stylesheets/carnival/forms.css.scss
|
434
|
+
- app/assets/stylesheets/carnival/grid.css
|
435
|
+
- app/assets/stylesheets/carnival/header.css.scss
|
436
|
+
- app/assets/stylesheets/carnival/images/ui-bg_flat_0_aaaaaa_40x100.png
|
478
437
|
- app/assets/stylesheets/carnival/images/ui-bg_flat_75_ffffff_40x100.png
|
438
|
+
- app/assets/stylesheets/carnival/images/ui-bg_glass_55_fbf9ee_1x400.png
|
439
|
+
- app/assets/stylesheets/carnival/images/ui-bg_glass_65_ffffff_1x400.png
|
440
|
+
- app/assets/stylesheets/carnival/images/ui-bg_glass_75_dadada_1x400.png
|
479
441
|
- app/assets/stylesheets/carnival/images/ui-bg_glass_75_e6e6e6_1x400.png
|
480
|
-
- app/assets/stylesheets/carnival/images/ui-bg_flat_0_aaaaaa_40x100.png
|
481
|
-
- app/assets/stylesheets/carnival/images/ui-icons_888888_256x240.png
|
482
|
-
- app/assets/stylesheets/carnival/images/ui-icons_cd0a0a_256x240.png
|
483
442
|
- app/assets/stylesheets/carnival/images/ui-bg_glass_95_fef1ec_1x400.png
|
484
443
|
- app/assets/stylesheets/carnival/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
444
|
+
- app/assets/stylesheets/carnival/images/ui-icons_222222_256x240.png
|
445
|
+
- app/assets/stylesheets/carnival/images/ui-icons_2e83ff_256x240.png
|
485
446
|
- app/assets/stylesheets/carnival/images/ui-icons_454545_256x240.png
|
486
|
-
- app/assets/stylesheets/carnival/images/ui-
|
487
|
-
- app/assets/stylesheets/carnival/images/ui-
|
488
|
-
- app/assets/stylesheets/carnival/header.css.scss
|
447
|
+
- app/assets/stylesheets/carnival/images/ui-icons_888888_256x240.png
|
448
|
+
- app/assets/stylesheets/carnival/images/ui-icons_cd0a0a_256x240.png
|
489
449
|
- app/assets/stylesheets/carnival/jquery.noty.css
|
450
|
+
- app/assets/stylesheets/carnival/listing-tools.css
|
451
|
+
- app/assets/stylesheets/carnival/menu.css.scss
|
452
|
+
- app/assets/stylesheets/carnival/modal.css.scss
|
453
|
+
- app/assets/stylesheets/carnival/pagination.css.scss
|
454
|
+
- app/assets/stylesheets/carnival/period.css.scss
|
490
455
|
- app/assets/stylesheets/carnival/scope.css
|
491
456
|
- app/assets/stylesheets/carnival/search.css.scss
|
492
|
-
- app/assets/stylesheets/carnival/
|
493
|
-
- app/assets/stylesheets/carnival/external/jquery.datetimepicker.css
|
494
|
-
- app/assets/stylesheets/carnival/pagination.css.scss
|
457
|
+
- app/assets/stylesheets/carnival/select2.css.scss
|
495
458
|
- app/assets/stylesheets/carnival/structure.css.scss
|
496
|
-
- app/assets/stylesheets/carnival/carnival-list.css
|
497
|
-
- app/assets/stylesheets/carnival/admin_users.css
|
498
|
-
- app/assets/stylesheets/carnival/carnival-grid.css
|
499
|
-
- app/assets/stylesheets/carnival/footer.css
|
500
|
-
- app/assets/stylesheets/carnival/period.css.scss
|
501
|
-
- app/assets/stylesheets/carnival/colorbox.css.scss
|
502
|
-
- app/assets/stylesheets/carnival/actions.css.scss
|
503
|
-
- app/assets/stylesheets/carnival/carnival-table.css.scss
|
504
|
-
- app/assets/stylesheets/carnival/listing-tools.css
|
505
459
|
- app/controllers/carnival/base_admin_controller.rb
|
506
|
-
- app/
|
507
|
-
- app/
|
460
|
+
- app/datatable/carnival/generic_datatable/column_sorter.rb
|
461
|
+
- app/datatable/carnival/generic_datatable/column_sorter_creator.rb
|
462
|
+
- app/datatable/carnival/generic_datatable/relation_column_sorter.rb
|
463
|
+
- app/helpers/carnival/base_admin_helper.rb
|
464
|
+
- app/helpers/carnival/field_renderers/field_renderer.rb
|
465
|
+
- app/helpers/carnival/field_renderers/many_relation_renderer.rb
|
466
|
+
- app/helpers/carnival/field_renderers/renderer_creator.rb
|
467
|
+
- app/helpers/carnival/field_renderers/single_relation_renderer.rb
|
508
468
|
- app/inputs/admin_base_input.rb
|
509
|
-
- app/inputs/carnival_enum_input.rb
|
510
|
-
- app/inputs/carnival_select_remote_input.rb
|
511
|
-
- app/inputs/admin_enum_input.rb
|
512
469
|
- app/inputs/admin_currency_input.rb
|
513
|
-
- app/inputs/admin_text_input.rb
|
514
470
|
- app/inputs/admin_date_input.rb
|
515
|
-
- app/
|
471
|
+
- app/inputs/admin_enum_input.rb
|
472
|
+
- app/inputs/admin_previewable_file_input.rb
|
473
|
+
- app/inputs/admin_relationship_select_input.rb
|
474
|
+
- app/inputs/admin_text_input.rb
|
475
|
+
- app/inputs/carnival_enum_input.rb
|
476
|
+
- app/inputs/carnival_select_remote_input.rb
|
477
|
+
- app/models/carnival/action.rb
|
478
|
+
- app/models/carnival/batch_action.rb
|
516
479
|
- app/models/carnival/field.rb
|
517
480
|
- app/models/carnival/form.rb
|
518
|
-
- app/models/carnival/
|
519
|
-
- app/models/carnival/scope.rb
|
481
|
+
- app/models/carnival/model_helper.rb
|
520
482
|
- app/models/carnival/query_form.rb
|
521
|
-
- app/models/carnival/
|
522
|
-
- app/
|
523
|
-
- app/
|
524
|
-
- app/helpers/carnival/field_renderers/field_renderer.rb
|
525
|
-
- app/helpers/carnival/field_renderers/many_relation_renderer.rb
|
526
|
-
- app/helpers/carnival/base_admin_helper.rb
|
483
|
+
- app/models/carnival/scope.rb
|
484
|
+
- app/presenters/carnival/base_admin_presenter.rb
|
485
|
+
- app/presenters/carnival/dsl.rb
|
527
486
|
- app/presenters/carnival/menu_presenter.rb
|
528
487
|
- app/presenters/carnival/presenter_validators/field_validator.rb
|
529
|
-
- app/
|
530
|
-
- app/
|
531
|
-
- app/
|
532
|
-
- app/
|
533
|
-
- app/
|
534
|
-
- app/
|
535
|
-
- app/
|
536
|
-
- app/
|
537
|
-
- app/views/carnival/
|
538
|
-
- app/views/carnival/
|
539
|
-
- app/views/carnival/
|
540
|
-
- app/views/carnival/
|
541
|
-
- app/views/carnival/
|
488
|
+
- app/services/carnival/klass_service.rb
|
489
|
+
- app/services/carnival/presenters/advanced_search_parser.rb
|
490
|
+
- app/services/carnival/query_form_creator.rb
|
491
|
+
- app/services/carnival/query_service.rb
|
492
|
+
- app/services/carnival/renderer/html.rb
|
493
|
+
- app/view_objects/carnival/nested_form_options.rb
|
494
|
+
- app/view_objects/carnival/paginator.rb
|
495
|
+
- app/view_objects/carnival/thead_renderer.rb
|
496
|
+
- app/views/carnival/base_admin/_index_as_grid.html.haml
|
497
|
+
- app/views/carnival/base_admin/_index_as_list.html.haml
|
498
|
+
- app/views/carnival/base_admin/_index_as_table.html.haml
|
499
|
+
- app/views/carnival/base_admin/_inner_form.html.haml
|
500
|
+
- app/views/carnival/base_admin/edit.html.haml
|
501
|
+
- app/views/carnival/base_admin/home.html.haml
|
502
|
+
- app/views/carnival/base_admin/index.csv.haml
|
503
|
+
- app/views/carnival/base_admin/index.html.haml
|
504
|
+
- app/views/carnival/base_admin/load_dependent_select_options.html.haml
|
505
|
+
- app/views/carnival/base_admin/new.html.haml
|
506
|
+
- app/views/carnival/base_admin/render_inner_form.js.erb
|
507
|
+
- app/views/carnival/base_admin/show.html.haml
|
542
508
|
- app/views/carnival/shared/_action_default.html.haml
|
543
|
-
- app/views/carnival/shared/_item_buttons.html.haml
|
544
509
|
- app/views/carnival/shared/_action_delete.html.haml
|
545
|
-
- app/views/carnival/shared/
|
546
|
-
- app/views/carnival/shared/_period_filter.html.haml
|
547
|
-
- app/views/carnival/shared/_edit_delete.html.haml
|
548
|
-
- app/views/carnival/shared/_extra_item.html.haml
|
510
|
+
- app/views/carnival/shared/_action_remote.html.haml
|
549
511
|
- app/views/carnival/shared/_add_button.html.haml
|
550
|
-
- app/views/carnival/shared/_scope.html.haml
|
551
512
|
- app/views/carnival/shared/_advanced_search.html.haml
|
513
|
+
- app/views/carnival/shared/_advanced_search_field.html.haml
|
552
514
|
- app/views/carnival/shared/_application_modal_partial.html.haml
|
553
|
-
- app/views/carnival/shared/
|
515
|
+
- app/views/carnival/shared/_delete.html.haml
|
516
|
+
- app/views/carnival/shared/_edit_delete.html.haml
|
517
|
+
- app/views/carnival/shared/_extra.html.haml
|
518
|
+
- app/views/carnival/shared/_extra_item.html.haml
|
519
|
+
- app/views/carnival/shared/_item_buttons.html.haml
|
520
|
+
- app/views/carnival/shared/_period_filter.html.haml
|
521
|
+
- app/views/carnival/shared/_photo_field.html.haml
|
522
|
+
- app/views/carnival/shared/_scope.html.haml
|
554
523
|
- app/views/carnival/shared/_special_scope.html.haml
|
555
|
-
- app/views/carnival/
|
556
|
-
- app/views/carnival/
|
557
|
-
- app/views/carnival/
|
558
|
-
- app/views/carnival/
|
559
|
-
- app/views/carnival/
|
560
|
-
- app/views/carnival/
|
561
|
-
- app/views/carnival/
|
562
|
-
- app/views/carnival/
|
563
|
-
- app/views/carnival/base_admin/_index_as_list.html.haml
|
564
|
-
- app/views/carnival/base_admin/render_inner_form.js.erb
|
565
|
-
- app/views/carnival/base_admin/home.html.haml
|
566
|
-
- app/views/carnival/base_admin/edit.html.haml
|
524
|
+
- app/views/carnival/shared/form/_edit.html.haml
|
525
|
+
- app/views/carnival/shared/form/_field.html.haml
|
526
|
+
- app/views/carnival/shared/form/_form.html.haml
|
527
|
+
- app/views/carnival/shared/form/_inner_form.html.haml
|
528
|
+
- app/views/carnival/shared/form/_nested_form.html.haml
|
529
|
+
- app/views/carnival/shared/form/_nested_form_options.html.haml
|
530
|
+
- app/views/carnival/shared/render_popup.js.erb
|
531
|
+
- app/views/carnival/shared/show/_show_as_list.html.haml
|
567
532
|
- app/views/layouts/carnival/_menu.html.haml
|
568
533
|
- app/views/layouts/carnival/admin.html.haml
|
569
|
-
-
|
570
|
-
- app/datatable/carnival/generic_datatable/column_sorter_creator.rb
|
571
|
-
- app/datatable/carnival/generic_datatable/column_sorter.rb
|
572
|
-
- app/view_objects/carnival/paginator.rb
|
573
|
-
- app/view_objects/carnival/thead_renderer.rb
|
574
|
-
- app/view_objects/carnival/nested_form_options.rb
|
575
|
-
- config/locales/carnival.pt-br.yml
|
534
|
+
- config/initializers/simple_form.rb
|
576
535
|
- config/locales/carnival.en.yml
|
536
|
+
- config/locales/carnival.pt-br.yml
|
577
537
|
- config/routes.rb
|
578
|
-
-
|
579
|
-
- lib/tasks/carnival_tasks.rake
|
580
|
-
- lib/carnival/engine.rb
|
538
|
+
- lib/carnival.rb
|
581
539
|
- lib/carnival/config.rb
|
540
|
+
- lib/carnival/engine.rb
|
582
541
|
- lib/carnival/routes.rb
|
583
542
|
- lib/carnival/version.rb
|
584
|
-
- lib/generators/carnival/templates/carnival_initializer.rb
|
585
543
|
- lib/generators/carnival/install_generator.rb
|
586
|
-
- lib/carnival.rb
|
587
|
-
-
|
588
|
-
- Rakefile
|
589
|
-
- spec/features/show_spec.rb
|
590
|
-
- spec/features/update_spec.rb
|
591
|
-
- spec/features/index/pagination_spec.rb
|
592
|
-
- spec/features/index/scope_spec.rb
|
593
|
-
- spec/features/index/search_spec.rb
|
594
|
-
- spec/features/index/basic_index_spec.rb
|
595
|
-
- spec/features/destroy_spec.rb
|
596
|
-
- spec/features/create_spec.rb
|
597
|
-
- spec/spec_helper.rb
|
598
|
-
- spec/support/features/index_helpers.rb
|
599
|
-
- spec/dummy/db/migrate/20150408165317_create_todo_lists.rb
|
600
|
-
- spec/dummy/db/migrate/20150408165333_add_todo_list_relation_to_todos.rb
|
601
|
-
- spec/dummy/db/migrate/20150316021645_create_todos.rb
|
602
|
-
- spec/dummy/db/schema.rb
|
603
|
-
- spec/dummy/Rakefile
|
604
|
-
- spec/dummy/config.ru
|
605
|
-
- spec/dummy/public/404.html
|
606
|
-
- spec/dummy/public/500.html
|
607
|
-
- spec/dummy/public/favicon.ico
|
608
|
-
- spec/dummy/public/422.html
|
609
|
-
- spec/dummy/config/secrets.yml
|
610
|
-
- spec/dummy/config/locales/carnival.pt-br.yml
|
611
|
-
- spec/dummy/config/locales/carnival.en.yml
|
612
|
-
- spec/dummy/config/locales/en.yml
|
613
|
-
- spec/dummy/config/application.rb
|
614
|
-
- spec/dummy/config/routes.rb
|
615
|
-
- spec/dummy/config/boot.rb
|
616
|
-
- spec/dummy/config/initializers/assets.rb
|
617
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
618
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
619
|
-
- spec/dummy/config/initializers/carnival_initializer.rb
|
620
|
-
- spec/dummy/config/initializers/session_store.rb
|
621
|
-
- spec/dummy/config/initializers/inflections.rb
|
622
|
-
- spec/dummy/config/initializers/mime_types.rb
|
623
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
624
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
625
|
-
- spec/dummy/config/database.yml
|
626
|
-
- spec/dummy/config/environment.rb
|
627
|
-
- spec/dummy/config/environments/test.rb
|
628
|
-
- spec/dummy/config/environments/development.rb
|
629
|
-
- spec/dummy/config/environments/production.rb
|
630
|
-
- spec/dummy/README.rdoc
|
631
|
-
- spec/dummy/app/assets/javascripts/application.js
|
632
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
633
|
-
- spec/dummy/app/controllers/admin/todos_controller.rb
|
634
|
-
- spec/dummy/app/controllers/admin/todo_lists_controller.rb
|
635
|
-
- spec/dummy/app/controllers/application_controller.rb
|
636
|
-
- spec/dummy/app/models/todo.rb
|
637
|
-
- spec/dummy/app/models/todo_list.rb
|
638
|
-
- spec/dummy/app/helpers/application_helper.rb
|
639
|
-
- spec/dummy/app/presenters/admin/todo_list_presenter.rb
|
640
|
-
- spec/dummy/app/presenters/admin/todo_presenter.rb
|
641
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
642
|
-
- spec/dummy/bin/rails
|
643
|
-
- spec/dummy/bin/setup
|
644
|
-
- spec/dummy/bin/bundle
|
645
|
-
- spec/dummy/bin/rake
|
646
|
-
- spec/rails_helper.rb
|
647
|
-
- spec/factories/todo_lists_factory.rb
|
648
|
-
- spec/factories/todos_factory.rb
|
544
|
+
- lib/generators/carnival/templates/carnival_initializer.rb
|
545
|
+
- lib/tasks/carnival_tasks.rake
|
649
546
|
homepage: https://github.com/Vizir/carnival
|
650
547
|
licenses: []
|
548
|
+
metadata: {}
|
651
549
|
post_install_message:
|
652
550
|
rdoc_options: []
|
653
551
|
require_paths:
|
654
552
|
- lib
|
655
553
|
required_ruby_version: !ruby/object:Gem::Requirement
|
656
|
-
none: false
|
657
554
|
requirements:
|
658
|
-
- -
|
555
|
+
- - ">="
|
659
556
|
- !ruby/object:Gem::Version
|
660
557
|
version: '0'
|
661
558
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
662
|
-
none: false
|
663
559
|
requirements:
|
664
|
-
- -
|
560
|
+
- - ">="
|
665
561
|
- !ruby/object:Gem::Version
|
666
562
|
version: '0'
|
667
563
|
requirements: []
|
668
564
|
rubyforge_project:
|
669
|
-
rubygems_version:
|
565
|
+
rubygems_version: 2.4.5
|
670
566
|
signing_key:
|
671
|
-
specification_version:
|
567
|
+
specification_version: 4
|
672
568
|
summary: Carnival is an easy-to-use and extensible Rails Engine to speed the development
|
673
569
|
of data management interfaces.
|
674
|
-
test_files:
|
675
|
-
- spec/features/show_spec.rb
|
676
|
-
- spec/features/update_spec.rb
|
677
|
-
- spec/features/index/pagination_spec.rb
|
678
|
-
- spec/features/index/scope_spec.rb
|
679
|
-
- spec/features/index/search_spec.rb
|
680
|
-
- spec/features/index/basic_index_spec.rb
|
681
|
-
- spec/features/destroy_spec.rb
|
682
|
-
- spec/features/create_spec.rb
|
683
|
-
- spec/spec_helper.rb
|
684
|
-
- spec/support/features/index_helpers.rb
|
685
|
-
- spec/dummy/db/migrate/20150408165317_create_todo_lists.rb
|
686
|
-
- spec/dummy/db/migrate/20150408165333_add_todo_list_relation_to_todos.rb
|
687
|
-
- spec/dummy/db/migrate/20150316021645_create_todos.rb
|
688
|
-
- spec/dummy/db/schema.rb
|
689
|
-
- spec/dummy/Rakefile
|
690
|
-
- spec/dummy/config.ru
|
691
|
-
- spec/dummy/public/404.html
|
692
|
-
- spec/dummy/public/500.html
|
693
|
-
- spec/dummy/public/favicon.ico
|
694
|
-
- spec/dummy/public/422.html
|
695
|
-
- spec/dummy/config/secrets.yml
|
696
|
-
- spec/dummy/config/locales/carnival.pt-br.yml
|
697
|
-
- spec/dummy/config/locales/carnival.en.yml
|
698
|
-
- spec/dummy/config/locales/en.yml
|
699
|
-
- spec/dummy/config/application.rb
|
700
|
-
- spec/dummy/config/routes.rb
|
701
|
-
- spec/dummy/config/boot.rb
|
702
|
-
- spec/dummy/config/initializers/assets.rb
|
703
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
704
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
705
|
-
- spec/dummy/config/initializers/carnival_initializer.rb
|
706
|
-
- spec/dummy/config/initializers/session_store.rb
|
707
|
-
- spec/dummy/config/initializers/inflections.rb
|
708
|
-
- spec/dummy/config/initializers/mime_types.rb
|
709
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
710
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
711
|
-
- spec/dummy/config/database.yml
|
712
|
-
- spec/dummy/config/environment.rb
|
713
|
-
- spec/dummy/config/environments/test.rb
|
714
|
-
- spec/dummy/config/environments/development.rb
|
715
|
-
- spec/dummy/config/environments/production.rb
|
716
|
-
- spec/dummy/README.rdoc
|
717
|
-
- spec/dummy/app/assets/javascripts/application.js
|
718
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
719
|
-
- spec/dummy/app/controllers/admin/todos_controller.rb
|
720
|
-
- spec/dummy/app/controllers/admin/todo_lists_controller.rb
|
721
|
-
- spec/dummy/app/controllers/application_controller.rb
|
722
|
-
- spec/dummy/app/models/todo.rb
|
723
|
-
- spec/dummy/app/models/todo_list.rb
|
724
|
-
- spec/dummy/app/helpers/application_helper.rb
|
725
|
-
- spec/dummy/app/presenters/admin/todo_list_presenter.rb
|
726
|
-
- spec/dummy/app/presenters/admin/todo_presenter.rb
|
727
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
728
|
-
- spec/dummy/bin/rails
|
729
|
-
- spec/dummy/bin/setup
|
730
|
-
- spec/dummy/bin/bundle
|
731
|
-
- spec/dummy/bin/rake
|
732
|
-
- spec/rails_helper.rb
|
733
|
-
- spec/factories/todo_lists_factory.rb
|
734
|
-
- spec/factories/todos_factory.rb
|
570
|
+
test_files: []
|