angus 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/angus/rspec/support/examples.rb +2 -2
- data/lib/angus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba8e29585ccc3f4558ce66fdf257c696d65bb10
|
4
|
+
data.tar.gz: 1f0b401af56b8462ca00bc53f223a54100bcc69f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 289a56869ebd21adfda4f6ca58ab068e8c89e5454ec3a8a4cc1ffcedeba44915fb270134e4deca77594e262f02f8044a2d28d2260cfc86382a59743e3f484a02
|
7
|
+
data.tar.gz: 26e891f72a1371f1547aca5b780d7cda9a95657f07f77bd2280580f87afe15d928f1f24b21dc069149927d32cafaccfb39a2ff63e3dc33d213fb8ae5a3e0eda1
|
@@ -13,9 +13,9 @@ require_relative 'examples/describe_errors'
|
|
13
13
|
# @param service the Service (rack app) that exposes the operation
|
14
14
|
def describe_operation(operation, service_class, &block)
|
15
15
|
service = if service_class.is_a?(Angus::Base)
|
16
|
+
warn "Calling describe_operation with a service instance is deprecated use a class instead."
|
16
17
|
service_class
|
17
18
|
else
|
18
|
-
warn "Calling describe_operation with a service class is deprecated use an instance instead."
|
19
19
|
service_class.new
|
20
20
|
end
|
21
21
|
|
@@ -68,4 +68,4 @@ def describe_operation(operation, service_class, &block)
|
|
68
68
|
|
69
69
|
instance_eval(&block)
|
70
70
|
end
|
71
|
-
end
|
71
|
+
end
|
data/lib/angus/version.rb
CHANGED