ecom_core 1.3.2 → 1.3.3

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
  SHA256:
3
- metadata.gz: 621b9066b1247c45b0327f64ea03e820b175888a78d1e4819301763cee03b279
4
- data.tar.gz: cfebe590afc77b32cbe81da6c4cb848d6d40d856c235b914938df2c71f3d85a4
3
+ metadata.gz: f471cd5b5bddb2156f3edbd091a53fff200ac09e374d465201dd4fa930bbc384
4
+ data.tar.gz: 5b8bb54ba78c861e284f85bcd9c183e5213559005669245483aea63b4ddf64c3
5
5
  SHA512:
6
- metadata.gz: f5a936576f1fb6caf3774bdcda05d10f7583253b45e8d1f89ff5b0300fe99346642582f92094b4cc62b347013b1daa6ac07ef65341ab529a870b070be6ea7bab
7
- data.tar.gz: bbb27165e2ebc8bd422a2ac6b8f04de12029a9683fcf408d089ae64ebfeb28c5176b16ec44555d857bf502e7e2ffc5e8f06763d309dcfeb17f52cb796a85e852
6
+ metadata.gz: ed6a04e00cf9c858ee3a9366c297f5e989bdf3bb9e0d18e6ca0c905945995a03c6312f2549b4ab7f2f5cbaefd6994933d7c05d27462e2efece7a5a922ed66c74
7
+ data.tar.gz: c6e0dc807e852c9ee55ab645422c2f51bf17340c7196e1665dbc24cc3081771ad2791d14cc08de64fe226561da70d934b1177fc2ea38c30ccb523264f3e1d325
@@ -4,7 +4,6 @@ module Ecom
4
4
  has_ancestry
5
5
 
6
6
  belongs_to :task_template_type
7
- belongs_to :unit_of_measure
8
7
 
9
8
  has_many :task_template_inspection_checklists
10
9
  has_many :inspection_checklists, through: :task_template_inspection_checklists
@@ -8,10 +8,6 @@ class CreateEcomCoreTaskTemplates < ActiveRecord::Migration[6.0]
8
8
  null: false,
9
9
  index: { name: 'tt_on_ttt_indx' },
10
10
  foreign_key: { to_table: :ecom_core_task_template_types }
11
- t.references :unit_of_measure,
12
- null: false,
13
- index: { name: 'tt_on_uof_indx' },
14
- foreign_key: { to_table: :ecom_core_unit_of_measures }
15
11
  t.string :ancestry, index: true
16
12
  t.boolean :has_takeoff_fields, null:false, default: false
17
13
  t.jsonb :takeoff_fields, null: false, default: {}
@@ -1,5 +1,5 @@
1
1
  module Ecom
2
2
  module Core
3
- VERSION = '1.3.2'.freeze
3
+ VERSION = '1.3.3'.freeze
4
4
  end
5
5
  end
@@ -6,7 +6,6 @@ FactoryBot.define do
6
6
  name { FFaker::Name.name }
7
7
  description { FFaker::Name.name }
8
8
  association :task_template_type
9
- association :unit_of_measure
10
9
  has_takeoff_fields { false }
11
10
  takeoff_fields { [{ name: 'length', label: 'Length' }] }
12
11
  percentage_contribution { nil }
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.3.2
4
+ version: 1.3.3
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-12-19 00:00:00.000000000 Z
11
+ date: 2020-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm