mks_auth 1.0.0

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.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/config/mks_auth_manifest.js +2 -0
  6. data/app/assets/javascripts/mks_auth/application.js +13 -0
  7. data/app/assets/stylesheets/mks_auth/application.css +15 -0
  8. data/app/controllers/mks/auth/access_controller.rb +51 -0
  9. data/app/controllers/mks/auth/application_controller.rb +25 -0
  10. data/app/controllers/mks/auth/application_modules_controller.rb +60 -0
  11. data/app/controllers/mks/auth/user_roles_controller.rb +52 -0
  12. data/app/controllers/mks/auth/users_controller.rb +67 -0
  13. data/app/helpers/mks/auth/access_helper.rb +47 -0
  14. data/app/helpers/mks/auth/application_helper.rb +10 -0
  15. data/app/jobs/mks_auth/application_job.rb +4 -0
  16. data/app/mailers/mks_auth/application_mailer.rb +6 -0
  17. data/app/models/mks/auth/application_module.rb +13 -0
  18. data/app/models/mks/auth/application_record.rb +7 -0
  19. data/app/models/mks/auth/menu.rb +12 -0
  20. data/app/models/mks/auth/user.rb +24 -0
  21. data/app/models/mks/auth/user_role.rb +11 -0
  22. data/config/routes.rb +32 -0
  23. data/db/migrate/20161029065810_create_mks_auth_application_modules.rb +10 -0
  24. data/db/migrate/20161029065959_create_mks_auth_users.rb +16 -0
  25. data/db/migrate/20161029070807_create_mks_auth_user_roles.rb +9 -0
  26. data/db/migrate/20161029071047_create_mks_users_user_roles.rb +11 -0
  27. data/db/migrate/20161029072256_create_mks_auth_menus.rb +17 -0
  28. data/db/migrate/20161029074023_create_mks_menus_user_roles.rb +11 -0
  29. data/lib/mks/auth.rb +4 -0
  30. data/lib/mks/auth/engine.rb +28 -0
  31. data/lib/mks/auth/version.rb +5 -0
  32. data/lib/mks_auth.rb +2 -0
  33. data/lib/tasks/mks_auth_tasks.rake +4 -0
  34. data/spec/controllers/mks/auth/users_controller_spec.rb +20 -0
  35. data/spec/dummy/Rakefile +6 -0
  36. data/spec/dummy/app/assets/config/manifest.js +5 -0
  37. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  38. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  39. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  40. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  41. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  42. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  43. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  44. data/spec/dummy/app/jobs/application_job.rb +2 -0
  45. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  46. data/spec/dummy/app/models/application_record.rb +3 -0
  47. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  48. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  49. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  50. data/spec/dummy/bin/bundle +3 -0
  51. data/spec/dummy/bin/rails +4 -0
  52. data/spec/dummy/bin/rake +4 -0
  53. data/spec/dummy/bin/setup +34 -0
  54. data/spec/dummy/bin/update +29 -0
  55. data/spec/dummy/config.ru +5 -0
  56. data/spec/dummy/config/application.rb +23 -0
  57. data/spec/dummy/config/boot.rb +5 -0
  58. data/spec/dummy/config/cable.yml +9 -0
  59. data/spec/dummy/config/database.yml +23 -0
  60. data/spec/dummy/config/environment.rb +5 -0
  61. data/spec/dummy/config/environments/development.rb +54 -0
  62. data/spec/dummy/config/environments/production.rb +86 -0
  63. data/spec/dummy/config/environments/test.rb +42 -0
  64. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  65. data/spec/dummy/config/initializers/assets.rb +11 -0
  66. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  67. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  68. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  69. data/spec/dummy/config/initializers/inflections.rb +16 -0
  70. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  71. data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
  72. data/spec/dummy/config/initializers/session_store.rb +3 -0
  73. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  74. data/spec/dummy/config/locales/en.yml +23 -0
  75. data/spec/dummy/config/puma.rb +47 -0
  76. data/spec/dummy/config/routes.rb +3 -0
  77. data/spec/dummy/config/secrets.yml +22 -0
  78. data/spec/dummy/config/spring.rb +6 -0
  79. data/spec/dummy/db/schema.rb +75 -0
  80. data/spec/dummy/log/development.log +3 -0
  81. data/spec/dummy/public/404.html +67 -0
  82. data/spec/dummy/public/422.html +67 -0
  83. data/spec/dummy/public/500.html +66 -0
  84. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  85. data/spec/dummy/public/apple-touch-icon.png +0 -0
  86. data/spec/dummy/public/favicon.ico +0 -0
  87. data/spec/factories/application_modules.rb +6 -0
  88. data/spec/factories/menus.rb +10 -0
  89. data/spec/factories/user_roles.rb +17 -0
  90. data/spec/factories/users.rb +28 -0
  91. data/spec/models/mks/auth/application_module_spec.rb +36 -0
  92. data/spec/models/mks/auth/menu_spec.rb +16 -0
  93. data/spec/models/mks/auth/user_role_spec.rb +32 -0
  94. data/spec/models/mks/auth/user_spec.rb +46 -0
  95. data/spec/rails_helper.rb +57 -0
  96. data/spec/spec_helper.rb +109 -0
  97. data/spec/support/factory_girl.rb +5 -0
  98. metadata +302 -0
@@ -0,0 +1,32 @@
1
+ require 'rails_helper'
2
+
3
+ module Mks
4
+ module Auth
5
+ RSpec.describe UserRole, type: :model do
6
+ it 'has a valid factory' do
7
+ expect(create(:user_role)).to be_valid
8
+ end
9
+
10
+ it 'is invalid with no name' do
11
+ expect(build(:user_role, name: nil)).not_to be_valid
12
+ end
13
+
14
+ it 'is invalid with duplicate name' do
15
+ ur = create(:user_role)
16
+ expect(build(:user_role, name: ur.name)).not_to be_valid
17
+ end
18
+
19
+ it 'can access users' do
20
+ u = create(:user, :with_role)
21
+ role = u.roles.first
22
+ expect(role.users.count).to eq 1
23
+ end
24
+
25
+ it 'can access menus' do
26
+ ur = create(:user_role, :with_menus)
27
+ expect(ur.menus.count).to eq 3
28
+ end
29
+ end
30
+ end
31
+ end
32
+
@@ -0,0 +1,46 @@
1
+ require 'rails_helper'
2
+
3
+ module Mks
4
+ module Auth
5
+ RSpec.describe User, type: :model do
6
+ it 'has a valid factory' do
7
+ expect(create(:user)).to be_valid
8
+ end
9
+
10
+ it 'is invalid with no first name' do
11
+ expect(build(:user, first_name: nil)).not_to be_valid
12
+ end
13
+
14
+ it 'is invalid with no last name' do
15
+ expect(build(:user, last_name: nil)).not_to be_valid
16
+ end
17
+
18
+ it 'is invalid with no email' do
19
+ expect(build(:user, email: nil)).not_to be_valid
20
+ end
21
+
22
+ it 'is invalid with password less than 6 characters' do
23
+ expect(build(:user, password: '1234')).not_to be_valid
24
+ end
25
+
26
+ it 'is invalid with duplicate email' do
27
+ u = create(:user)
28
+ expect(build(:user, email: u.email)).not_to be_valid
29
+ end
30
+
31
+ it 'is invalid with no active value' do
32
+ expect(build(:user, active: nil)).not_to be_valid
33
+ end
34
+
35
+ it 'is invalid with invalid email' do
36
+ expect(build(:user, email: '123456.com')).not_to be_valid
37
+ end
38
+
39
+ it 'can access user roles' do
40
+ u = create(:user, :with_roles)
41
+ expect(u.roles.count).to eq 3
42
+ end
43
+ end
44
+ end
45
+ end
46
+
@@ -0,0 +1,57 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require File.expand_path('../dummy/config/environment', __FILE__)
4
+ # Prevent database truncation if the environment is production
5
+ abort('The Rails environment is running in production mode!') if Rails.env.production?
6
+ require 'spec_helper'
7
+ require 'rspec/rails'
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc, in
11
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
+ # run as spec files by default. This means that files in spec/support that end
13
+ # in _spec.rb will both be required and run as specs, causing the specs to be
14
+ # run twice. It is recommended that you do not name files matching this glob to
15
+ # end with _spec.rb. You can configure this pattern with the --pattern
16
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
+ #
18
+ # The following line is provided for convenience purposes. It has the downside
19
+ # of increasing the boot-up time by auto-requiring all files in the support
20
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
+ # require only the support files necessary.
22
+ #
23
+ # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
24
+
25
+ # Checks for pending migration and applies them before tests are run.
26
+ # If you are not using ActiveRecord, you can remove this line.
27
+ ActiveRecord::Migration.maintain_test_schema!
28
+
29
+ RSpec.configure do |config|
30
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
31
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
32
+
33
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
34
+ # examples within a transaction, remove the following line or assign false
35
+ # instead of true.
36
+ config.use_transactional_fixtures = true
37
+
38
+ # RSpec Rails can automatically mix in different behaviours to your tests
39
+ # based on their file location, for example enabling you to call `get` and
40
+ # `post` in specs under `spec/controllers`.
41
+ #
42
+ # You can disable this behaviour by removing the line below, and instead
43
+ # explicitly tag your specs with their type, e.g.:
44
+ #
45
+ # RSpec.describe UsersController, :type => :controller do
46
+ # # ...
47
+ # end
48
+ #
49
+ # The different available types are documented in the features, such as in
50
+ # https://relishapp.com/rspec/rspec-rails/docs
51
+ config.infer_spec_type_from_file_location!
52
+
53
+ # Filter lines from Rails gems in backtraces.
54
+ config.filter_rails_from_backtrace!
55
+ # arbitrary gems may also be filtered via:
56
+ # config.filter_gems_from_backtrace("gem name")
57
+ end
@@ -0,0 +1,109 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+
20
+ require 'factory_girl_rails'
21
+
22
+ require 'ffaker'
23
+
24
+ Rails.backtrace_cleaner.remove_silencers!
25
+
26
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
27
+
28
+ RSpec.configure do |config|
29
+ # rspec-expectations config goes here. You can use an alternate
30
+ # assertion/expectation library such as wrong or the stdlib/minitest
31
+ # assertions if you prefer.
32
+ config.expect_with :rspec do |expectations|
33
+ # This option will default to `true` in RSpec 4. It makes the `description`
34
+ # and `failure_message` of custom matchers include text for helper methods
35
+ # defined using `chain`, e.g.:
36
+ # be_bigger_than(2).and_smaller_than(4).description
37
+ # # => "be bigger than 2 and smaller than 4"
38
+ # ...rather than:
39
+ # # => "be bigger than 2"
40
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
41
+ end
42
+
43
+ # rspec-mocks config goes here. You can use an alternate test double
44
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
45
+ config.mock_with :rspec do |mocks|
46
+ # Prevents you from mocking or stubbing a method that does not exist on
47
+ # a real object. This is generally recommended, and will default to
48
+ # `true` in RSpec 4.
49
+ mocks.verify_partial_doubles = true
50
+ end
51
+
52
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
53
+ # have no way to turn it off -- the option exists only for backwards
54
+ # compatibility in RSpec 3). It causes shared context metadata to be
55
+ # inherited by the metadata hash of host groups and examples, rather than
56
+ # triggering implicit auto-inclusion in groups with matching metadata.
57
+ config.shared_context_metadata_behavior = :apply_to_host_groups
58
+
59
+ # The settings below are suggested to provide a good initial experience
60
+ # with RSpec, but feel free to customize to your heart's content.
61
+ =begin
62
+ # This allows you to limit a spec run to individual examples or groups
63
+ # you care about by tagging them with `:focus` metadata. When nothing
64
+ # is tagged with `:focus`, all examples get run. RSpec also provides
65
+ # aliases for `it`, `describe`, and `context` that include `:focus`
66
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
67
+ config.filter_run_when_matching :focus
68
+
69
+ # Allows RSpec to persist some state between runs in order to support
70
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
71
+ # you configure your source control system to ignore this file.
72
+ config.example_status_persistence_file_path = "spec/examples.txt"
73
+
74
+ # Limits the available syntax to the non-monkey patched syntax that is
75
+ # recommended. For more details, see:
76
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
77
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
78
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
79
+ config.disable_monkey_patching!
80
+
81
+ # Many RSpec users commonly either run the entire suite or an individual
82
+ # file, and it's useful to allow more verbose output when running an
83
+ # individual spec file.
84
+ if config.files_to_run.one?
85
+ # Use the documentation formatter for detailed output,
86
+ # unless a formatter has already been configured
87
+ # (e.g. via a command-line flag).
88
+ config.default_formatter = 'doc'
89
+ end
90
+
91
+ # Print the 10 slowest examples and example groups at the
92
+ # end of the spec run, to help surface which specs are running
93
+ # particularly slow.
94
+ config.profile_examples = 10
95
+
96
+ # Run specs in random order to surface order dependencies. If you find an
97
+ # order dependency and want to debug it, you can fix the order by providing
98
+ # the seed, which is printed after each run.
99
+ # --seed 1234
100
+ config.order = :random
101
+
102
+ # Seed global randomization in this process using the `--seed` CLI option.
103
+ # Setting this allows you to use `--seed` to deterministically reproduce
104
+ # test failures related to randomization by passing the same `--seed` value
105
+ # as the one that triggered the failure.
106
+ Kernel.srand config.seed
107
+ =end
108
+ config.order = 'random'
109
+ end
@@ -0,0 +1,5 @@
1
+ require 'factory_girl'
2
+
3
+ RSpec.configure do |config|
4
+ config.include FactoryGirl::Syntax::Methods
5
+ end
metadata ADDED
@@ -0,0 +1,302 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mks_auth
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Henock L.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 5.1.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 5.1.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: mks_common
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 3.6.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.6.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: factory_girl_rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 4.8.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 4.8.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: ffaker
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.5.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.5.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: pg
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.20.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.20.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: bcrypt
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 3.1.11
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 3.1.11
111
+ description: Authentication module for MKS apps
112
+ email:
113
+ - henockl@live.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - MIT-LICENSE
119
+ - README.md
120
+ - Rakefile
121
+ - app/assets/config/mks_auth_manifest.js
122
+ - app/assets/javascripts/mks_auth/application.js
123
+ - app/assets/stylesheets/mks_auth/application.css
124
+ - app/controllers/mks/auth/access_controller.rb
125
+ - app/controllers/mks/auth/application_controller.rb
126
+ - app/controllers/mks/auth/application_modules_controller.rb
127
+ - app/controllers/mks/auth/user_roles_controller.rb
128
+ - app/controllers/mks/auth/users_controller.rb
129
+ - app/helpers/mks/auth/access_helper.rb
130
+ - app/helpers/mks/auth/application_helper.rb
131
+ - app/jobs/mks_auth/application_job.rb
132
+ - app/mailers/mks_auth/application_mailer.rb
133
+ - app/models/mks/auth/application_module.rb
134
+ - app/models/mks/auth/application_record.rb
135
+ - app/models/mks/auth/menu.rb
136
+ - app/models/mks/auth/user.rb
137
+ - app/models/mks/auth/user_role.rb
138
+ - config/routes.rb
139
+ - db/migrate/20161029065810_create_mks_auth_application_modules.rb
140
+ - db/migrate/20161029065959_create_mks_auth_users.rb
141
+ - db/migrate/20161029070807_create_mks_auth_user_roles.rb
142
+ - db/migrate/20161029071047_create_mks_users_user_roles.rb
143
+ - db/migrate/20161029072256_create_mks_auth_menus.rb
144
+ - db/migrate/20161029074023_create_mks_menus_user_roles.rb
145
+ - lib/mks/auth.rb
146
+ - lib/mks/auth/engine.rb
147
+ - lib/mks/auth/version.rb
148
+ - lib/mks_auth.rb
149
+ - lib/tasks/mks_auth_tasks.rake
150
+ - spec/controllers/mks/auth/users_controller_spec.rb
151
+ - spec/dummy/Rakefile
152
+ - spec/dummy/app/assets/config/manifest.js
153
+ - spec/dummy/app/assets/javascripts/application.js
154
+ - spec/dummy/app/assets/javascripts/cable.js
155
+ - spec/dummy/app/assets/stylesheets/application.css
156
+ - spec/dummy/app/channels/application_cable/channel.rb
157
+ - spec/dummy/app/channels/application_cable/connection.rb
158
+ - spec/dummy/app/controllers/application_controller.rb
159
+ - spec/dummy/app/helpers/application_helper.rb
160
+ - spec/dummy/app/jobs/application_job.rb
161
+ - spec/dummy/app/mailers/application_mailer.rb
162
+ - spec/dummy/app/models/application_record.rb
163
+ - spec/dummy/app/views/layouts/application.html.erb
164
+ - spec/dummy/app/views/layouts/mailer.html.erb
165
+ - spec/dummy/app/views/layouts/mailer.text.erb
166
+ - spec/dummy/bin/bundle
167
+ - spec/dummy/bin/rails
168
+ - spec/dummy/bin/rake
169
+ - spec/dummy/bin/setup
170
+ - spec/dummy/bin/update
171
+ - spec/dummy/config.ru
172
+ - spec/dummy/config/application.rb
173
+ - spec/dummy/config/boot.rb
174
+ - spec/dummy/config/cable.yml
175
+ - spec/dummy/config/database.yml
176
+ - spec/dummy/config/environment.rb
177
+ - spec/dummy/config/environments/development.rb
178
+ - spec/dummy/config/environments/production.rb
179
+ - spec/dummy/config/environments/test.rb
180
+ - spec/dummy/config/initializers/application_controller_renderer.rb
181
+ - spec/dummy/config/initializers/assets.rb
182
+ - spec/dummy/config/initializers/backtrace_silencers.rb
183
+ - spec/dummy/config/initializers/cookies_serializer.rb
184
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
185
+ - spec/dummy/config/initializers/inflections.rb
186
+ - spec/dummy/config/initializers/mime_types.rb
187
+ - spec/dummy/config/initializers/new_framework_defaults.rb
188
+ - spec/dummy/config/initializers/session_store.rb
189
+ - spec/dummy/config/initializers/wrap_parameters.rb
190
+ - spec/dummy/config/locales/en.yml
191
+ - spec/dummy/config/puma.rb
192
+ - spec/dummy/config/routes.rb
193
+ - spec/dummy/config/secrets.yml
194
+ - spec/dummy/config/spring.rb
195
+ - spec/dummy/db/schema.rb
196
+ - spec/dummy/log/development.log
197
+ - spec/dummy/public/404.html
198
+ - spec/dummy/public/422.html
199
+ - spec/dummy/public/500.html
200
+ - spec/dummy/public/apple-touch-icon-precomposed.png
201
+ - spec/dummy/public/apple-touch-icon.png
202
+ - spec/dummy/public/favicon.ico
203
+ - spec/factories/application_modules.rb
204
+ - spec/factories/menus.rb
205
+ - spec/factories/user_roles.rb
206
+ - spec/factories/users.rb
207
+ - spec/models/mks/auth/application_module_spec.rb
208
+ - spec/models/mks/auth/menu_spec.rb
209
+ - spec/models/mks/auth/user_role_spec.rb
210
+ - spec/models/mks/auth/user_spec.rb
211
+ - spec/rails_helper.rb
212
+ - spec/spec_helper.rb
213
+ - spec/support/factory_girl.rb
214
+ homepage: http://www.mks.com.et
215
+ licenses:
216
+ - MIT
217
+ metadata: {}
218
+ post_install_message:
219
+ rdoc_options: []
220
+ require_paths:
221
+ - lib
222
+ required_ruby_version: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - ">="
225
+ - !ruby/object:Gem::Version
226
+ version: '0'
227
+ required_rubygems_version: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - ">="
230
+ - !ruby/object:Gem::Version
231
+ version: '0'
232
+ requirements: []
233
+ rubyforge_project:
234
+ rubygems_version: 2.6.11
235
+ signing_key:
236
+ specification_version: 4
237
+ summary: Authentication module for MKS apps
238
+ test_files:
239
+ - spec/spec_helper.rb
240
+ - spec/dummy/app/mailers/application_mailer.rb
241
+ - spec/dummy/app/models/application_record.rb
242
+ - spec/dummy/app/jobs/application_job.rb
243
+ - spec/dummy/app/controllers/application_controller.rb
244
+ - spec/dummy/app/views/layouts/application.html.erb
245
+ - spec/dummy/app/views/layouts/mailer.html.erb
246
+ - spec/dummy/app/views/layouts/mailer.text.erb
247
+ - spec/dummy/app/assets/config/manifest.js
248
+ - spec/dummy/app/assets/javascripts/cable.js
249
+ - spec/dummy/app/assets/javascripts/application.js
250
+ - spec/dummy/app/assets/stylesheets/application.css
251
+ - spec/dummy/app/helpers/application_helper.rb
252
+ - spec/dummy/app/channels/application_cable/connection.rb
253
+ - spec/dummy/app/channels/application_cable/channel.rb
254
+ - spec/dummy/bin/update
255
+ - spec/dummy/bin/rake
256
+ - spec/dummy/bin/setup
257
+ - spec/dummy/bin/bundle
258
+ - spec/dummy/bin/rails
259
+ - spec/dummy/config/secrets.yml
260
+ - spec/dummy/config/routes.rb
261
+ - spec/dummy/config/locales/en.yml
262
+ - spec/dummy/config/cable.yml
263
+ - spec/dummy/config/environments/production.rb
264
+ - spec/dummy/config/environments/development.rb
265
+ - spec/dummy/config/environments/test.rb
266
+ - spec/dummy/config/spring.rb
267
+ - spec/dummy/config/environment.rb
268
+ - spec/dummy/config/application.rb
269
+ - spec/dummy/config/puma.rb
270
+ - spec/dummy/config/database.yml
271
+ - spec/dummy/config/boot.rb
272
+ - spec/dummy/config/initializers/application_controller_renderer.rb
273
+ - spec/dummy/config/initializers/backtrace_silencers.rb
274
+ - spec/dummy/config/initializers/mime_types.rb
275
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
276
+ - spec/dummy/config/initializers/session_store.rb
277
+ - spec/dummy/config/initializers/wrap_parameters.rb
278
+ - spec/dummy/config/initializers/new_framework_defaults.rb
279
+ - spec/dummy/config/initializers/assets.rb
280
+ - spec/dummy/config/initializers/cookies_serializer.rb
281
+ - spec/dummy/config/initializers/inflections.rb
282
+ - spec/dummy/config.ru
283
+ - spec/dummy/Rakefile
284
+ - spec/dummy/public/favicon.ico
285
+ - spec/dummy/public/422.html
286
+ - spec/dummy/public/apple-touch-icon.png
287
+ - spec/dummy/public/500.html
288
+ - spec/dummy/public/404.html
289
+ - spec/dummy/public/apple-touch-icon-precomposed.png
290
+ - spec/dummy/db/schema.rb
291
+ - spec/dummy/log/development.log
292
+ - spec/models/mks/auth/menu_spec.rb
293
+ - spec/models/mks/auth/application_module_spec.rb
294
+ - spec/models/mks/auth/user_role_spec.rb
295
+ - spec/models/mks/auth/user_spec.rb
296
+ - spec/support/factory_girl.rb
297
+ - spec/factories/menus.rb
298
+ - spec/factories/user_roles.rb
299
+ - spec/factories/application_modules.rb
300
+ - spec/factories/users.rb
301
+ - spec/controllers/mks/auth/users_controller_spec.rb
302
+ - spec/rails_helper.rb