mas-rad_core 0.0.36 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,8 +11,8 @@ FactoryGirl.define do
11
11
  confirmed_disclaimer true
12
12
  firm
13
13
 
14
- before(:create) { |a| a.class.skip_callback(:save, :after, :geocode_if_needed) }
15
- after(:create) { |a| a.class.set_callback(:save, :after, :geocode_if_needed) }
14
+ before(:create) { |a| a.class.skip_callback(:save, :after, :geocode) }
15
+ after(:create) { |a| a.class.set_callback(:save, :after, :geocode, if: :geocode?) }
16
16
 
17
17
  after(:build) do |a|
18
18
  if a.reference_number?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mas-rad_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails