unidom-category 1.5.3 → 1.5.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
  SHA1:
3
- metadata.gz: b1f5dc6e232b538fd7216d82193e8c17c5563b53
4
- data.tar.gz: 1660e8f4d355e387c04c8c7204e6b4cac0d3aa4c
3
+ metadata.gz: 7388581cb56b65f5dfcc15ef3dcf6d5b72222e2c
4
+ data.tar.gz: 6724a0d4670f5b15859c0bce6734998054aff417
5
5
  SHA512:
6
- metadata.gz: 682ffb1f2868651825b94fff32ffc12a37054bd557b123d3637a7da60a78b5b6eb054e6035e763b72a235cc288b21ebbc4458095b0eb996cbb4436ed379838b1
7
- data.tar.gz: 3ed89a892f7050c0303a42d7c35377a170d0472bda0f6c9953b4ce60748935069690d1ee443a7d4065a823bf902b7fcd549efe2140df3c9d9517d85799eb997c
6
+ metadata.gz: 01edeb37121ae0ab666556da562305beda1bff30d0d4bd14e98df689284246600d8915ad973f3d4df849351a1effac93addf21683d0b4e212f0373cbb4ac54d5
7
+ data.tar.gz: 502c136c531bfe9d127179ee67c940b612a9243f5ed185aea34d3efc49b7b8de836b046604539a1620ebc0af11af66621e5fe60d725101f8dd41231e7126f132
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Categorizing 是分类(category)和被分类项(categorized)之间的关联关系。
2
3
 
3
4
  class Unidom::Category::Categorizing < Unidom::Category::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Category 是分类。
2
3
 
3
4
  class Unidom::Category::Category < Unidom::Category::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Category Rollup 是分类的层级关系。
2
3
 
3
4
  class Unidom::Category::CategoryRollup < Unidom::Category::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Category Scheme 是分类体系。
2
3
  # 所有者(owner)可以是系统(System)、标准(Standard)、或者某个参与者(Party,如:Person、Shop、Company)。
3
4
 
@@ -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::Category
7
9
 
8
- initializer :append_migrations do |app|
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
 
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Category
3
- VERSION = '1.5.3'.freeze
3
+ VERSION = '1.5.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-category
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.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: 2016-12-06 00:00:00.000000000 Z
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.7.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.7.1
26
+ version: '1.8'
27
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
28
28
  The Category domain model engine includes Category and its relative models. Unidom
29
29
  (统一领域对象模型)是一系列的领域模型引擎。类别领域模型引擎包括类别及其相关的模型。