ya_queen_role_fontana 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ya_queen_role_fontana/config.rb +2 -2
- data/lib/ya_queen_role_fontana/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6399c7279a8b58b68ba9c61238453a17f0b4df10
|
4
|
+
data.tar.gz: 40ae75089905621e50602a74ee6228e5c003aeea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c21432239da8eb386da825a4b6b11ba637cc8f4085acb888522ccc218393bd2519b8660aa0f54fe554789e6c67a6d33523510467b435615ce494aa5ea15d7815
|
7
|
+
data.tar.gz: 95fa9dd7e937f862e2fde42a3230217f63be022a423119d44ab85fb6f36f8f0a763cf55f2957921877147331038b249332dbf94def89fcb51d2d0ee628192cb2
|
@@ -5,11 +5,11 @@ require "ya_queen"
|
|
5
5
|
module YaQueenRoleFontana
|
6
6
|
class Config < YaQueen::Config
|
7
7
|
|
8
|
-
def role(name, options = {})
|
8
|
+
def role(name, options = {}, &block)
|
9
9
|
if options && (class_name = options.delete(:class_name))
|
10
10
|
options[:class] = YaQueenRoleFontana.const_get(class_name.to_sym)
|
11
11
|
end
|
12
|
-
define_server_tasks(name, options)
|
12
|
+
define_server_tasks(name, options, &block)
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ya_queen_role_fontana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ya_queen
|