unidom-inventory 0.7.3 → 0.7.4
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 +4 -4
- data/app/models/unidom/inventory/grouped_inventory_item.rb +1 -0
- data/app/models/unidom/inventory/inventory_item_variance.rb +1 -0
- data/app/models/unidom/inventory/item_issuing.rb +1 -0
- data/app/models/unidom/inventory/lot.rb +1 -0
- data/app/models/unidom/inventory/pick_item.rb +1 -0
- data/app/models/unidom/inventory/pick_list.rb +1 -0
- data/app/models/unidom/inventory/serialized_inventory_item.rb +1 -0
- data/db/migrate/20020901000000_create_unidom_serialized_inventory_items.rb +1 -1
- data/lib/unidom/inventory/engine.rb +3 -3
- data/lib/unidom/inventory/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb92d2f9e70d5f4cd23dda116402fea9179dcc78
|
4
|
+
data.tar.gz: d0914e4acd8fa703c36f9e8b7bd9a6d1f3891bd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4b31cb3d59e140a72a8bd539ec0c159c602db46169914cbb837ad181907c4e01354f73e9679d74a737cd7a266ce94086a48c2cac850d0cd9c764b0a9222a331
|
7
|
+
data.tar.gz: b467454a0b92364431e71f90f4fce6ae58fe8b67b4ebd092c6f364e830934c9a6896178ee8d8cc78c62a469d0a3763c4541ed6120128329acf6e5260fe0efe98
|
@@ -13,7 +13,7 @@ class CreateUnidomSerializedInventoryItems < ActiveRecord::Migration
|
|
13
13
|
t.string :serial_number, null: false, default: nil, limit: 200
|
14
14
|
|
15
15
|
t.column :state, 'char(1)', null: false, default: 'C'
|
16
|
-
t.datetime :opened_at, null: false, default:
|
16
|
+
t.datetime :opened_at, null: false, default: Time.utc(1970)
|
17
17
|
t.datetime :closed_at, null: false, default: ::Time.utc(3000)
|
18
18
|
t.boolean :defunct, null: false, default: false
|
19
19
|
t.jsonb :notation, null: false, default: {}
|
@@ -3,11 +3,11 @@ module Unidom
|
|
3
3
|
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
|
6
|
+
include Unidom::Common::EngineExtension
|
7
|
+
|
6
8
|
isolate_namespace ::Unidom::Inventory
|
7
9
|
|
8
|
-
|
9
|
-
config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s
|
10
|
-
end
|
10
|
+
enable_initializer enum_enabled: false, migration_enabled: true
|
11
11
|
|
12
12
|
end
|
13
13
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.8'
|
27
27
|
description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
|
28
28
|
The Inventory domain model engine includes the Serialized Inventory Item, the Grouped
|
29
29
|
Inventory Item, the Lot, and the Inventory Item Variance models. Unidom (统一领域对象模型)是一系列的领域模型引擎。库存领域模型引擎包括序列化库存项、分组库存项、批量和库存项变化的模型。
|