next_sgad 0.1.8 → 0.1.9
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 696a0ac704e76390a40ec494b842a611768cf906
|
4
|
+
data.tar.gz: 7413f66353d05a77aaa4e275f1e4086c4d5da1e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e80fb3583054bc4f15e1b0371f5566e73e7b5626327dfb946c0ed06ca47b386e56ace03251c9cc0cc62625148d559e12ff80500882dcdbd7053d1bb5b3657c81
|
7
|
+
data.tar.gz: f857a62afb325631c1c15526f80dde1023f250d39b76e638491e2136ef5718910054314394c720e453bd61d8fafa552bd38c4dace7b161a36c537bfe34606fcf
|
@@ -3,6 +3,7 @@ module NextSgad
|
|
3
3
|
belongs_to :assessment
|
4
4
|
has_many :employee_goals, dependent: :destroy
|
5
5
|
has_and_belongs_to_many :positions, association_foreign_key: :next_sgad_position_id, foreign_key: :next_sgad_goal_id
|
6
|
+
has_and_belongs_to_many :functions, association_foreign_key: :next_sgad_function_id, foreign_key: :next_sgad_goal_id
|
6
7
|
|
7
8
|
enum goal_type: {skill: 0, objective: 1}
|
8
9
|
enum status: NextSgad::Assessment.statuses
|
@@ -0,0 +1,8 @@
|
|
1
|
+
class CreateJoinTableGoalFunction < ActiveRecord::Migration[5.1]
|
2
|
+
def change
|
3
|
+
create_join_table :next_sgad_goals, :next_sgad_functions do |t|
|
4
|
+
t.index [:next_sgad_goal_id, :next_sgad_function_id], name: 'idx_nxt_sgd_fctns_gls_n_nxt_sgd_goal_id_and_nt_sgd_function_id'
|
5
|
+
# t.index [:next_sgad_function_id, :next_sgad_goal_id]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
data/lib/next_sgad/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: next_sgad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Maziano
|
@@ -231,6 +231,7 @@ files:
|
|
231
231
|
- db/migrate/20171115160122_add_justification_status_to_next_sgad_attendances.rb
|
232
232
|
- db/migrate/20171115161157_migrate_fill_justification_columns.rb
|
233
233
|
- db/migrate/20171119122339_add_for_everyone_to_next_sgad_goals.rb
|
234
|
+
- db/migrate/20171119152032_create_join_table_goal_function.rb
|
234
235
|
- lib/concerns/models/employee.rb
|
235
236
|
- lib/generators/initializer/USAGE
|
236
237
|
- lib/generators/initializer/initializer_generator.rb
|
@@ -262,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
263
|
version: '0'
|
263
264
|
requirements: []
|
264
265
|
rubyforge_project:
|
265
|
-
rubygems_version: 2.6.
|
266
|
+
rubygems_version: 2.6.14
|
266
267
|
signing_key:
|
267
268
|
specification_version: 4
|
268
269
|
summary: SGAD
|