hr_engine6 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +32 -0
- data/app/assets/config/hr_engine6_manifest.js +1 -0
- data/app/assets/stylesheets/hr_engine6/admins.css +4 -0
- data/app/assets/stylesheets/hr_engine6/application.css +15 -0
- data/app/assets/stylesheets/hr_engine6/clients.css +4 -0
- data/app/assets/stylesheets/hr_engine6/job_applicants.css +4 -0
- data/app/assets/stylesheets/hr_engine6/job_applications.css +4 -0
- data/app/assets/stylesheets/hr_engine6/job_listings.css +4 -0
- data/app/assets/stylesheets/scaffold.css +80 -0
- data/app/controllers/hr_engine6/admins_controller.rb +79 -0
- data/app/controllers/hr_engine6/application_controller.rb +5 -0
- data/app/controllers/hr_engine6/clients_controller.rb +79 -0
- data/app/controllers/hr_engine6/job_applicants_controller.rb +129 -0
- data/app/controllers/hr_engine6/job_applications_controller.rb +81 -0
- data/app/controllers/hr_engine6/job_listings_controller.rb +86 -0
- data/app/helpers/hr_engine6/admins_helper.rb +4 -0
- data/app/helpers/hr_engine6/application_helper.rb +4 -0
- data/app/helpers/hr_engine6/clients_helper.rb +4 -0
- data/app/helpers/hr_engine6/job_applicants_helper.rb +4 -0
- data/app/helpers/hr_engine6/job_applications_helper.rb +4 -0
- data/app/helpers/hr_engine6/job_listings_helper.rb +4 -0
- data/app/jobs/hr_engine6/application_job.rb +4 -0
- data/app/mailers/hr_engine6/application_mailer.rb +6 -0
- data/app/models/hr_engine6/admin.rb +4 -0
- data/app/models/hr_engine6/application_record.rb +5 -0
- data/app/models/hr_engine6/client.rb +4 -0
- data/app/models/hr_engine6/job_applicant.rb +6 -0
- data/app/models/hr_engine6/job_application.rb +6 -0
- data/app/models/hr_engine6/job_listing.rb +6 -0
- data/app/views/hr_engine6/admins/_admin.json.jbuilder +2 -0
- data/app/views/hr_engine6/admins/_form.html.erb +17 -0
- data/app/views/hr_engine6/admins/edit.html.erb +6 -0
- data/app/views/hr_engine6/admins/index.html.erb +25 -0
- data/app/views/hr_engine6/admins/index.json.jbuilder +1 -0
- data/app/views/hr_engine6/admins/new.html.erb +5 -0
- data/app/views/hr_engine6/admins/show.html.erb +4 -0
- data/app/views/hr_engine6/admins/show.json.jbuilder +1 -0
- data/app/views/hr_engine6/clients/_client.json.jbuilder +2 -0
- data/app/views/hr_engine6/clients/_form.html.erb +17 -0
- data/app/views/hr_engine6/clients/edit.html.erb +6 -0
- data/app/views/hr_engine6/clients/index.html.erb +25 -0
- data/app/views/hr_engine6/clients/index.json.jbuilder +1 -0
- data/app/views/hr_engine6/clients/new.html.erb +5 -0
- data/app/views/hr_engine6/clients/show.html.erb +4 -0
- data/app/views/hr_engine6/clients/show.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_applicants/_form.html.erb +96 -0
- data/app/views/hr_engine6/job_applicants/_job_applicant.json.jbuilder +2 -0
- data/app/views/hr_engine6/job_applicants/edit.html.erb +6 -0
- data/app/views/hr_engine6/job_applicants/index.html.erb +49 -0
- data/app/views/hr_engine6/job_applicants/index.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_applicants/new.html.erb +5 -0
- data/app/views/hr_engine6/job_applicants/show.html.erb +72 -0
- data/app/views/hr_engine6/job_applicants/show.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_applications/_form.html.erb +20 -0
- data/app/views/hr_engine6/job_applications/_job_application.json.jbuilder +2 -0
- data/app/views/hr_engine6/job_applications/edit.html.erb +6 -0
- data/app/views/hr_engine6/job_applications/index.html.erb +36 -0
- data/app/views/hr_engine6/job_applications/index.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_applications/new.html.erb +6 -0
- data/app/views/hr_engine6/job_applications/show.html.erb +35 -0
- data/app/views/hr_engine6/job_applications/show.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_listings/_form.html.erb +32 -0
- data/app/views/hr_engine6/job_listings/_job_listing.json.jbuilder +2 -0
- data/app/views/hr_engine6/job_listings/clientindex.html.erb +32 -0
- data/app/views/hr_engine6/job_listings/clientindex.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_listings/clientshow.html.erb +18 -0
- data/app/views/hr_engine6/job_listings/clientshow.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_listings/edit.html.erb +6 -0
- data/app/views/hr_engine6/job_listings/index.html.erb +32 -0
- data/app/views/hr_engine6/job_listings/index.json.jbuilder +1 -0
- data/app/views/hr_engine6/job_listings/new.html.erb +5 -0
- data/app/views/hr_engine6/job_listings/show.html.erb +19 -0
- data/app/views/hr_engine6/job_listings/show.json.jbuilder +1 -0
- data/app/views/layouts/hr_engine6/application.html.erb +15 -0
- data/config/routes.rb +16 -0
- data/db/migrate/20200818121456_create_hr_engine6_job_applicants.rb +21 -0
- data/db/migrate/20200818121603_create_hr_engine6_job_applications.rb +8 -0
- data/db/migrate/20200818121658_create_hr_engine6_job_listings.rb +11 -0
- data/db/migrate/20200818121718_create_hr_engine6_admins.rb +8 -0
- data/db/migrate/20200818121745_create_hr_engine6_clients.rb +8 -0
- data/db/migrate/20200818122121_job_applicant_belongs_to_admin.rb +7 -0
- data/db/migrate/20200818122511_job_listings_belong_to_admin.rb +7 -0
- data/db/migrate/20200818122602_job_application_belongs_to_admin.rb +7 -0
- data/db/migrate/20200818122713_job_applicant_belongs_to_client.rb +7 -0
- data/db/migrate/20200818122753_job_application_belongs_to_client.rb +7 -0
- data/db/migrate/20200818122831_job_listing_belongs_to_client.rb +7 -0
- data/db/migrate/20200818123256_job_application_belongs_to_all2.rb +13 -0
- data/db/migrate/20200820135913_job_application_has_all2.rb +15 -0
- data/db/migrate/20200820145522_job_applicant_belongs_to_listings.rb +9 -0
- data/lib/hr_engine6.rb +5 -0
- data/lib/hr_engine6/engine.rb +5 -0
- data/lib/hr_engine6/version.rb +3 -0
- data/lib/tasks/hr_engine6_tasks.rake +4 -0
- metadata +172 -0
data/config/routes.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
HrEngine6::Engine.routes.draw do
|
2
|
+
resources :clients
|
3
|
+
resources :admins
|
4
|
+
resources :job_listings
|
5
|
+
get "/job_listings/:id/clientshow" => "job_listings#clientshow"
|
6
|
+
resources :job_applications
|
7
|
+
resources :job_applicants
|
8
|
+
|
9
|
+
root 'admins#index'
|
10
|
+
|
11
|
+
get '/new_applicant' => 'job_applicants#new'
|
12
|
+
get '/new_application' => 'job_applications#create'
|
13
|
+
|
14
|
+
# We should redirect clients to the client versions of main actions
|
15
|
+
get '/job_listings_client' => 'job_listings#clientindex'
|
16
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class CreateHrEngine6JobApplicants < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
create_table :hr_engine6_job_applicants do |t|
|
4
|
+
t.string :name
|
5
|
+
t.string :surname
|
6
|
+
t.date :birth_date
|
7
|
+
t.string :birth_place
|
8
|
+
t.string :address
|
9
|
+
t.string :e_mail
|
10
|
+
t.string :mobile_phone
|
11
|
+
t.string :house_phone
|
12
|
+
t.string :nationality
|
13
|
+
t.string :graduated_school
|
14
|
+
t.string :position
|
15
|
+
t.string :foreign_language
|
16
|
+
|
17
|
+
|
18
|
+
t.timestamps
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class JobApplicationBelongsToAll2 < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
change_table :hr_engine6_job_applications do |t|
|
4
|
+
|
5
|
+
t.belongs_to :hr_engine6_job_applicant, index: {name: "application_applicant"}
|
6
|
+
t.belongs_to :hr_engine6_job_listing, index: {name: 'application_listing'}
|
7
|
+
|
8
|
+
end
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class JobApplicationHasAll2 < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
change_table :hr_engine6_job_applicants do |t|
|
4
|
+
|
5
|
+
t.belongs_to :hr_engine6_job_application, index: {name: "job_applicant_id"}
|
6
|
+
|
7
|
+
end
|
8
|
+
|
9
|
+
change_table :hr_engine6_job_listings do |t|
|
10
|
+
|
11
|
+
t.belongs_to :hr_engine6_job_application, index: {name: "job_listing_id"}
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/hr_engine6.rb
ADDED
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hr_engine6
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Emre Boyaci
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-21 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: 6.0.3
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 6.0.3.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 6.0.3
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 6.0.3.2
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: sqlite3
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
description: Description of HrEngine6.
|
48
|
+
email:
|
49
|
+
- 44240521+aemreb@users.noreply.github.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- MIT-LICENSE
|
55
|
+
- README.md
|
56
|
+
- Rakefile
|
57
|
+
- app/assets/config/hr_engine6_manifest.js
|
58
|
+
- app/assets/stylesheets/hr_engine6/admins.css
|
59
|
+
- app/assets/stylesheets/hr_engine6/application.css
|
60
|
+
- app/assets/stylesheets/hr_engine6/clients.css
|
61
|
+
- app/assets/stylesheets/hr_engine6/job_applicants.css
|
62
|
+
- app/assets/stylesheets/hr_engine6/job_applications.css
|
63
|
+
- app/assets/stylesheets/hr_engine6/job_listings.css
|
64
|
+
- app/assets/stylesheets/scaffold.css
|
65
|
+
- app/controllers/hr_engine6/admins_controller.rb
|
66
|
+
- app/controllers/hr_engine6/application_controller.rb
|
67
|
+
- app/controllers/hr_engine6/clients_controller.rb
|
68
|
+
- app/controllers/hr_engine6/job_applicants_controller.rb
|
69
|
+
- app/controllers/hr_engine6/job_applications_controller.rb
|
70
|
+
- app/controllers/hr_engine6/job_listings_controller.rb
|
71
|
+
- app/helpers/hr_engine6/admins_helper.rb
|
72
|
+
- app/helpers/hr_engine6/application_helper.rb
|
73
|
+
- app/helpers/hr_engine6/clients_helper.rb
|
74
|
+
- app/helpers/hr_engine6/job_applicants_helper.rb
|
75
|
+
- app/helpers/hr_engine6/job_applications_helper.rb
|
76
|
+
- app/helpers/hr_engine6/job_listings_helper.rb
|
77
|
+
- app/jobs/hr_engine6/application_job.rb
|
78
|
+
- app/mailers/hr_engine6/application_mailer.rb
|
79
|
+
- app/models/hr_engine6/admin.rb
|
80
|
+
- app/models/hr_engine6/application_record.rb
|
81
|
+
- app/models/hr_engine6/client.rb
|
82
|
+
- app/models/hr_engine6/job_applicant.rb
|
83
|
+
- app/models/hr_engine6/job_application.rb
|
84
|
+
- app/models/hr_engine6/job_listing.rb
|
85
|
+
- app/views/hr_engine6/admins/_admin.json.jbuilder
|
86
|
+
- app/views/hr_engine6/admins/_form.html.erb
|
87
|
+
- app/views/hr_engine6/admins/edit.html.erb
|
88
|
+
- app/views/hr_engine6/admins/index.html.erb
|
89
|
+
- app/views/hr_engine6/admins/index.json.jbuilder
|
90
|
+
- app/views/hr_engine6/admins/new.html.erb
|
91
|
+
- app/views/hr_engine6/admins/show.html.erb
|
92
|
+
- app/views/hr_engine6/admins/show.json.jbuilder
|
93
|
+
- app/views/hr_engine6/clients/_client.json.jbuilder
|
94
|
+
- app/views/hr_engine6/clients/_form.html.erb
|
95
|
+
- app/views/hr_engine6/clients/edit.html.erb
|
96
|
+
- app/views/hr_engine6/clients/index.html.erb
|
97
|
+
- app/views/hr_engine6/clients/index.json.jbuilder
|
98
|
+
- app/views/hr_engine6/clients/new.html.erb
|
99
|
+
- app/views/hr_engine6/clients/show.html.erb
|
100
|
+
- app/views/hr_engine6/clients/show.json.jbuilder
|
101
|
+
- app/views/hr_engine6/job_applicants/_form.html.erb
|
102
|
+
- app/views/hr_engine6/job_applicants/_job_applicant.json.jbuilder
|
103
|
+
- app/views/hr_engine6/job_applicants/edit.html.erb
|
104
|
+
- app/views/hr_engine6/job_applicants/index.html.erb
|
105
|
+
- app/views/hr_engine6/job_applicants/index.json.jbuilder
|
106
|
+
- app/views/hr_engine6/job_applicants/new.html.erb
|
107
|
+
- app/views/hr_engine6/job_applicants/show.html.erb
|
108
|
+
- app/views/hr_engine6/job_applicants/show.json.jbuilder
|
109
|
+
- app/views/hr_engine6/job_applications/_form.html.erb
|
110
|
+
- app/views/hr_engine6/job_applications/_job_application.json.jbuilder
|
111
|
+
- app/views/hr_engine6/job_applications/edit.html.erb
|
112
|
+
- app/views/hr_engine6/job_applications/index.html.erb
|
113
|
+
- app/views/hr_engine6/job_applications/index.json.jbuilder
|
114
|
+
- app/views/hr_engine6/job_applications/new.html.erb
|
115
|
+
- app/views/hr_engine6/job_applications/show.html.erb
|
116
|
+
- app/views/hr_engine6/job_applications/show.json.jbuilder
|
117
|
+
- app/views/hr_engine6/job_listings/_form.html.erb
|
118
|
+
- app/views/hr_engine6/job_listings/_job_listing.json.jbuilder
|
119
|
+
- app/views/hr_engine6/job_listings/clientindex.html.erb
|
120
|
+
- app/views/hr_engine6/job_listings/clientindex.json.jbuilder
|
121
|
+
- app/views/hr_engine6/job_listings/clientshow.html.erb
|
122
|
+
- app/views/hr_engine6/job_listings/clientshow.json.jbuilder
|
123
|
+
- app/views/hr_engine6/job_listings/edit.html.erb
|
124
|
+
- app/views/hr_engine6/job_listings/index.html.erb
|
125
|
+
- app/views/hr_engine6/job_listings/index.json.jbuilder
|
126
|
+
- app/views/hr_engine6/job_listings/new.html.erb
|
127
|
+
- app/views/hr_engine6/job_listings/show.html.erb
|
128
|
+
- app/views/hr_engine6/job_listings/show.json.jbuilder
|
129
|
+
- app/views/layouts/hr_engine6/application.html.erb
|
130
|
+
- config/routes.rb
|
131
|
+
- db/migrate/20200818121456_create_hr_engine6_job_applicants.rb
|
132
|
+
- db/migrate/20200818121603_create_hr_engine6_job_applications.rb
|
133
|
+
- db/migrate/20200818121658_create_hr_engine6_job_listings.rb
|
134
|
+
- db/migrate/20200818121718_create_hr_engine6_admins.rb
|
135
|
+
- db/migrate/20200818121745_create_hr_engine6_clients.rb
|
136
|
+
- db/migrate/20200818122121_job_applicant_belongs_to_admin.rb
|
137
|
+
- db/migrate/20200818122511_job_listings_belong_to_admin.rb
|
138
|
+
- db/migrate/20200818122602_job_application_belongs_to_admin.rb
|
139
|
+
- db/migrate/20200818122713_job_applicant_belongs_to_client.rb
|
140
|
+
- db/migrate/20200818122753_job_application_belongs_to_client.rb
|
141
|
+
- db/migrate/20200818122831_job_listing_belongs_to_client.rb
|
142
|
+
- db/migrate/20200818123256_job_application_belongs_to_all2.rb
|
143
|
+
- db/migrate/20200820135913_job_application_has_all2.rb
|
144
|
+
- db/migrate/20200820145522_job_applicant_belongs_to_listings.rb
|
145
|
+
- lib/hr_engine6.rb
|
146
|
+
- lib/hr_engine6/engine.rb
|
147
|
+
- lib/hr_engine6/version.rb
|
148
|
+
- lib/tasks/hr_engine6_tasks.rake
|
149
|
+
homepage: http://futurino.com
|
150
|
+
licenses:
|
151
|
+
- MIT
|
152
|
+
metadata: {}
|
153
|
+
post_install_message:
|
154
|
+
rdoc_options: []
|
155
|
+
require_paths:
|
156
|
+
- lib
|
157
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
requirements: []
|
168
|
+
rubygems_version: 3.0.3
|
169
|
+
signing_key:
|
170
|
+
specification_version: 4
|
171
|
+
summary: Summary of HrEngine6.
|
172
|
+
test_files: []
|