blsm-vd-core 0.6.5 → 0.6.6

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: 2b2f4acad51281973e6d02817c4c08ee66939336
4
- data.tar.gz: 43ebe2ab0e5e1865207fe1f50daf0ab516432ad4
3
+ metadata.gz: 3f6a92b8f4ad4b3053f4a5637f8b8ea4465ef393
4
+ data.tar.gz: 261c320c0981bce4af5c13e660a7d78af3e1f147
5
5
  SHA512:
6
- metadata.gz: 4eaff6e9c3946323ff45e372ec824b932b2eba38ba6fb35babb12678c14d67445295df87fab4ff97d047ddb85d84305333db86195ba6dcdd09c440c858d711a9
7
- data.tar.gz: 79c77ed0e4713460f048bc3f8c70680aabdc14de45ec34ea5325cade02566206be5fdf3a509c9a3414c488ea7eb3cdf32abbd6cfaaab1629ca01b22650317476
6
+ metadata.gz: 9d93bf4cd840729da69d84acd81c446b15ca037bad5a3bc385ab6307a13c382c504e4701ff11e945e191ffb1f2b30f16fad16c0df0d6be5524b382df6585e46d
7
+ data.tar.gz: 0f12598006957482c164ee71a13765ab2904b648308057b7cfe480ce70fdf3044a18ac667c9df556a7d92cf208525a67c57ed5babf01defa93978d418c214320
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (0.6.4)
4
+ blsm-vd-core (0.6.6)
5
5
 
6
6
  GEM
7
7
  remote: https://gems.ruby-china.org/
@@ -5,5 +5,6 @@ module BlsmVdCore
5
5
  belongs_to :order, class_name: "::BlsmVdCore::Order"
6
6
  belongs_to :product_prop, class_name: "::BlsmVdCore::ProductProp"
7
7
  belongs_to :product, class_name: "::BlsmVdCore::Product"
8
+ default_scope { where("deleted_at is null") }
8
9
  end
9
10
  end
@@ -4,7 +4,7 @@ module BlsmVdCore
4
4
  include BlsmVdCore::EncryptedId
5
5
  self.table_name='orders'
6
6
  has_many :clearing_items, class_name: "::BlsmVdCore::ClearingItem"
7
- has_many :line_items, class_name: "::BlsmVdCore::LineItem"
7
+ has_many :line_items, class_name: "::BlsmVdCore::LineItem", with_deleted: false
8
8
  belongs_to :application, class_name: "::BlsmVdCore::Application", foreign_key: "application_id"
9
9
  encrypted_id key: 'bYqILlFMZn3xd8Cy'
10
10
 
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsm-vd-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-07-04 00:00:00.000000000 Z
12
+ date: 2016-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec