ecom_core 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 532acd8c95599f2071fe811e7af2eb6d6842b199d8d78fde4d84492b1b6ed96e
4
- data.tar.gz: 46161250433bd405c4fac003b1b11e9e3f370be33c2cc8e3d4e629d336401133
3
+ metadata.gz: 2eec84a7dcc3c35ddfd3d6dfcdcad40816ac302ac6995b28296b3336474fc8e4
4
+ data.tar.gz: a01a7b9d66c927e4299ab9615ecb2aa0b7a6a8ae22c93f9fbe5e948308172732
5
5
  SHA512:
6
- metadata.gz: ccea34d725c12630a1c57ca4c0ff4c4d49576d68f848841460df6122e762085cc41fd016d2708dfe11dea254d3ff28a99697dc1b1cce9bf12aadda7ae684715a
7
- data.tar.gz: 4f98a9d528f490d2d2bacc75c000a6bd80d3936ddef77df8550f9726f5c85899b349fc87a22daf72928dd3bc994128146684fd507fcf7da7acf59228ea720c85
6
+ metadata.gz: 819d09f03f844f651635bacbf267fe27e68b337431db55048daa3b639868d920d25ba3b0d7d6814af45ff23aeafd014749a5dbe21f60310f2252676748426019
7
+ data.tar.gz: d776a777a0f7691f0561fcaf561a9518b594004bdc5ff5f43b54b14ddddacc4f3c4709fa7b66b23f50674a6eb64c59a8e2d8f7138c178f0cf3b4385eac944c26
@@ -2,6 +2,7 @@ module Ecom
2
2
  module Core
3
3
  class CrewTime < ApplicationRecord
4
4
  belongs_to :crew
5
+ belongs_to :overtime_type, optional: true
5
6
 
6
7
  validates :date, presence: true
7
8
  end
@@ -7,6 +7,7 @@ class CreateEcomCoreCrewTimes < ActiveRecord::Migration[6.0]
7
7
  t.references :crew, index: { name: 'ct_on_crew_indx' }
8
8
  t.string :remark
9
9
  t.boolean :overtime, null: false, default: false
10
+ t.boolean :overtime_type_id, null: true
10
11
 
11
12
  t.timestamps
12
13
  end
@@ -1,5 +1,5 @@
1
1
  module Ecom
2
2
  module Core
3
- VERSION = '1.0.3'.freeze
3
+ VERSION = '1.0.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecom_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-03 00:00:00.000000000 Z
11
+ date: 2020-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm