faalis 2.0.0.rc5 → 2.0.0.rc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +20 -0
- data/lib/faalis/dashboard/sections/resource.rb +4 -0
- data/lib/faalis/dashboard/sections/resource_create.rb +25 -4
- data/lib/faalis/dashboard/sections/resource_destroy.rb +10 -1
- data/lib/faalis/dashboard/sections/resource_show.rb +7 -2
- data/lib/faalis/dashboard/sections/resources_index.rb +6 -1
- data/lib/faalis/version.rb +1 -1
- data/lib/generators/faalis/install_generator.rb +6 -1
- data/lib/generators/faalis/views_generator.rb +43 -29
- data/spec/generators/install_spec.rb +2 -0
- metadata +47 -106
- data/lib/generators/faalis/angularjs_resource_generator.rb +0 -74
- data/lib/generators/faalis/install_specs_generator.rb +0 -48
- data/lib/generators/faalis/js/install_i18n_generator.rb +0 -47
- data/lib/generators/faalis/js/list_view_generator.rb +0 -95
- data/lib/generators/faalis/scaffold_generator.rb +0 -215
- data/spec/dummy/db/migrate/20151210221051_devise_create_faalis_users.faalis.rb +0 -63
- data/spec/dummy/db/migrate/20151210221052_create_faalis_groups.faalis.rb +0 -13
- data/spec/dummy/db/migrate/20151210221053_create_faalis_permissions.faalis.rb +0 -13
- data/spec/dummy/db/migrate/20151210221054_add_permissions_groups_table.faalis.rb +0 -9
- data/spec/dummy/db/migrate/20151210221055_add_users_groups_table.faalis.rb +0 -9
- data/spec/dummy/db/migrate/20151210221056_add_uniqueness_index_to_users_groups.faalis.rb +0 -12
- data/spec/dummy/db/migrate/20151210221057_create_application_models.model_discovery_engine.rb +0 -10
- data/spec/dummy/db/schema.rb +0 -70
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -3922
- data/spec/dummy/tmp/Gemfile +0 -2
- data/spec/dummy/tmp/app/assets/javascripts/dashboard/application.js +0 -19
- data/spec/dummy/tmp/app/assets/stylesheets/dashboard/ltr/application.css +0 -3
- data/spec/dummy/tmp/app/assets/stylesheets/dashboard/rtl/application.css +0 -3
- data/spec/dummy/tmp/app/assets/stylesheets/ltr/application.css +0 -3
- data/spec/dummy/tmp/app/assets/stylesheets/rtl/application.css +0 -3
- data/spec/dummy/tmp/app/controllers/api_controller.rb +0 -2
- data/spec/dummy/tmp/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/tmp/app/controllers/dashboard/application_controller.rb +0 -18
- data/spec/dummy/tmp/app/policies/application_policy.rb +0 -2
- data/spec/dummy/tmp/config/initializers/assets.rb +0 -1
- data/spec/dummy/tmp/config/initializers/devise.rb +0 -251
- data/spec/dummy/tmp/config/initializers/faalis.rb +0 -12
- data/spec/dummy/tmp/config/initializers/faalis_assets.rb +0 -1
- data/spec/dummy/tmp/config/initializers/formtastic.rb +0 -1
- data/spec/dummy/tmp/config/routes.rb +0 -0
- data/spec/dummy/tmp/db/seeds.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54fc2bddb9547f9ff69fb6946ac9318210ee907c
|
4
|
+
data.tar.gz: 0a9105a8da26665726635a5f85b3dfd6f03f4b07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6e3d0f4413c13713465c71747e6eb5d86f4fe9510dcec500c9a4b0bf1902c1912458babc838c64350e3f46a8f08534c4bf1b8e0147656bcb19d0c2dbc2d9a8b
|
7
|
+
data.tar.gz: 439987e49ba6b5b029fa9c58df240f1ad0ebfe33ee791594571a4faa3dc2ef3dc29982e0837639715e6ba6404f7895f53017c7741c76b29accf05cde42859a77
|
data/Rakefile
CHANGED
@@ -17,6 +17,26 @@ Bundler::GemHelper.install_tasks
|
|
17
17
|
require 'rspec/core'
|
18
18
|
require 'rspec/core/rake_task'
|
19
19
|
|
20
|
+
desc "Generate and deploy all docs"
|
21
|
+
task docs: ['guides:generate', 'guides:deploy'] do
|
22
|
+
pwd = Dir.pwd
|
23
|
+
|
24
|
+
system('bundle exec yardoc')
|
25
|
+
|
26
|
+
system("cp -r #{pwd}/docs/ruby /tmp/ruby")
|
27
|
+
Dir.chdir '/tmp/ruby' do
|
28
|
+
system('git init')
|
29
|
+
system('git remote add origin git@github.com:Yellowen/faalis_apidoc.git')
|
30
|
+
system('git checkout -b gh-pages')
|
31
|
+
system('echo "api.faalis.io" > CNAME')
|
32
|
+
system('git add .')
|
33
|
+
system('git commit -a -m "new release"')
|
34
|
+
system('git push origin gh-pages -f')
|
35
|
+
end
|
36
|
+
|
37
|
+
system("rm -rf /tmp/ruby ")
|
38
|
+
end
|
39
|
+
|
20
40
|
desc 'Run all specs in spec directory (excluding plugin specs)'
|
21
41
|
RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare')
|
22
42
|
task default: :spec
|
@@ -9,7 +9,6 @@ module Faalis::Dashboard::Sections
|
|
9
9
|
# The actual action method of a dashboard controller
|
10
10
|
def new
|
11
11
|
authorize model, :create?
|
12
|
-
setup_named_routes
|
13
12
|
|
14
13
|
collect_model_fields_for_form
|
15
14
|
|
@@ -18,6 +17,7 @@ module Faalis::Dashboard::Sections
|
|
18
17
|
@_fields_properties = form_properties._field_details
|
19
18
|
@multipart = has_attachment?
|
20
19
|
|
20
|
+
new_hook(resource)
|
21
21
|
return if _override_views.include? :new
|
22
22
|
render 'faalis/dashboard/resource/new'
|
23
23
|
end
|
@@ -27,13 +27,14 @@ module Faalis::Dashboard::Sections
|
|
27
27
|
@resource = model.find(params[:id])
|
28
28
|
authorize @resource, :update?
|
29
29
|
|
30
|
-
setup_named_routes
|
31
30
|
collect_model_fields_for_form
|
32
31
|
|
33
32
|
@resource_title = _resource_title.singularize
|
34
33
|
@_fields_properties = form_properties._field_details
|
35
34
|
@multipart = has_attachment?
|
36
35
|
|
36
|
+
edit_hook(@resource)
|
37
|
+
|
37
38
|
return if _override_views.include? :edit
|
38
39
|
render 'faalis/dashboard/resource/edit'
|
39
40
|
end
|
@@ -43,10 +44,12 @@ module Faalis::Dashboard::Sections
|
|
43
44
|
@resource = model.find(params[:id])
|
44
45
|
authorize @resource
|
45
46
|
|
46
|
-
setup_named_routes
|
47
47
|
new_params = creation_params
|
48
48
|
new_params.merge(reflections_hash) if reflections_hash
|
49
49
|
|
50
|
+
# Customize update behaviour
|
51
|
+
before_update_hook(@resource)
|
52
|
+
|
50
53
|
# TODO: Move this method to a suitable place instead of controller
|
51
54
|
# itself
|
52
55
|
new_params = symbolify_keys(new_params)
|
@@ -63,13 +66,14 @@ module Faalis::Dashboard::Sections
|
|
63
66
|
# The actual action method for creating new resource.
|
64
67
|
def create
|
65
68
|
authorize model
|
66
|
-
setup_named_routes
|
67
69
|
|
68
70
|
@resource = model.new(creation_params)
|
69
71
|
|
70
72
|
@resource.assign_attributes(**reflections_hash) unless reflections_hash.nil?
|
71
73
|
|
74
|
+
# Customize the create behaviour
|
72
75
|
before_create_hook(@resource)
|
76
|
+
|
73
77
|
# TODO: Handle M2M relations in here
|
74
78
|
|
75
79
|
if @resource.save
|
@@ -117,9 +121,26 @@ module Faalis::Dashboard::Sections
|
|
117
121
|
|
118
122
|
private
|
119
123
|
|
124
|
+
# You can override this method to change the behaviour of `create`
|
125
|
+
# action
|
120
126
|
def before_create_hook(resource)
|
121
127
|
end
|
122
128
|
|
129
|
+
# You can override this method to change the behaviour of `update`
|
130
|
+
# action
|
131
|
+
def before_update_hook(resource)
|
132
|
+
end
|
133
|
+
|
134
|
+
# You can override this method to change the behaviour of `new`
|
135
|
+
# action
|
136
|
+
def new_hook(resource)
|
137
|
+
end
|
138
|
+
|
139
|
+
# You can override this method to change the behaviour of `edit`
|
140
|
+
# action
|
141
|
+
def edit_hook(resource)
|
142
|
+
end
|
143
|
+
|
123
144
|
def all_valid_columns_for_form
|
124
145
|
return @all_valid_columns_for_form unless @all_valid_columns_for_form.nil?
|
125
146
|
columns = model.columns_hash.dup
|
@@ -7,12 +7,21 @@ module Faalis::Dashboard::Sections
|
|
7
7
|
def destroy
|
8
8
|
@resource = model.find(params[:id])
|
9
9
|
authorize @resource
|
10
|
-
|
10
|
+
|
11
11
|
@resource_title = _resource_title.singularize
|
12
|
+
|
13
|
+
before_destroy_hook(@resource)
|
12
14
|
@resource.destroy
|
13
15
|
|
14
16
|
return if _override_views.include? :destroy
|
15
17
|
render 'faalis/dashboard/resource/destroy'
|
16
18
|
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
# You can override this method to change the behaviour of `destroy`
|
23
|
+
# action
|
24
|
+
def before_destroy_hook(resource)
|
25
|
+
end
|
17
26
|
end
|
18
27
|
end
|
@@ -10,11 +10,12 @@ module Faalis::Dashboard::Sections
|
|
10
10
|
@resource = model.find(params[:id])
|
11
11
|
authorize @resource
|
12
12
|
|
13
|
-
setup_named_routes
|
14
13
|
collect_model_fields_for_show
|
15
14
|
|
16
15
|
@resource_title = _resource_title.singularize
|
17
16
|
|
17
|
+
show_hook(@resource)
|
18
|
+
|
18
19
|
return if _override_views.include? :show
|
19
20
|
render 'faalis/dashboard/resource/show'
|
20
21
|
end
|
@@ -46,11 +47,15 @@ module Faalis::Dashboard::Sections
|
|
46
47
|
|
47
48
|
# @all_valid_columns_for_show = columns
|
48
49
|
# end
|
49
|
-
|
50
50
|
def _show_fields
|
51
51
|
all_valid_columns_for_show.keys.map(&:to_sym)
|
52
52
|
end
|
53
53
|
|
54
|
+
# You can override this method to change the behaviour of `show`
|
55
|
+
# action
|
56
|
+
def show_hook(resource)
|
57
|
+
end
|
58
|
+
|
54
59
|
# The actual DSL for index ages
|
55
60
|
module ClassMethods
|
56
61
|
# To specify any property and action for `show` section
|
@@ -10,10 +10,11 @@ module Faalis::Dashboard::Sections
|
|
10
10
|
authorize model
|
11
11
|
|
12
12
|
fetch_and_set_all
|
13
|
-
setup_named_routes
|
14
13
|
action_buttons(index_properties)
|
15
14
|
@_tools_buttons = index_properties.tool_buttons || {}
|
16
15
|
|
16
|
+
index_hook(@resources)
|
17
|
+
|
17
18
|
return if _override_views.include? :index
|
18
19
|
render 'faalis/dashboard/resource/index'
|
19
20
|
end
|
@@ -63,7 +64,11 @@ module Faalis::Dashboard::Sections
|
|
63
64
|
@resources = result
|
64
65
|
end
|
65
66
|
|
67
|
+
# You can override this method to change the behaviour of `index`
|
68
|
+
# action
|
69
|
+
def index_hook(resources)
|
66
70
|
|
71
|
+
end
|
67
72
|
# The actual DSL for index ages
|
68
73
|
module ClassMethods
|
69
74
|
|
data/lib/faalis/version.rb
CHANGED
@@ -37,12 +37,17 @@ module Faalis
|
|
37
37
|
def copy_init_files
|
38
38
|
template 'devise.rb', 'config/initializers/devise.rb'
|
39
39
|
template 'faalis.rb', 'config/initializers/faalis.rb'
|
40
|
-
template 'seeds.rb', 'db/seeds.rb'
|
41
40
|
template 'api_controller.rb', 'app/controllers/api_controller.rb'
|
42
41
|
template 'dashboard_controller.rb', 'app/controllers/dashboard/application_controller.rb'
|
43
42
|
template 'policy/application_policy.rb', 'app/policies/application_policy.rb'
|
44
43
|
end
|
45
44
|
|
45
|
+
def patch_seed
|
46
|
+
prepend_to_file 'db/seeds.rb' do
|
47
|
+
"Faalis::Engine.load_seed\n"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
46
51
|
def copy_js_manifest
|
47
52
|
empty_directory 'app/assets/javascripts/dashboard'
|
48
53
|
directory 'javascripts', 'app/assets/javascripts/dashboard'
|
@@ -1,43 +1,57 @@
|
|
1
|
-
# -----------------------------------------------------------------------------
|
2
|
-
# Faalis - Basic website skel engine
|
3
|
-
# Copyright (C) 2012-2013 Yellowen
|
4
|
-
#
|
5
|
-
# This program is free software; you can redistribute it and/or modify
|
6
|
-
# it under the terms of the GNU General Public License as published by
|
7
|
-
# the Free Software Foundation; either version 2 of the License, or
|
8
|
-
# (at your option) any later version.
|
9
|
-
#
|
10
|
-
# This program is distributed in the hope that it will be useful,
|
11
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
-
# GNU General Public License for more details.
|
14
|
-
#
|
15
|
-
# You should have received a copy of the GNU General Public License along
|
16
|
-
# with this program; if not, write to the Free Software Foundation, Inc.,
|
17
|
-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
18
|
-
# -----------------------------------------------------------------------------
|
19
|
-
|
20
1
|
module Faalis
|
21
2
|
module Generators
|
22
3
|
class ViewsGenerator < Rails::Generators::Base
|
23
4
|
source_root File.expand_path('../../../../app/', __FILE__)
|
24
5
|
|
25
|
-
desc "Copy
|
6
|
+
desc "Copy given views of a resource to the main application"
|
7
|
+
argument :resource_name , type: :string, required: true
|
8
|
+
argument :views_to_copy , type: :array, default: []
|
26
9
|
|
27
|
-
def
|
28
|
-
|
29
|
-
|
30
|
-
|
10
|
+
def copy_views
|
11
|
+
if views_to_copy.empty?
|
12
|
+
views = ['index', 'show', 'new', 'edit', 'create', 'update', 'destroy']
|
13
|
+
else
|
14
|
+
views = views_to_copy
|
15
|
+
end
|
31
16
|
|
32
|
-
|
17
|
+
empty_directory "app/views/#{resources}"
|
18
|
+
|
19
|
+
if views.include? 'index'
|
20
|
+
copy_file 'views/faalis/dashboard/resource/index.html.slim', "app/views/#{resources}/index.html.slim"
|
21
|
+
end
|
22
|
+
|
23
|
+
if views.include? 'show'
|
24
|
+
copy_file 'views/faalis/dashboard/resource/show.html.slim', "app/views/#{resources}/show.html.slim"
|
25
|
+
end
|
26
|
+
|
27
|
+
if views.include? 'new'
|
28
|
+
copy_file 'views/faalis/dashboard/resource/new.html.slim', "app/views/#{resources}/new.html.slim"
|
29
|
+
copy_file 'views/faalis/dashboard/resource/_form.html.slim', "app/views/#{resources}/_form.html.slim"
|
30
|
+
end
|
33
31
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
if views.include? 'edit'
|
33
|
+
copy_file 'views/faalis/dashboard/resource/edit.html.slim', "app/views/#{resources}/edit.html.slim"
|
34
|
+
copy_file 'views/faalis/dashboard/resource/_form.html.slim', "app/views/#{resources}/_form.html.slim"
|
35
|
+
end
|
38
36
|
|
37
|
+
if views.include? 'create'
|
38
|
+
copy_file 'views/faalis/dashboard/resource/create.js.erb', "app/views/#{resources}/create.js.erb"
|
39
|
+
end
|
40
|
+
|
41
|
+
if views.include? 'update'
|
42
|
+
copy_file 'views/faalis/dashboard/resource/update.js.erb', "app/views/#{resources}/update.js.erb"
|
43
|
+
end
|
44
|
+
|
45
|
+
if views.include? 'destroy'
|
46
|
+
copy_file 'views/faalis/dashboard/resource/destroy.js.erb', "app/views/#{resources}/destroy.js.erb"
|
47
|
+
end
|
39
48
|
end
|
40
49
|
|
50
|
+
private
|
51
|
+
|
52
|
+
def resources
|
53
|
+
resource_name.underscore.pluralize
|
54
|
+
end
|
41
55
|
end
|
42
56
|
end
|
43
57
|
end
|
@@ -25,11 +25,13 @@ describe Faalis::Generators::InstallGenerator, type: :generator do
|
|
25
25
|
|
26
26
|
FileUtils.mkdir_p("#{path}/config/initializers")
|
27
27
|
FileUtils.mkdir_p("#{path}/app/controllers")
|
28
|
+
FileUtils.mkdir_p("#{path}/db")
|
28
29
|
|
29
30
|
FileUtils.touch("#{path}/config/routes.rb")
|
30
31
|
FileUtils.touch("#{path}/Gemfile")
|
31
32
|
FileUtils.touch("#{path}/config/initializers/assets.rb")
|
32
33
|
FileUtils.touch("#{path}/config/initializers/formtastic.rb")
|
34
|
+
FileUtils.touch("#{path}/db/seeds.rb")
|
33
35
|
|
34
36
|
|
35
37
|
FileUtils.touch("#{path}/app/controllers/application_controller.rb")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faalis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sameer Rahmani
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-12-
|
12
|
+
date: 2015-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -754,15 +754,10 @@ files:
|
|
754
754
|
- lib/faalis_application.rb
|
755
755
|
- lib/faalis_plugin.rb
|
756
756
|
- lib/generators/faalis/USAGE
|
757
|
-
- lib/generators/faalis/angularjs_resource_generator.rb
|
758
757
|
- lib/generators/faalis/install_all_generator.rb
|
759
758
|
- lib/generators/faalis/install_generator.rb
|
760
|
-
- lib/generators/faalis/install_specs_generator.rb
|
761
|
-
- lib/generators/faalis/js/install_i18n_generator.rb
|
762
|
-
- lib/generators/faalis/js/list_view_generator.rb
|
763
759
|
- lib/generators/faalis/resource_generator.rb
|
764
760
|
- lib/generators/faalis/resources_generator.rb
|
765
|
-
- lib/generators/faalis/scaffold_generator.rb
|
766
761
|
- lib/generators/faalis/templates/README
|
767
762
|
- lib/generators/faalis/templates/SPECS
|
768
763
|
- lib/generators/faalis/templates/api/controller.rb.erb
|
@@ -838,38 +833,11 @@ files:
|
|
838
833
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
839
834
|
- spec/dummy/config/locales/en.yml
|
840
835
|
- spec/dummy/config/routes.rb
|
841
|
-
- spec/dummy/db/migrate/20151210221051_devise_create_faalis_users.faalis.rb
|
842
|
-
- spec/dummy/db/migrate/20151210221052_create_faalis_groups.faalis.rb
|
843
|
-
- spec/dummy/db/migrate/20151210221053_create_faalis_permissions.faalis.rb
|
844
|
-
- spec/dummy/db/migrate/20151210221054_add_permissions_groups_table.faalis.rb
|
845
|
-
- spec/dummy/db/migrate/20151210221055_add_users_groups_table.faalis.rb
|
846
|
-
- spec/dummy/db/migrate/20151210221056_add_uniqueness_index_to_users_groups.faalis.rb
|
847
|
-
- spec/dummy/db/migrate/20151210221057_create_application_models.model_discovery_engine.rb
|
848
|
-
- spec/dummy/db/schema.rb
|
849
|
-
- spec/dummy/db/test.sqlite3
|
850
836
|
- spec/dummy/lib/templates/slim/scaffold/_form.html.slim
|
851
|
-
- spec/dummy/log/test.log
|
852
837
|
- spec/dummy/public/404.html
|
853
838
|
- spec/dummy/public/422.html
|
854
839
|
- spec/dummy/public/500.html
|
855
840
|
- spec/dummy/public/favicon.ico
|
856
|
-
- spec/dummy/tmp/Gemfile
|
857
|
-
- spec/dummy/tmp/app/assets/javascripts/dashboard/application.js
|
858
|
-
- spec/dummy/tmp/app/assets/stylesheets/dashboard/ltr/application.css
|
859
|
-
- spec/dummy/tmp/app/assets/stylesheets/dashboard/rtl/application.css
|
860
|
-
- spec/dummy/tmp/app/assets/stylesheets/ltr/application.css
|
861
|
-
- spec/dummy/tmp/app/assets/stylesheets/rtl/application.css
|
862
|
-
- spec/dummy/tmp/app/controllers/api_controller.rb
|
863
|
-
- spec/dummy/tmp/app/controllers/application_controller.rb
|
864
|
-
- spec/dummy/tmp/app/controllers/dashboard/application_controller.rb
|
865
|
-
- spec/dummy/tmp/app/policies/application_policy.rb
|
866
|
-
- spec/dummy/tmp/config/initializers/assets.rb
|
867
|
-
- spec/dummy/tmp/config/initializers/devise.rb
|
868
|
-
- spec/dummy/tmp/config/initializers/faalis.rb
|
869
|
-
- spec/dummy/tmp/config/initializers/faalis_assets.rb
|
870
|
-
- spec/dummy/tmp/config/initializers/formtastic.rb
|
871
|
-
- spec/dummy/tmp/config/routes.rb
|
872
|
-
- spec/dummy/tmp/db/seeds.rb
|
873
841
|
- spec/factories/faalis/groups.rb
|
874
842
|
- spec/factories/faalis/permissions.rb
|
875
843
|
- spec/factories/faalis/users.rb
|
@@ -910,91 +878,64 @@ specification_version: 4
|
|
910
878
|
summary: Faalis is a ruby on rails engine which provides a platform to easily build
|
911
879
|
a web application
|
912
880
|
test_files:
|
881
|
+
- spec/policies/faalis/admin_only_policy_spec.rb
|
882
|
+
- spec/policies/faalis/application_policy_spec.rb
|
913
883
|
- spec/support/factory_girl.rb
|
914
|
-
- spec/
|
915
|
-
- spec/models/faalis/group_spec.rb
|
916
|
-
- spec/models/faalis/permission_spec.rb
|
884
|
+
- spec/generators/install_spec.rb
|
917
885
|
- spec/models/faalis/user_spec.rb
|
918
|
-
- spec/
|
919
|
-
- spec/
|
920
|
-
- spec/
|
921
|
-
- spec/
|
922
|
-
- spec/features/dashboard_spec.rb
|
923
|
-
- spec/features/record_not_found_spec.rb
|
924
|
-
- spec/dummy/tmp/Gemfile
|
925
|
-
- spec/dummy/tmp/db/seeds.rb
|
926
|
-
- spec/dummy/tmp/app/assets/javascripts/dashboard/application.js
|
927
|
-
- spec/dummy/tmp/app/assets/stylesheets/ltr/application.css
|
928
|
-
- spec/dummy/tmp/app/assets/stylesheets/dashboard/ltr/application.css
|
929
|
-
- spec/dummy/tmp/app/assets/stylesheets/dashboard/rtl/application.css
|
930
|
-
- spec/dummy/tmp/app/assets/stylesheets/rtl/application.css
|
931
|
-
- spec/dummy/tmp/app/controllers/api_controller.rb
|
932
|
-
- spec/dummy/tmp/app/controllers/application_controller.rb
|
933
|
-
- spec/dummy/tmp/app/controllers/dashboard/application_controller.rb
|
934
|
-
- spec/dummy/tmp/app/policies/application_policy.rb
|
935
|
-
- spec/dummy/tmp/config/routes.rb
|
936
|
-
- spec/dummy/tmp/config/initializers/assets.rb
|
937
|
-
- spec/dummy/tmp/config/initializers/faalis_assets.rb
|
938
|
-
- spec/dummy/tmp/config/initializers/formtastic.rb
|
939
|
-
- spec/dummy/tmp/config/initializers/devise.rb
|
940
|
-
- spec/dummy/tmp/config/initializers/faalis.rb
|
941
|
-
- spec/dummy/log/test.log
|
886
|
+
- spec/models/faalis/permission_spec.rb
|
887
|
+
- spec/models/faalis/group_spec.rb
|
888
|
+
- spec/spec_helper.rb
|
889
|
+
- spec/dummy/public/422.html
|
942
890
|
- spec/dummy/public/500.html
|
943
891
|
- spec/dummy/public/404.html
|
944
|
-
- spec/dummy/public/422.html
|
945
892
|
- spec/dummy/public/favicon.ico
|
946
|
-
- spec/dummy/config.ru
|
947
|
-
- spec/dummy/README.rdoc
|
948
|
-
- spec/dummy/db/schema.rb
|
949
|
-
- spec/dummy/db/migrate/20151210221056_add_uniqueness_index_to_users_groups.faalis.rb
|
950
|
-
- spec/dummy/db/migrate/20151210221054_add_permissions_groups_table.faalis.rb
|
951
|
-
- spec/dummy/db/migrate/20151210221055_add_users_groups_table.faalis.rb
|
952
|
-
- spec/dummy/db/migrate/20151210221053_create_faalis_permissions.faalis.rb
|
953
|
-
- spec/dummy/db/migrate/20151210221057_create_application_models.model_discovery_engine.rb
|
954
|
-
- spec/dummy/db/migrate/20151210221052_create_faalis_groups.faalis.rb
|
955
|
-
- spec/dummy/db/migrate/20151210221051_devise_create_faalis_users.faalis.rb
|
956
|
-
- spec/dummy/db/test.sqlite3
|
957
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
958
|
-
- spec/dummy/app/assets/javascripts/application.js
|
959
|
-
- spec/dummy/app/assets/javascripts/dashboard/application.js
|
960
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
961
|
-
- spec/dummy/app/assets/stylesheets/ltr/application.css
|
962
|
-
- spec/dummy/app/assets/stylesheets/dashboard/ltr/application.css
|
963
|
-
- spec/dummy/app/assets/stylesheets/dashboard/rtl/application.css
|
964
|
-
- spec/dummy/app/assets/stylesheets/rtl/application.css
|
965
|
-
- spec/dummy/app/controllers/api_controller.rb
|
966
|
-
- spec/dummy/app/controllers/application_controller.rb
|
967
|
-
- spec/dummy/app/controllers/dashboard/application_controller.rb
|
968
|
-
- spec/dummy/app/helpers/application_helper.rb
|
969
|
-
- spec/dummy/app/policies/application_policy.rb
|
970
893
|
- spec/dummy/Rakefile
|
971
|
-
- spec/dummy/
|
972
|
-
- spec/dummy/bin/rake
|
973
|
-
- spec/dummy/bin/bundle
|
974
|
-
- spec/dummy/bin/rails
|
894
|
+
- spec/dummy/config.ru
|
975
895
|
- spec/dummy/config/application.rb
|
976
|
-
- spec/dummy/config/environments/test.rb
|
977
|
-
- spec/dummy/config/environments/development.rb
|
978
|
-
- spec/dummy/config/environments/production.rb
|
979
|
-
- spec/dummy/config/routes.rb
|
980
|
-
- spec/dummy/config/environment.rb
|
981
|
-
- spec/dummy/config/database.yml
|
982
|
-
- spec/dummy/config/locales/en.yml
|
983
|
-
- spec/dummy/config/boot.rb
|
984
896
|
- spec/dummy/config/initializers/session_store.rb
|
897
|
+
- spec/dummy/config/initializers/faalis.rb
|
898
|
+
- spec/dummy/config/initializers/devise.rb
|
985
899
|
- spec/dummy/config/initializers/formstatic.rb
|
900
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
986
901
|
- spec/dummy/config/initializers/faalis_assets.rb
|
987
902
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
988
|
-
- spec/dummy/config/initializers/
|
989
|
-
- spec/dummy/config/initializers/formtastic.rb
|
903
|
+
- spec/dummy/config/initializers/mime_types.rb
|
990
904
|
- spec/dummy/config/initializers/inflections.rb
|
991
|
-
- spec/dummy/config/initializers/devise.rb
|
992
905
|
- spec/dummy/config/initializers/kaminari_config.rb
|
906
|
+
- spec/dummy/config/initializers/formtastic.rb
|
993
907
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
994
|
-
- spec/dummy/config/initializers/mime_types.rb
|
995
908
|
- spec/dummy/config/initializers/secret_token.rb
|
996
|
-
- spec/dummy/config/
|
997
|
-
- spec/
|
998
|
-
- spec/
|
999
|
-
- spec/
|
909
|
+
- spec/dummy/config/database.yml
|
910
|
+
- spec/dummy/config/boot.rb
|
911
|
+
- spec/dummy/config/environments/production.rb
|
912
|
+
- spec/dummy/config/environments/test.rb
|
913
|
+
- spec/dummy/config/environments/development.rb
|
914
|
+
- spec/dummy/config/locales/en.yml
|
915
|
+
- spec/dummy/config/routes.rb
|
916
|
+
- spec/dummy/config/environment.rb
|
917
|
+
- spec/dummy/app/assets/javascripts/dashboard/application.js
|
918
|
+
- spec/dummy/app/assets/javascripts/application.js
|
919
|
+
- spec/dummy/app/assets/stylesheets/rtl/application.css
|
920
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
921
|
+
- spec/dummy/app/assets/stylesheets/ltr/application.css
|
922
|
+
- spec/dummy/app/assets/stylesheets/dashboard/rtl/application.css
|
923
|
+
- spec/dummy/app/assets/stylesheets/dashboard/ltr/application.css
|
924
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
925
|
+
- spec/dummy/app/policies/application_policy.rb
|
926
|
+
- spec/dummy/app/helpers/application_helper.rb
|
927
|
+
- spec/dummy/app/controllers/api_controller.rb
|
928
|
+
- spec/dummy/app/controllers/application_controller.rb
|
929
|
+
- spec/dummy/app/controllers/dashboard/application_controller.rb
|
930
|
+
- spec/dummy/bin/rails
|
931
|
+
- spec/dummy/bin/rake
|
932
|
+
- spec/dummy/bin/bundle
|
933
|
+
- spec/dummy/lib/templates/slim/scaffold/_form.html.slim
|
934
|
+
- spec/dummy/README.rdoc
|
935
|
+
- spec/factories/faalis/users.rb
|
936
|
+
- spec/factories/faalis/permissions.rb
|
937
|
+
- spec/factories/faalis/groups.rb
|
938
|
+
- spec/features/dashboard_spec.rb
|
939
|
+
- spec/features/sign_in_spec.rb
|
940
|
+
- spec/features/record_not_found_spec.rb
|
1000
941
|
has_rdoc:
|