unidom-position 1.4.3 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 040ffc171366bb5311bf0b6d15cce8b19d9b38ba
4
- data.tar.gz: af2b4e483c5565e6a3040b7a17d2d4e6bf50f499
3
+ metadata.gz: 56b90af2bb4f6f1323b250f73a3ae94809836dec
4
+ data.tar.gz: 45a77a41d29fd24921126dc93583064574922b82
5
5
  SHA512:
6
- metadata.gz: 778821912ccaef636eeaa77cac58fcc118f4a283e2608688a465c8f3d03de27d5618ce523e2576175d1cfc25af2a6e4e7e71e296c9c1c190e448002955e3002d
7
- data.tar.gz: d6fef4a419a894df943a623912ec31d8a469149db75700f3b4abdf00de2622dd7557955338a79501c96e394acac0e68273da551e3d56535f039da50bc0781256
6
+ metadata.gz: 420a76be6bb9a848ab84ae646cab39b959cc9e82657b90cf760b77c5e5adf355f8917ad73eaa8bfc5e33964e1d7aedfa11eec4c845dd5844d05d8741c6761a2d
7
+ data.tar.gz: 85ad988a4a1673ee2fc12f41b743712dabd7f2455424767e2644d1fef44fac11a01044f4cd539f21446c43c54a07c2608dac5c2130cb99d7ea084986561d2fe6
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Occupation 是职业。
2
3
 
3
4
  class Unidom::Position::Occupation < Unidom::Position::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Position 是职位。
2
3
 
3
4
  class Unidom::Position::Position < Unidom::Position::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Post 是岗位。
2
3
 
3
4
  class Unidom::Position::Post < Unidom::Position::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Post Reporting Structure 是岗位汇报结构。
2
3
 
3
4
  class Unidom::Position::PostReportingStructure < Unidom::Position::ApplicationRecord
@@ -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::Position
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 Position
3
- VERSION = '1.4.3'.freeze
3
+ VERSION = '1.4.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-position
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.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 Position domain model engine includes the Occupation, Position, Post, and Position
29
29
  Reporting Structure models. Unidom (统一领域对象模型)是一系列的领域模型引擎。职位领域模型引擎包括职业、职位、岗位及职位报告关系模型。