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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ec22d0198b93b02dd669decf5ab03331e0e67f7
4
- data.tar.gz: 0748f742514dacf291dd17eb737a4199da304f65
3
+ metadata.gz: 4ba8e29585ccc3f4558ce66fdf257c696d65bb10
4
+ data.tar.gz: 1f0b401af56b8462ca00bc53f223a54100bcc69f
5
5
  SHA512:
6
- metadata.gz: 77f1c4577ae945ffa4ab354ea544fb584c9a750c906d6d7cde65982327a41e56a493f6633bc9cf120ccda96b3759a841b951c71aaebc234ab74096854390e2d9
7
- data.tar.gz: ebb04e1b8e6e1ca7b09a81383c5a4a7f36d432eb10c8c18e433b81cf0655f9c302436a856908e38794697af895f9d81bca86850210e68bd489e6d65143ef1521
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
@@ -1,3 +1,3 @@
1
1
  module Angus
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Ifran