blsm-vd-core 0.8.0 → 0.8.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: a069ba05cde82b661959f01d83fe63f1b441189d
4
- data.tar.gz: b0c79284b266fc27f7f6791bbce34f495ac6dbe0
3
+ metadata.gz: 3d55f917867d36eeae772420209a25f91aaef6c4
4
+ data.tar.gz: 940c62e5d74e1c1a4abe0ffb3c029cf6d0baa97c
5
5
  SHA512:
6
- metadata.gz: 496bfa14705c081fe1cd753ba05da262555b623b038c93947a3cb07f0bcfc3a7700786f085e288fd0c7826d3a92ec7de863a3dce7d1f4eaf18d09ae707d1740e
7
- data.tar.gz: be53804e26b9b2eb79e665e90cce1f141c87d774c8139f922d32279dcada6dd409b2e2cce5c8e44492517921bffce70e660bdf802619e91bab0e5dc89c2ffaec
6
+ metadata.gz: 5f14cd881d9a0d6ca5b3f538ccb7ff7b8995b38ee33b20cd6f515373a37f2b7c0227328f40c1c4bf3440d0b2e1669bcec8877498398f1e1a40b8af1b31b7235f
7
+ data.tar.gz: 16296f56e85dc3768532bf66f843801e491955696318101a3c39dc261b2f8cc2af140893d519fae1b9199761c3964175876e05243c7a5f7d11f3cdea0e26dd6e
@@ -6,8 +6,6 @@ module BlsmVdCore
6
6
  belongs_to :user, class_name: '::BlsmVdCore::User'
7
7
  belongs_to :supervisor, class_name: '::BlsmVdCore::User'
8
8
 
9
- after_save :sync_shop_state #同步用户拥有的店铺的状态
10
-
11
9
  LEVELS = {
12
10
  1 => '普通店主',
13
11
  2 => '金牌店主',
@@ -46,12 +44,5 @@ module BlsmVdCore
46
44
  1
47
45
  end
48
46
 
49
- def sync_shop_state
50
- if level >=2 && self.user
51
- self.user.applications.each do |shop|
52
- shop.update_attributes({support_hdfk: true})
53
- end
54
- end
55
- end
56
47
  end
57
- end
48
+ end
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
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.8.0
4
+ version: 0.8.1
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-12-05 00:00:00.000000000 Z
12
+ date: 2016-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec