manage 1.3.20 → 1.3.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +96 -96
- data/Rakefile +31 -31
- data/app/assets/javascripts/manage/application.js +0 -2
- data/app/assets/javascripts/manage/collection_actions.js.coffee +30 -30
- data/app/assets/javascripts/manage/handlers.js.coffee +46 -46
- data/app/assets/javascripts/manage/init.js.coffee +1 -4
- data/app/assets/javascripts/manage/table_checkboxes.js.coffee +11 -11
- data/app/assets/stylesheets/manage/application.css.scss +1 -2
- data/app/assets/stylesheets/manage/layout.css.scss +44 -44
- data/app/controllers/manage/application_controller.rb +13 -13
- data/app/controllers/manage/dashboards_controller.rb +4 -4
- data/app/controllers/manage/resource_controller.rb +125 -125
- data/app/controllers/manage/responder.rb +11 -11
- data/app/controllers/manage/sessions_controller.rb +11 -11
- data/app/helpers/manage/application_helper.rb +42 -42
- data/app/helpers/manage/form_helper.rb +21 -21
- data/app/helpers/manage/resource_helper.rb +77 -77
- data/app/models/admin_user.rb +4 -4
- data/app/views/layouts/manage/_main_menu.html.slim +52 -52
- data/app/views/layouts/manage/application.html.slim +39 -39
- data/app/views/layouts/manage/sign_in.html.slim +30 -30
- data/app/views/manage/resource/_form.html.slim +4 -4
- data/app/views/manage/resource/index.html.slim +18 -18
- data/app/views/manage/resource/index/_collection_actions.html.slim +2 -2
- data/app/views/manage/resource/index/_count.html.slim +6 -6
- data/app/views/manage/resource/index/_filters.html.slim +22 -22
- data/app/views/manage/resource/index/_table.html.slim +25 -25
- data/app/views/manage/resource/show.html.slim +10 -10
- data/app/views/manage/sessions/new.html.slim +10 -10
- data/config/initializers/devise.rb +247 -247
- data/config/initializers/session_store.rb +3 -3
- data/config/initializers/simple_form.rb +145 -145
- data/config/initializers/simple_form_foundation.rb +26 -26
- data/config/locales/devise.en.yml +59 -59
- data/config/locales/en.yml +20 -20
- data/config/routes.rb +10 -10
- data/db/migrate/20131204142720_create_admin_users.rb +24 -24
- data/lib/manage.rb +5 -5
- data/lib/manage/engine.rb +21 -21
- data/lib/manage/fields.rb +6 -6
- data/lib/manage/fields/reader.rb +57 -57
- data/lib/manage/fields/searcher.rb +51 -51
- data/lib/manage/version.rb +1 -1
- data/lib/tasks/manage_tasks.rake +15 -15
- data/lib/templates/erb/scaffold/_form.html.erb +13 -13
- data/spec/controllers/manage/resource_controller_spec.rb +29 -29
- data/spec/dummy/README.rdoc +28 -28
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/javascripts/application.js +13 -13
- data/spec/dummy/app/assets/stylesheets/application.css +13 -13
- data/spec/dummy/app/controllers/application_controller.rb +5 -5
- data/spec/dummy/app/controllers/manage/posts_controller.rb +4 -4
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/models/post.rb +3 -3
- data/spec/dummy/app/models/user.rb +5 -5
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +24 -24
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +29 -29
- data/spec/dummy/config/environments/production.rb +80 -80
- data/spec/dummy/config/environments/test.rb +36 -36
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +5 -5
- data/spec/dummy/config/initializers/secret_token.rb +12 -12
- data/spec/dummy/config/initializers/session_store.rb +3 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +23 -23
- data/spec/dummy/config/routes.rb +10 -10
- data/spec/dummy/db/migrate/20130716083410_init_migration.rb +21 -21
- data/spec/dummy/db/schema.rb +53 -53
- data/spec/dummy/public/404.html +58 -58
- data/spec/dummy/public/422.html +58 -58
- data/spec/dummy/public/500.html +57 -57
- data/spec/fields/reader_spec.rb +79 -79
- data/spec/spec_helper.rb +24 -24
- metadata +88 -110
- data/app/assets/javascripts/manage/tinymce/plugins/code/plugin.min.js +0 -1
- data/app/assets/javascripts/manage/tinymce/theme.min.js +0 -1
- data/app/assets/javascripts/manage/tinymce/tinymce.min.js +0 -9
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/content.inline.min.css +0 -1
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/content.min.css +0 -1
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/readme.md +0 -1
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.svg +0 -175
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.svg +0 -153
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/img/object.gif +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/img/wline.gif +0 -0
- data/app/assets/stylesheets/manage/tinymce/skins/lightgray/skin.min.css +0 -1
- data/spec/dummy/log/test.log +0 -0
data/spec/fields/reader_spec.rb
CHANGED
@@ -1,79 +1,79 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
module Manage
|
4
|
-
module Fields
|
5
|
-
describe Reader do
|
6
|
-
|
7
|
-
it 'gets the right field value by using the field name represented as symbol' do
|
8
|
-
test_object = Object.new
|
9
|
-
|
10
|
-
mock_value = 'I am here!!!'
|
11
|
-
test_object.stub(:me) {mock_value}
|
12
|
-
|
13
|
-
value = Reader.field_value(test_object, :me)
|
14
|
-
value.should eq(mock_value)
|
15
|
-
end
|
16
|
-
|
17
|
-
it 'gets the right field value by using the field name represented as string' do
|
18
|
-
test_object = Object.new
|
19
|
-
|
20
|
-
mock_value = 'I am you and you are me'
|
21
|
-
test_object.stub(:me) {mock_value}
|
22
|
-
|
23
|
-
value = Reader.field_value(test_object, 'me')
|
24
|
-
value.should eq(mock_value)
|
25
|
-
end
|
26
|
-
|
27
|
-
it 'gets the right field value by using the composite field of the type "a.b.c"' do
|
28
|
-
test_object = Object.new
|
29
|
-
|
30
|
-
mock_value = 'Deep hidden stuff!'
|
31
|
-
test_object.stub(:me) do
|
32
|
-
test_object_level_two = Object.new
|
33
|
-
test_object_level_two.stub(:you) do
|
34
|
-
test_object_level_three = Object.new
|
35
|
-
test_object_level_three.stub(:we) {mock_value}
|
36
|
-
test_object_level_three
|
37
|
-
end
|
38
|
-
|
39
|
-
test_object_level_two
|
40
|
-
end
|
41
|
-
|
42
|
-
value = Reader.field_value(test_object, 'me.you.we')
|
43
|
-
value.should eq(mock_value)
|
44
|
-
end
|
45
|
-
|
46
|
-
it 'can work with relations one level deep' do
|
47
|
-
Reader.stub(:'_is_field_relation?') {true}
|
48
|
-
|
49
|
-
test_object = Object.new
|
50
|
-
test_object.stub(:list) {[Struct.new(:id).new(5), Struct.new(:id).new(6)]}
|
51
|
-
|
52
|
-
value = Reader.field_value(test_object, 'list')
|
53
|
-
value.should_not be_nil
|
54
|
-
value.should be_a(String)
|
55
|
-
value.should include('5', '6')
|
56
|
-
end
|
57
|
-
|
58
|
-
it 'displays relation values in custom format' do
|
59
|
-
Reader.stub(:'_is_field_relation?') {true}
|
60
|
-
|
61
|
-
test_object = Object.new
|
62
|
-
test_object.stub(:list) {[
|
63
|
-
Struct.new(:id, :name).new(5, 'meddle'),
|
64
|
-
Struct.new(:id, :name).new(6, 'nickolay')
|
65
|
-
]}
|
66
|
-
|
67
|
-
field_data = {'list' => {
|
68
|
-
format: ->(obj) { obj.name }
|
69
|
-
}}
|
70
|
-
|
71
|
-
value = Reader.field_value(test_object, field_data)
|
72
|
-
value.should_not be_nil
|
73
|
-
value.should be_a(String)
|
74
|
-
value.should include('meddle', 'nickolay')
|
75
|
-
end
|
76
|
-
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Manage
|
4
|
+
module Fields
|
5
|
+
describe Reader do
|
6
|
+
|
7
|
+
it 'gets the right field value by using the field name represented as symbol' do
|
8
|
+
test_object = Object.new
|
9
|
+
|
10
|
+
mock_value = 'I am here!!!'
|
11
|
+
test_object.stub(:me) {mock_value}
|
12
|
+
|
13
|
+
value = Reader.field_value(test_object, :me)
|
14
|
+
value.should eq(mock_value)
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'gets the right field value by using the field name represented as string' do
|
18
|
+
test_object = Object.new
|
19
|
+
|
20
|
+
mock_value = 'I am you and you are me'
|
21
|
+
test_object.stub(:me) {mock_value}
|
22
|
+
|
23
|
+
value = Reader.field_value(test_object, 'me')
|
24
|
+
value.should eq(mock_value)
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'gets the right field value by using the composite field of the type "a.b.c"' do
|
28
|
+
test_object = Object.new
|
29
|
+
|
30
|
+
mock_value = 'Deep hidden stuff!'
|
31
|
+
test_object.stub(:me) do
|
32
|
+
test_object_level_two = Object.new
|
33
|
+
test_object_level_two.stub(:you) do
|
34
|
+
test_object_level_three = Object.new
|
35
|
+
test_object_level_three.stub(:we) {mock_value}
|
36
|
+
test_object_level_three
|
37
|
+
end
|
38
|
+
|
39
|
+
test_object_level_two
|
40
|
+
end
|
41
|
+
|
42
|
+
value = Reader.field_value(test_object, 'me.you.we')
|
43
|
+
value.should eq(mock_value)
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'can work with relations one level deep' do
|
47
|
+
Reader.stub(:'_is_field_relation?') {true}
|
48
|
+
|
49
|
+
test_object = Object.new
|
50
|
+
test_object.stub(:list) {[Struct.new(:id).new(5), Struct.new(:id).new(6)]}
|
51
|
+
|
52
|
+
value = Reader.field_value(test_object, 'list')
|
53
|
+
value.should_not be_nil
|
54
|
+
value.should be_a(String)
|
55
|
+
value.should include('5', '6')
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'displays relation values in custom format' do
|
59
|
+
Reader.stub(:'_is_field_relation?') {true}
|
60
|
+
|
61
|
+
test_object = Object.new
|
62
|
+
test_object.stub(:list) {[
|
63
|
+
Struct.new(:id, :name).new(5, 'meddle'),
|
64
|
+
Struct.new(:id, :name).new(6, 'nickolay')
|
65
|
+
]}
|
66
|
+
|
67
|
+
field_data = {'list' => {
|
68
|
+
format: ->(obj) { obj.name }
|
69
|
+
}}
|
70
|
+
|
71
|
+
value = Reader.field_value(test_object, field_data)
|
72
|
+
value.should_not be_nil
|
73
|
+
value.should be_a(String)
|
74
|
+
value.should include('meddle', 'nickolay')
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
ENV['RAILS_ENV'] ||= 'test'
|
2
|
-
|
3
|
-
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
-
load_schema = lambda {
|
5
|
-
load "#{Rails.root.to_s}/db/schema.rb" # use db agnostic schema by default
|
6
|
-
}
|
7
|
-
silence_stream(STDOUT, &load_schema)
|
8
|
-
|
9
|
-
|
10
|
-
require 'rspec/rails'
|
11
|
-
require 'rspec/autorun'
|
12
|
-
|
13
|
-
Rails.backtrace_cleaner.remove_silencers!
|
14
|
-
|
15
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
16
|
-
|
17
|
-
RSpec.configure do |config|
|
18
|
-
config.mock_with :rspec
|
19
|
-
config.use_transactional_fixtures = true
|
20
|
-
config.infer_base_class_for_anonymous_controllers = false
|
21
|
-
config.order = "random"
|
22
|
-
config.include Devise::TestHelpers, :type => :controller
|
23
|
-
config.include Manage::Engine.routes.url_helpers
|
24
|
-
end
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
+
load_schema = lambda {
|
5
|
+
load "#{Rails.root.to_s}/db/schema.rb" # use db agnostic schema by default
|
6
|
+
}
|
7
|
+
silence_stream(STDOUT, &load_schema)
|
8
|
+
|
9
|
+
|
10
|
+
require 'rspec/rails'
|
11
|
+
require 'rspec/autorun'
|
12
|
+
|
13
|
+
Rails.backtrace_cleaner.remove_silencers!
|
14
|
+
|
15
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.mock_with :rspec
|
19
|
+
config.use_transactional_fixtures = true
|
20
|
+
config.infer_base_class_for_anonymous_controllers = false
|
21
|
+
config.order = "random"
|
22
|
+
config.include Devise::TestHelpers, :type => :controller
|
23
|
+
config.include Manage::Engine.routes.url_helpers
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Empower United
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -256,120 +256,99 @@ executables: []
|
|
256
256
|
extensions: []
|
257
257
|
extra_rdoc_files: []
|
258
258
|
files:
|
259
|
-
- app/
|
260
|
-
- app/
|
259
|
+
- app/controllers/manage/sessions_controller.rb
|
260
|
+
- app/controllers/manage/application_controller.rb
|
261
|
+
- app/controllers/manage/resource_controller.rb
|
262
|
+
- app/controllers/manage/admin_users_controller.rb
|
263
|
+
- app/controllers/manage/dashboards_controller.rb
|
264
|
+
- app/controllers/manage/responder.rb
|
265
|
+
- app/assets/stylesheets/manage/custom.css.scss
|
266
|
+
- app/assets/stylesheets/manage/layout.css.scss
|
267
|
+
- app/assets/stylesheets/manage/application.css.scss
|
268
|
+
- app/assets/javascripts/manage/application.js
|
269
|
+
- app/assets/javascripts/manage/collection_actions.js.coffee
|
270
|
+
- app/assets/javascripts/manage/handlers.js.coffee
|
271
|
+
- app/assets/javascripts/manage/init.js.coffee
|
272
|
+
- app/assets/javascripts/manage/table_checkboxes.js.coffee
|
273
|
+
- app/assets/javascripts/manage/custom.js.coffee
|
274
|
+
- app/models/admin_user.rb
|
275
|
+
- app/helpers/manage/form_helper.rb
|
276
|
+
- app/helpers/manage/resource_helper.rb
|
277
|
+
- app/helpers/manage/application_helper.rb
|
261
278
|
- app/views/layouts/manage/sign_in.html.slim
|
279
|
+
- app/views/layouts/manage/application.html.slim
|
280
|
+
- app/views/layouts/manage/_main_menu.html.slim
|
281
|
+
- app/views/manage/sessions/new.html.slim
|
282
|
+
- app/views/manage/resource/edit.html.slim
|
283
|
+
- app/views/manage/resource/new.html.slim
|
262
284
|
- app/views/manage/resource/index.html.slim
|
263
|
-
- app/views/manage/resource/_form.html.slim
|
264
|
-
- app/views/manage/resource/show.html.slim
|
265
|
-
- app/views/manage/resource/index/_count.html.slim
|
266
285
|
- app/views/manage/resource/index/_collection_actions.html.slim
|
267
286
|
- app/views/manage/resource/index/_table.html.slim
|
287
|
+
- app/views/manage/resource/index/_count.html.slim
|
268
288
|
- app/views/manage/resource/index/_filters.html.slim
|
269
289
|
- app/views/manage/resource/index/_scopes.html.slim
|
270
|
-
- app/views/manage/resource/
|
271
|
-
- app/views/manage/resource/
|
272
|
-
- app/views/manage/sessions/new.html.slim
|
290
|
+
- app/views/manage/resource/show.html.slim
|
291
|
+
- app/views/manage/resource/_form.html.slim
|
273
292
|
- app/views/manage/admin_users/_form.html.slim
|
274
|
-
-
|
275
|
-
-
|
276
|
-
- app/assets/javascripts/manage/tinymce/plugins/code/plugin.min.js
|
277
|
-
- app/assets/javascripts/manage/tinymce/theme.min.js
|
278
|
-
- app/assets/javascripts/manage/collection_actions.js.coffee
|
279
|
-
- app/assets/javascripts/manage/handlers.js.coffee
|
280
|
-
- app/assets/javascripts/manage/custom.js.coffee
|
281
|
-
- app/assets/javascripts/manage/application.js
|
282
|
-
- app/assets/javascripts/manage/table_checkboxes.js.coffee
|
283
|
-
- app/assets/javascripts/manage/init.js.coffee
|
284
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/content.inline.min.css
|
285
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/img/loader.gif
|
286
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/img/object.gif
|
287
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/img/anchor.gif
|
288
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/img/wline.gif
|
289
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/img/trans.gif
|
290
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/content.min.css
|
291
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/skin.min.css
|
292
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.svg
|
293
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.woff
|
294
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.woff
|
295
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.svg
|
296
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.eot
|
297
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.eot
|
298
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce-small.ttf
|
299
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/readme.md
|
300
|
-
- app/assets/stylesheets/manage/tinymce/skins/lightgray/fonts/tinymce.ttf
|
301
|
-
- app/assets/stylesheets/manage/application.css.scss
|
302
|
-
- app/assets/stylesheets/manage/custom.css.scss
|
303
|
-
- app/assets/stylesheets/manage/layout.css.scss
|
304
|
-
- app/controllers/manage/responder.rb
|
305
|
-
- app/controllers/manage/resource_controller.rb
|
306
|
-
- app/controllers/manage/admin_users_controller.rb
|
307
|
-
- app/controllers/manage/sessions_controller.rb
|
308
|
-
- app/controllers/manage/application_controller.rb
|
309
|
-
- app/controllers/manage/dashboards_controller.rb
|
310
|
-
- app/helpers/manage/resource_helper.rb
|
311
|
-
- app/helpers/manage/form_helper.rb
|
312
|
-
- app/helpers/manage/application_helper.rb
|
313
|
-
- config/routes.rb
|
293
|
+
- config/locales/en.yml
|
294
|
+
- config/locales/simple_form.en.yml
|
314
295
|
- config/locales/bg.yml
|
315
296
|
- config/locales/devise.en.yml
|
316
|
-
- config/locales/simple_form.en.yml
|
317
|
-
- config/locales/en.yml
|
318
|
-
- config/initializers/devise.rb
|
319
297
|
- config/initializers/session_store.rb
|
320
|
-
- config/initializers/simple_form_foundation.rb
|
321
298
|
- config/initializers/simple_form.rb
|
299
|
+
- config/initializers/simple_form_foundation.rb
|
300
|
+
- config/initializers/devise.rb
|
301
|
+
- config/routes.rb
|
322
302
|
- db/migrate/20131204142720_create_admin_users.rb
|
323
|
-
- lib/
|
324
|
-
- lib/manage
|
303
|
+
- lib/tasks/manage_tasks.rake
|
304
|
+
- lib/manage.rb
|
325
305
|
- lib/manage/engine.rb
|
306
|
+
- lib/manage/fields.rb
|
326
307
|
- lib/manage/fields/searcher.rb
|
327
308
|
- lib/manage/fields/reader.rb
|
328
|
-
- lib/manage.rb
|
329
|
-
- lib/tasks/manage_tasks.rake
|
309
|
+
- lib/manage/version.rb
|
330
310
|
- lib/templates/erb/scaffold/_form.html.erb
|
331
311
|
- MIT-LICENSE
|
332
312
|
- Rakefile
|
333
313
|
- README.rdoc
|
334
|
-
- spec/
|
314
|
+
- spec/controllers/manage/resource_controller_spec.rb
|
315
|
+
- spec/dummy/app/controllers/application_controller.rb
|
316
|
+
- spec/dummy/app/controllers/manage/posts_controller.rb
|
317
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
318
|
+
- spec/dummy/app/assets/javascripts/application.js
|
319
|
+
- spec/dummy/app/models/post.rb
|
320
|
+
- spec/dummy/app/models/user.rb
|
321
|
+
- spec/dummy/app/helpers/application_helper.rb
|
322
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
335
323
|
- spec/dummy/Rakefile
|
324
|
+
- spec/dummy/db/schema.rb
|
325
|
+
- spec/dummy/db/migrate/20130716083410_init_migration.rb
|
336
326
|
- spec/dummy/README.rdoc
|
337
|
-
- spec/dummy/bin/rails
|
338
327
|
- spec/dummy/bin/rake
|
328
|
+
- spec/dummy/bin/rails
|
339
329
|
- spec/dummy/bin/bundle
|
330
|
+
- spec/dummy/public/500.html
|
331
|
+
- spec/dummy/public/422.html
|
332
|
+
- spec/dummy/public/404.html
|
333
|
+
- spec/dummy/public/favicon.ico
|
334
|
+
- spec/dummy/config/locales/en.yml
|
340
335
|
- spec/dummy/config/boot.rb
|
341
|
-
- spec/dummy/config/
|
336
|
+
- spec/dummy/config/environments/development.rb
|
337
|
+
- spec/dummy/config/environments/production.rb
|
338
|
+
- spec/dummy/config/environments/test.rb
|
342
339
|
- spec/dummy/config/environment.rb
|
343
340
|
- spec/dummy/config/database.yml
|
344
|
-
- spec/dummy/config/locales/en.yml
|
345
|
-
- spec/dummy/config/initializers/inflections.rb
|
346
341
|
- spec/dummy/config/initializers/session_store.rb
|
342
|
+
- spec/dummy/config/initializers/inflections.rb
|
347
343
|
- spec/dummy/config/initializers/mime_types.rb
|
348
344
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
349
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
350
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
351
345
|
- spec/dummy/config/initializers/secret_token.rb
|
352
|
-
- spec/dummy/config/
|
353
|
-
- spec/dummy/config/
|
354
|
-
- spec/dummy/config/environments/production.rb
|
346
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
347
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
355
348
|
- spec/dummy/config/application.rb
|
356
|
-
- spec/dummy/
|
357
|
-
- spec/dummy/public/favicon.ico
|
358
|
-
- spec/dummy/public/500.html
|
359
|
-
- spec/dummy/public/404.html
|
360
|
-
- spec/dummy/db/schema.rb
|
361
|
-
- spec/dummy/db/migrate/20130716083410_init_migration.rb
|
362
|
-
- spec/dummy/log/test.log
|
349
|
+
- spec/dummy/config/routes.rb
|
363
350
|
- spec/dummy/config.ru
|
364
|
-
- spec/
|
365
|
-
- spec/dummy/app/models/post.rb
|
366
|
-
- spec/dummy/app/models/user.rb
|
367
|
-
- spec/dummy/app/assets/javascripts/application.js
|
368
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
369
|
-
- spec/dummy/app/controllers/manage/posts_controller.rb
|
370
|
-
- spec/dummy/app/controllers/application_controller.rb
|
371
|
-
- spec/dummy/app/helpers/application_helper.rb
|
372
|
-
- spec/controllers/manage/resource_controller_spec.rb
|
351
|
+
- spec/fields/reader_spec.rb
|
373
352
|
- spec/spec_helper.rb
|
374
353
|
homepage: https://github.com/empowerunited/manage
|
375
354
|
licenses:
|
@@ -396,43 +375,42 @@ signing_key:
|
|
396
375
|
specification_version: 4
|
397
376
|
summary: Empower Unitited Manage Backend
|
398
377
|
test_files:
|
399
|
-
- spec/
|
378
|
+
- spec/controllers/manage/resource_controller_spec.rb
|
379
|
+
- spec/dummy/app/controllers/application_controller.rb
|
380
|
+
- spec/dummy/app/controllers/manage/posts_controller.rb
|
381
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
382
|
+
- spec/dummy/app/assets/javascripts/application.js
|
383
|
+
- spec/dummy/app/models/post.rb
|
384
|
+
- spec/dummy/app/models/user.rb
|
385
|
+
- spec/dummy/app/helpers/application_helper.rb
|
386
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
400
387
|
- spec/dummy/Rakefile
|
388
|
+
- spec/dummy/db/schema.rb
|
389
|
+
- spec/dummy/db/migrate/20130716083410_init_migration.rb
|
401
390
|
- spec/dummy/README.rdoc
|
402
|
-
- spec/dummy/bin/rails
|
403
391
|
- spec/dummy/bin/rake
|
392
|
+
- spec/dummy/bin/rails
|
404
393
|
- spec/dummy/bin/bundle
|
394
|
+
- spec/dummy/public/500.html
|
395
|
+
- spec/dummy/public/422.html
|
396
|
+
- spec/dummy/public/404.html
|
397
|
+
- spec/dummy/public/favicon.ico
|
398
|
+
- spec/dummy/config/locales/en.yml
|
405
399
|
- spec/dummy/config/boot.rb
|
406
|
-
- spec/dummy/config/
|
400
|
+
- spec/dummy/config/environments/development.rb
|
401
|
+
- spec/dummy/config/environments/production.rb
|
402
|
+
- spec/dummy/config/environments/test.rb
|
407
403
|
- spec/dummy/config/environment.rb
|
408
404
|
- spec/dummy/config/database.yml
|
409
|
-
- spec/dummy/config/locales/en.yml
|
410
|
-
- spec/dummy/config/initializers/inflections.rb
|
411
405
|
- spec/dummy/config/initializers/session_store.rb
|
406
|
+
- spec/dummy/config/initializers/inflections.rb
|
412
407
|
- spec/dummy/config/initializers/mime_types.rb
|
413
408
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
414
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
415
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
416
409
|
- spec/dummy/config/initializers/secret_token.rb
|
417
|
-
- spec/dummy/config/
|
418
|
-
- spec/dummy/config/
|
419
|
-
- spec/dummy/config/environments/production.rb
|
410
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
411
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
420
412
|
- spec/dummy/config/application.rb
|
421
|
-
- spec/dummy/
|
422
|
-
- spec/dummy/public/favicon.ico
|
423
|
-
- spec/dummy/public/500.html
|
424
|
-
- spec/dummy/public/404.html
|
425
|
-
- spec/dummy/db/schema.rb
|
426
|
-
- spec/dummy/db/migrate/20130716083410_init_migration.rb
|
427
|
-
- spec/dummy/log/test.log
|
413
|
+
- spec/dummy/config/routes.rb
|
428
414
|
- spec/dummy/config.ru
|
429
|
-
- spec/
|
430
|
-
- spec/dummy/app/models/post.rb
|
431
|
-
- spec/dummy/app/models/user.rb
|
432
|
-
- spec/dummy/app/assets/javascripts/application.js
|
433
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
434
|
-
- spec/dummy/app/controllers/manage/posts_controller.rb
|
435
|
-
- spec/dummy/app/controllers/application_controller.rb
|
436
|
-
- spec/dummy/app/helpers/application_helper.rb
|
437
|
-
- spec/controllers/manage/resource_controller_spec.rb
|
415
|
+
- spec/fields/reader_spec.rb
|
438
416
|
- spec/spec_helper.rb
|