unidom-dictionary 0.2 → 0.2.1

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: f645a0cf5cafb36703dd4997386bfcbd1dc71a51
4
- data.tar.gz: af612726989f68babfe9bf47740b132bf8457183
3
+ metadata.gz: ddd7daff831d59c4d4c946fed082fbd8256bfc9d
4
+ data.tar.gz: a773f5cc226d55b6742fb482a89f93fce79bd2c1
5
5
  SHA512:
6
- metadata.gz: 5658add89e42c3ca5f1b1973b97aa9c8a39135ed6f7f48fcdabc94c5e01ef2cd3b1130b86fd9f0341fb9b845ebd6abc81d44ba7c791e59e5975f74aec34cc3f4
7
- data.tar.gz: 2e77c7b3b251b7d8070bb83959d04e57df8d97201f7aa5bfff18b5ad5c04836d39e1f3a762e3dbf2e58cbdc6c89b31bc8d67bc56561d601e22cec46e0e8ffca9
6
+ metadata.gz: b9faf2779ab7596f32960ae1fa1c5a6e065cde76a6871451d886037b2e151a34b96960ad60490e4d554a0f002ccbff5825704bf88347caabf5a542a9aa8fd99d
7
+ data.tar.gz: 6ee5a831cf9f230d3eb34c91d021d0f19a3fc75f1055747c3d2c3435ffa4409933f5b41fb129a422fa7e93c148c234eda49fa67dd32c9c8a8823ab9b2f15cdc4
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Dictionary Item 是字典项。
2
3
 
3
4
  class Unidom::Dictionary::DictionaryItem < Unidom::Dictionary::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::Dictionary
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 Dictionary
3
- VERSION = '0.2'.freeze
3
+ VERSION = '0.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-dictionary
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
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-19 00:00:00.000000000 Z
11
+ date: 2017-01-09 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 Dictionary domain model engine includes the Dictionary Item model and its relative
29
29
  models. Unidom (统一领域对象模型)是一系列的领域模型引擎。字典领域模型引擎包括字典项和与其相关的模型。