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.
- checksums.yaml +4 -4
- data/app/models/adviser.rb +7 -5
- data/app/models/firm.rb +1 -1
- data/lib/mas/rad_core/version.rb +1 -1
- data/spec/dummy/log/development.log +240 -1322
- data/spec/dummy/log/test.log +114730 -36157
- data/spec/factories/adviser.rb +2 -2
- metadata +2 -2
data/spec/factories/adviser.rb
CHANGED
@@ -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, :
|
15
|
-
after(:create) { |a| a.class.set_callback(:save, :after, :
|
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.
|
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-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|