mountain-goat 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,9 @@ class Rally < ActiveRecord::Base
18
18
  cmt = convert.convert_meta_types.create!(:name => option[0].to_s, :var => option[0].to_s, :meta_type => meta_type)
19
19
  end
20
20
 
21
- cmt.meta.create!(:rally_id => self.id, :data => option[1]) if !option[1].nil?
21
+ if !cmt.nil? #only if we can do it
22
+ cmt.meta.create!(:rally_id => self.id, :data => option[1]) if !option[1].nil?
23
+ end
22
24
  end
23
25
  end
24
26
 
@@ -1,3 +1,3 @@
1
1
  class MountainGoat
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mountain-goat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Geoffrey Hayes