mountain-goat 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ class Rally < ActiveRecord::Base
11
11
  cmt = convert_meta_types.find_by_var(option[0].to_s)
12
12
 
13
13
  #Create cmt if it doesn't current exist (unless nil)
14
- if cmt.nil? && !option[1].nil?
14
+ if cmt.nil? && !option[1].nil? && ( option[1].is_a?(Integer) || option[1].is_a?(String) )
15
15
  #infer type
16
16
  meta_type = "ci_meta" if option[1].is_a?(Integer)
17
17
  meta_type = "cs_meta" if option[1].is_a?(String)
@@ -1,3 +1,3 @@
1
1
  class MountainGoat
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Geoffrey Hayes
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-26 00:00:00 -05:00
19
+ date: 2011-08-01 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency