unidom-shopping 1.6.3 → 1.6.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: 9fe76dd432a5cc346be0ebeec8d48ceb11f3050b
4
- data.tar.gz: 046fcb597e5cb9526fbb2fb0caf5d60ef1924f7a
3
+ metadata.gz: d708cb2956ccc7b9b955dc0e3f7ad18b63b170c4
4
+ data.tar.gz: d9f6989eeca561e2d16066a101cd05cecb784e60
5
5
  SHA512:
6
- metadata.gz: 7407572e4a71fe65a88eeea196a966112b795e77ed5e104937c4ce19c42025646f08f1c62a0810feae7080c8f1c6160fb9b96a734e794818799cdac3e0ee1725
7
- data.tar.gz: 857808c992a301a80d61dee1da9d9b86138c2e87493ab2f7383156790cef528d1c82ffbf374982801fe710e122bcda0c74627a1ebb1beaed0acd202d6b4b5f2c
6
+ metadata.gz: 87f73e3c29a26339dc52ff5f20271bceffd1b6eb80ca66bb64e5153510fcd0b7497bb46fa8d3f53c2b94a95d706043c8108f90b21ceacd8939f3053590142d9d
7
+ data.tar.gz: 9c7bcd0c498332dbd8e017c7ec7754dbac429387185bc304cead979e8dd80058f95d56ce048b87304793920a3917efd0396a3565154f8b20e6d627780c4c8571
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Shopping Cart 是购物车。
2
3
 
3
4
  class Unidom::Shopping::ShoppingCart < Unidom::Shopping::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Shopping Item 是购物项。
2
3
 
3
4
  class Unidom::Shopping::ShoppingItem < Unidom::Shopping::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::Shopping
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 Shopping
3
- VERSION = '1.6.3'.freeze
3
+ VERSION = '1.6.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-shopping
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.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 Shopping domain model engine includes Shopping Cart and Shopping Item models.
29
29
  Unidom (统一领域对象模型)是一系列的领域模型引擎。购物领域模型引擎包括购物车和购物项的模型。