mountain-goat 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mountain-goat/public/mg.css +4 -0
- data/lib/mountain-goat/version.rb +1 -1
- data/lib/mountain-goat.rb +3 -1
- metadata +4 -4
data/lib/mountain-goat.rb
CHANGED
@@ -26,11 +26,13 @@ require File.join([File.dirname(__FILE__), 'mountain-goat/models/rally'])
|
|
26
26
|
|
27
27
|
class MountainGoat
|
28
28
|
def self.add_meta_option(option, &block)
|
29
|
+
@@meta_options = {} if !defined?(@@meta_options)
|
29
30
|
@@meta_options ||= {}
|
30
31
|
@@meta_options.merge!({ option => block })
|
31
32
|
end
|
32
33
|
|
33
34
|
def self.get_meta_options
|
34
|
-
@@meta_options
|
35
|
+
return {} if !defined?(@@meta_options)
|
36
|
+
@@meta_options || {}
|
35
37
|
end
|
36
38
|
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:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
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-08-
|
19
|
+
date: 2011-08-03 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|