futurino_hr 0.1.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 (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/futurino_hr_manifest.js +1 -0
  6. data/app/assets/javascripts/futurino_hr/admins.js +2 -0
  7. data/app/assets/javascripts/futurino_hr/clients.js +2 -0
  8. data/app/assets/javascripts/futurino_hr/job_applicants.js +2 -0
  9. data/app/assets/javascripts/futurino_hr/job_applications.js +2 -0
  10. data/app/assets/javascripts/futurino_hr/job_listings.js +2 -0
  11. data/app/assets/stylesheets/futurino_hr/admins.css +4 -0
  12. data/app/assets/stylesheets/futurino_hr/application.css +15 -0
  13. data/app/assets/stylesheets/futurino_hr/clients.css +4 -0
  14. data/app/assets/stylesheets/futurino_hr/job_applicants.css +4 -0
  15. data/app/assets/stylesheets/futurino_hr/job_applications.css +4 -0
  16. data/app/assets/stylesheets/futurino_hr/job_listings.css +4 -0
  17. data/app/assets/stylesheets/scaffold.css +56 -0
  18. data/app/controllers/futurino_hr/admins_controller.rb +62 -0
  19. data/app/controllers/futurino_hr/application_controller.rb +5 -0
  20. data/app/controllers/futurino_hr/clients_controller.rb +62 -0
  21. data/app/controllers/futurino_hr/job_applicants_controller.rb +127 -0
  22. data/app/controllers/futurino_hr/job_applications_controller.rb +80 -0
  23. data/app/controllers/futurino_hr/job_listings_controller.rb +86 -0
  24. data/app/helpers/futurino_hr/admins_helper.rb +4 -0
  25. data/app/helpers/futurino_hr/application_helper.rb +4 -0
  26. data/app/helpers/futurino_hr/clients_helper.rb +4 -0
  27. data/app/helpers/futurino_hr/job_applicants_helper.rb +4 -0
  28. data/app/helpers/futurino_hr/job_applications_helper.rb +4 -0
  29. data/app/helpers/futurino_hr/job_listings_helper.rb +4 -0
  30. data/app/jobs/futurino_hr/application_job.rb +4 -0
  31. data/app/mailers/futurino_hr/application_mailer.rb +6 -0
  32. data/app/models/futurino_hr/admin.rb +4 -0
  33. data/app/models/futurino_hr/application_record.rb +5 -0
  34. data/app/models/futurino_hr/client.rb +4 -0
  35. data/app/models/futurino_hr/job_applicant.rb +5 -0
  36. data/app/models/futurino_hr/job_application.rb +6 -0
  37. data/app/models/futurino_hr/job_listing.rb +7 -0
  38. data/app/views/futurino_hr/admins/_admin.json.jbuilder +2 -0
  39. data/app/views/futurino_hr/admins/_form.html.erb +17 -0
  40. data/app/views/futurino_hr/admins/edit.html.erb +6 -0
  41. data/app/views/futurino_hr/admins/index.html.erb +26 -0
  42. data/app/views/futurino_hr/admins/index.json.jbuilder +1 -0
  43. data/app/views/futurino_hr/admins/new.html.erb +5 -0
  44. data/app/views/futurino_hr/admins/show.html.erb +4 -0
  45. data/app/views/futurino_hr/admins/show.json.jbuilder +1 -0
  46. data/app/views/futurino_hr/clients/_client.json.jbuilder +2 -0
  47. data/app/views/futurino_hr/clients/_form.html.erb +17 -0
  48. data/app/views/futurino_hr/clients/edit.html.erb +6 -0
  49. data/app/views/futurino_hr/clients/index.html.erb +25 -0
  50. data/app/views/futurino_hr/clients/index.json.jbuilder +1 -0
  51. data/app/views/futurino_hr/clients/new.html.erb +5 -0
  52. data/app/views/futurino_hr/clients/show.html.erb +4 -0
  53. data/app/views/futurino_hr/clients/show.json.jbuilder +1 -0
  54. data/app/views/futurino_hr/job_applicants/_form.html.erb +96 -0
  55. data/app/views/futurino_hr/job_applicants/_job_applicant.json.jbuilder +2 -0
  56. data/app/views/futurino_hr/job_applicants/edit.html.erb +6 -0
  57. data/app/views/futurino_hr/job_applicants/index.html.erb +49 -0
  58. data/app/views/futurino_hr/job_applicants/index.json.jbuilder +1 -0
  59. data/app/views/futurino_hr/job_applicants/new.html.erb +5 -0
  60. data/app/views/futurino_hr/job_applicants/show.html.erb +72 -0
  61. data/app/views/futurino_hr/job_applicants/show.json.jbuilder +1 -0
  62. data/app/views/futurino_hr/job_applications/_form.html.erb +19 -0
  63. data/app/views/futurino_hr/job_applications/_job_application.json.jbuilder +2 -0
  64. data/app/views/futurino_hr/job_applications/edit.html.erb +6 -0
  65. data/app/views/futurino_hr/job_applications/index.html.erb +36 -0
  66. data/app/views/futurino_hr/job_applications/index.json.jbuilder +1 -0
  67. data/app/views/futurino_hr/job_applications/new.html.erb +6 -0
  68. data/app/views/futurino_hr/job_applications/show.html.erb +35 -0
  69. data/app/views/futurino_hr/job_applications/show.json.jbuilder +1 -0
  70. data/app/views/futurino_hr/job_listings/_form.html.erb +32 -0
  71. data/app/views/futurino_hr/job_listings/_job_listing.json.jbuilder +2 -0
  72. data/app/views/futurino_hr/job_listings/clientindex.html.erb +32 -0
  73. data/app/views/futurino_hr/job_listings/clientindex.json.jbuilder +1 -0
  74. data/app/views/futurino_hr/job_listings/clientshow.html.erb +18 -0
  75. data/app/views/futurino_hr/job_listings/clientshow.json.jbuilder +1 -0
  76. data/app/views/futurino_hr/job_listings/edit.html.erb +6 -0
  77. data/app/views/futurino_hr/job_listings/index.html.erb +32 -0
  78. data/app/views/futurino_hr/job_listings/index.json.jbuilder +1 -0
  79. data/app/views/futurino_hr/job_listings/new.html.erb +5 -0
  80. data/app/views/futurino_hr/job_listings/show.html.erb +19 -0
  81. data/app/views/futurino_hr/job_listings/show.json.jbuilder +1 -0
  82. data/app/views/layouts/futurino_hr/application.html.erb +14 -0
  83. data/config/routes.rb +18 -0
  84. data/db/migrate/20200824122156_create_futurino_hr_admins.rb +8 -0
  85. data/db/migrate/20200824122209_create_futurino_hr_clients.rb +8 -0
  86. data/db/migrate/20200824122219_create_futurino_hr_job_listings.rb +13 -0
  87. data/db/migrate/20200824122226_create_futurino_hr_job_applications.rb +11 -0
  88. data/db/migrate/20200824122231_create_futurino_hr_job_applicants.rb +24 -0
  89. data/lib/futurino_hr.rb +5 -0
  90. data/lib/futurino_hr/engine.rb +5 -0
  91. data/lib/futurino_hr/version.rb +3 -0
  92. data/lib/tasks/futurino_hr_tasks.rake +4 -0
  93. metadata +168 -0
@@ -0,0 +1,18 @@
1
+ FuturinoHr::Engine.routes.draw do
2
+ resources :job_applicants
3
+ resources :job_applications
4
+ resources :job_listings
5
+ resources :clients
6
+ resources :admins
7
+
8
+ get "/job_listings/:id/clientshow" => "job_listings#clientshow"
9
+
10
+
11
+ root 'admins#index'
12
+
13
+ get '/new_applicant' => 'job_applicants#new'
14
+ get '/new_application' => 'job_applications#create'
15
+
16
+ # We should redirect clients to the client versions of main actions
17
+ get '/job_listings_client' => 'job_listings#clientindex'
18
+ end
@@ -0,0 +1,8 @@
1
+ class CreateFuturinoHrAdmins < ActiveRecord::Migration
2
+ def change
3
+ create_table :futurino_hr_admins do |t|
4
+
5
+ t.timestamps null: false
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class CreateFuturinoHrClients < ActiveRecord::Migration
2
+ def change
3
+ create_table :futurino_hr_clients do |t|
4
+
5
+ t.timestamps null: false
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,13 @@
1
+ class CreateFuturinoHrJobListings < ActiveRecord::Migration
2
+ def change
3
+ create_table :futurino_hr_job_listings do |t|
4
+ t.string "title"
5
+ t.string "description"
6
+ t.string "qualifications"
7
+ t.integer "admin_id"
8
+ t.integer "client_id"
9
+ t.integer "job_application_id"
10
+ t.timestamps null: false
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ class CreateFuturinoHrJobApplications < ActiveRecord::Migration
2
+ def change
3
+ create_table :futurino_hr_job_applications do |t|
4
+ t.integer "admin_id"
5
+ t.integer "client_id"
6
+ t.integer "job_applicant_id"
7
+ t.integer "job_listing_id"
8
+ t.timestamps null: false
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,24 @@
1
+ class CreateFuturinoHrJobApplicants < ActiveRecord::Migration
2
+ def change
3
+ create_table :futurino_hr_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
+ t.integer "admin_id"
18
+ t.integer "client_id"
19
+ t.integer "job_application_id"
20
+ t.integer "job_listing_id"
21
+ t.timestamps null: false
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,5 @@
1
+ require "futurino_hr/engine"
2
+
3
+ module FuturinoHr
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,5 @@
1
+ module FuturinoHr
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace FuturinoHr
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module FuturinoHr
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :futurino_hr do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: futurino_hr
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-25 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: '4.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 4.2.4
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.4
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 FuturinoHr.
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/futurino_hr_manifest.js
58
+ - app/assets/javascripts/futurino_hr/admins.js
59
+ - app/assets/javascripts/futurino_hr/clients.js
60
+ - app/assets/javascripts/futurino_hr/job_applicants.js
61
+ - app/assets/javascripts/futurino_hr/job_applications.js
62
+ - app/assets/javascripts/futurino_hr/job_listings.js
63
+ - app/assets/stylesheets/futurino_hr/admins.css
64
+ - app/assets/stylesheets/futurino_hr/application.css
65
+ - app/assets/stylesheets/futurino_hr/clients.css
66
+ - app/assets/stylesheets/futurino_hr/job_applicants.css
67
+ - app/assets/stylesheets/futurino_hr/job_applications.css
68
+ - app/assets/stylesheets/futurino_hr/job_listings.css
69
+ - app/assets/stylesheets/scaffold.css
70
+ - app/controllers/futurino_hr/admins_controller.rb
71
+ - app/controllers/futurino_hr/application_controller.rb
72
+ - app/controllers/futurino_hr/clients_controller.rb
73
+ - app/controllers/futurino_hr/job_applicants_controller.rb
74
+ - app/controllers/futurino_hr/job_applications_controller.rb
75
+ - app/controllers/futurino_hr/job_listings_controller.rb
76
+ - app/helpers/futurino_hr/admins_helper.rb
77
+ - app/helpers/futurino_hr/application_helper.rb
78
+ - app/helpers/futurino_hr/clients_helper.rb
79
+ - app/helpers/futurino_hr/job_applicants_helper.rb
80
+ - app/helpers/futurino_hr/job_applications_helper.rb
81
+ - app/helpers/futurino_hr/job_listings_helper.rb
82
+ - app/jobs/futurino_hr/application_job.rb
83
+ - app/mailers/futurino_hr/application_mailer.rb
84
+ - app/models/futurino_hr/admin.rb
85
+ - app/models/futurino_hr/application_record.rb
86
+ - app/models/futurino_hr/client.rb
87
+ - app/models/futurino_hr/job_applicant.rb
88
+ - app/models/futurino_hr/job_application.rb
89
+ - app/models/futurino_hr/job_listing.rb
90
+ - app/views/futurino_hr/admins/_admin.json.jbuilder
91
+ - app/views/futurino_hr/admins/_form.html.erb
92
+ - app/views/futurino_hr/admins/edit.html.erb
93
+ - app/views/futurino_hr/admins/index.html.erb
94
+ - app/views/futurino_hr/admins/index.json.jbuilder
95
+ - app/views/futurino_hr/admins/new.html.erb
96
+ - app/views/futurino_hr/admins/show.html.erb
97
+ - app/views/futurino_hr/admins/show.json.jbuilder
98
+ - app/views/futurino_hr/clients/_client.json.jbuilder
99
+ - app/views/futurino_hr/clients/_form.html.erb
100
+ - app/views/futurino_hr/clients/edit.html.erb
101
+ - app/views/futurino_hr/clients/index.html.erb
102
+ - app/views/futurino_hr/clients/index.json.jbuilder
103
+ - app/views/futurino_hr/clients/new.html.erb
104
+ - app/views/futurino_hr/clients/show.html.erb
105
+ - app/views/futurino_hr/clients/show.json.jbuilder
106
+ - app/views/futurino_hr/job_applicants/_form.html.erb
107
+ - app/views/futurino_hr/job_applicants/_job_applicant.json.jbuilder
108
+ - app/views/futurino_hr/job_applicants/edit.html.erb
109
+ - app/views/futurino_hr/job_applicants/index.html.erb
110
+ - app/views/futurino_hr/job_applicants/index.json.jbuilder
111
+ - app/views/futurino_hr/job_applicants/new.html.erb
112
+ - app/views/futurino_hr/job_applicants/show.html.erb
113
+ - app/views/futurino_hr/job_applicants/show.json.jbuilder
114
+ - app/views/futurino_hr/job_applications/_form.html.erb
115
+ - app/views/futurino_hr/job_applications/_job_application.json.jbuilder
116
+ - app/views/futurino_hr/job_applications/edit.html.erb
117
+ - app/views/futurino_hr/job_applications/index.html.erb
118
+ - app/views/futurino_hr/job_applications/index.json.jbuilder
119
+ - app/views/futurino_hr/job_applications/new.html.erb
120
+ - app/views/futurino_hr/job_applications/show.html.erb
121
+ - app/views/futurino_hr/job_applications/show.json.jbuilder
122
+ - app/views/futurino_hr/job_listings/_form.html.erb
123
+ - app/views/futurino_hr/job_listings/_job_listing.json.jbuilder
124
+ - app/views/futurino_hr/job_listings/clientindex.html.erb
125
+ - app/views/futurino_hr/job_listings/clientindex.json.jbuilder
126
+ - app/views/futurino_hr/job_listings/clientshow.html.erb
127
+ - app/views/futurino_hr/job_listings/clientshow.json.jbuilder
128
+ - app/views/futurino_hr/job_listings/edit.html.erb
129
+ - app/views/futurino_hr/job_listings/index.html.erb
130
+ - app/views/futurino_hr/job_listings/index.json.jbuilder
131
+ - app/views/futurino_hr/job_listings/new.html.erb
132
+ - app/views/futurino_hr/job_listings/show.html.erb
133
+ - app/views/futurino_hr/job_listings/show.json.jbuilder
134
+ - app/views/layouts/futurino_hr/application.html.erb
135
+ - config/routes.rb
136
+ - db/migrate/20200824122156_create_futurino_hr_admins.rb
137
+ - db/migrate/20200824122209_create_futurino_hr_clients.rb
138
+ - db/migrate/20200824122219_create_futurino_hr_job_listings.rb
139
+ - db/migrate/20200824122226_create_futurino_hr_job_applications.rb
140
+ - db/migrate/20200824122231_create_futurino_hr_job_applicants.rb
141
+ - lib/futurino_hr.rb
142
+ - lib/futurino_hr/engine.rb
143
+ - lib/futurino_hr/version.rb
144
+ - lib/tasks/futurino_hr_tasks.rake
145
+ homepage: http://futurino.com
146
+ licenses:
147
+ - MIT
148
+ metadata: {}
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubygems_version: 3.0.8
165
+ signing_key:
166
+ specification_version: 4
167
+ summary: Summary of FuturinoHr.
168
+ test_files: []