aws-sdk-resources 2.1.35 → 2.1.36

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: 5e8d33835f15f662da0e123b99d196bd81e9f031
4
- data.tar.gz: 66c29258d64c7559e4c6c1bde50f6b4443b50abe
3
+ metadata.gz: 0202a7a060f88f8495dee3858023812366c4dd15
4
+ data.tar.gz: 400a1bb204530aaacd07e6a4680cadf30de52f2a
5
5
  SHA512:
6
- metadata.gz: 3f2d478595e7619bbfa0046f81e1ad6f2d64b8cb6fccc5344b47dc02aa8f2dc8b02fac7c791cec5ba83dbec10aecf8b7fc2281e4cd0584408a59733b1946e5b1
7
- data.tar.gz: a9ab578ebdc8c6ed956ed242c65952e3a2b796d9e881ce700b708f7bfd67982252081ce503fab8ba50dd318885f47e8a0917e9c4e9362031d5c1188921abcecd
6
+ metadata.gz: e2c124d79e8ecedc0a948cdc813f9620c35f460d0b41db334fc0be8989f082eb31c7d895b52a43e752c4c82e1ad721ceddc75d6fe82d183ae1ca5acf596f4908
7
+ data.tar.gz: 5ef9405ec02223c0c74744a39f8088cb4ed3dfa660cd4ddc8aed607d725b7a7aacbd2060cb70295e6bac11f7680db466673f720a77e7dd864cfe4bbb17083dc1
@@ -43,20 +43,22 @@ collection. {#{called_operation}} will be called multiple times until every
43
43
  end
44
44
 
45
45
  def batch_examples_tag
46
- example = "@example Batch operations callable on the returned collection"
47
- target_resource_batch_operations.each do |name|
48
- example << "\n #{variable_name}.#{@operation_name}.#{name}"
46
+ example = []
47
+ example << "@example Batch operations callable on the returned collection"
48
+ target_resource_batch_operations.each do |name, operation|
49
+ example << ""
50
+ example << " # calls Client##{operation.request.method_name} on each batch"
51
+ example << " #{variable_name}.#{@operation_name}.#{name}"
49
52
  end
50
- tag(example)
53
+ tag(example.join("\n"))
51
54
  end
52
55
 
53
56
  def target_resource_batches?
54
- target_resource_class.const_defined?(:Batch) &&
55
57
  target_resource_batch_operations.count > 0
56
58
  end
57
59
 
58
60
  def target_resource_batch_operations
59
- target_resource_class::Batch.operation_names
61
+ target_resource_class.batch_operations
60
62
  end
61
63
 
62
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.35
4
+ version: 2.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.35
19
+ version: 2.1.36
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.35
26
+ version: 2.1.36
27
27
  description: Provides resource oriented interfaces and other higher-level abstractions
28
28
  for many AWS services. This gem is part of the official AWS SDK for Ruby.
29
29
  email:
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.4.5
109
+ rubygems_version: 2.4.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: AWS SDK for Ruby - Resources