Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c8132ab
Implemented overcommit
GowthamK01 Oct 20, 2023
c164e45
Added brakeman and bundle audit in the overcommit
GowthamK01 Oct 23, 2023
762348d
Update the overcommit file and gemfile dependencies inside developmen…
GowthamK01 Oct 23, 2023
f8def8c
Remove the problem on unmodified line in overcommit file
GowthamK01 Oct 23, 2023
c19b38a
Issue-6: Create provisions for job_approvers and job_executors
GowthamK01 Oct 31, 2023
bca1f50
issues 4 - implementing-list-and-show-page-for-jobs
MohammedNazeer10 Nov 1, 2023
1b1751f
updated-changes
MohammedNazeer10 Nov 1, 2023
e23e171
Updated-class-names-with-namespace
MohammedNazeer10 Nov 2, 2023
328b7b3
Issue-6: Update action for the job by assigning approvers and executors
GowthamK01 Nov 6, 2023
7f32ef0
Merge branch 'main' into feature/development/issue-6-provisions-for-j…
GowthamK01 Nov 6, 2023
186c9d2
Issue-6: Update test case for the update action in jobs controller
GowthamK01 Nov 6, 2023
0409372
Issue-6: Provisions for add and remove approvers/executors
GowthamK01 Nov 8, 2023
6a04bfa
Issue-6: Update testcases with factorybot and some minor changes
GowthamK01 Nov 17, 2023
0426614
Issue-6: Remove the unwanted customisation route comments
GowthamK01 Nov 18, 2023
54705e6
Issue-6: Implement authentication and authorisation in the project
GowthamK01 Nov 21, 2023
37b8cfd
Provision-to-initiate-job-executions
MohammedNazeer10 Nov 21, 2023
8f6578a
Updated-changes-provision-to-job-execution
MohammedNazeer10 Nov 24, 2023
854c065
Merge branch 'feature/development/issue-6-provisions-for-job-approver…
GowthamK01 Nov 24, 2023
8756a28
Issue-5: Update test cases for approval request and update every test…
GowthamK01 Nov 25, 2023
e16496a
Update custom authentication changes
GowthamK01 Dec 6, 2023
1ebfcd0
Update helper method in application controller and some redirection c…
GowthamK01 Dec 8, 2023
b79970c
Issue-16-initiate-job-execution-after-approval
MohammedNazeer10 Dec 13, 2023
6dfa871
Merge branch 'Feature/development/issue-5-job-approval-request-implem…
MohammedNazeer10 Dec 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
verify_signatures: false
PreCommit:
RuboCop:
enabled: true
on_warn: fail

BundlerAudit:
enabled: true
command: [ 'bundle', 'audit', 'check', '--update' ]
on_warn: fail

Brakeman:
enabled: true
command: [ 'brakeman' ]
on_warn: fail

RSpec:
enabled: true
command: [ 'bundle', 'exec', 'rspec' ]
on_warn: fail
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--require spec_helper
27 changes: 25 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,28 @@ AllCops:
Layout/LineLength:
Max: 150

Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false

Style/NumericLiterals:
Exclude:
- 'test/dummy/db/schema.rb'

Metrics/BlockLength:
Exclude:
- 'test/dummy/db/schema.rb'
- 'spec/requests/activejob_web/jobs_spec.rb'
- 'spec/requests/activejob_web/job_executions_spec.rb'
- 'spec/requests/activejob_web/job_approval_requests_spec.rb'
- 'test/dummy/db/seeds.rb'

Metrics/MethodLength:
Exclude:
- 'db/migrate/20231024051840_create_jobs.rb'
- 'test/dummy/db/migrate/20231118052244_create_users.rb'
- 'db/migrate/20231030145254_create_active_storage_tables.active_storage.rb'
- 'db/migrate/20231106105039_create_activejob_web_job_executions.rb'

Metrics/AbcSize:
Exclude:
- 'db/migrate/20231030145254_create_active_storage_tables.active_storage.rb'
14 changes: 14 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
# frozen_string_literal: true

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

# Specify your gem's dependencies in activejob-web.gemspec.

gemspec

gem 'puma'

gem 'pg'

gem 'image_processing', '>= 1.2'

gem 'sprockets-rails'

group :development do
gem 'brakeman'
gem 'bundler-audit', require: false
gem 'overcommit', '~> 0.60.0'
end

group :development, :test do
gem 'factory_bot_rails'
gem 'rspec-rails'
gem 'rubocop', require: false
end
gem 'rails-controller-testing', '~> 1.0', '>= 1.0.5'

# Start debugger with binding.b [https://github.com/ruby/debug]
# gem "debug", ">= 1.0.0"
Loading