aws-sdk-core 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/cloudformation/2010-05-15/resources-1.json +8 -0
- data/apis/cloudformation/2010-05-15/waiters-2.json +29 -0
- data/apis/devicefarm/2015-06-23/api-2.json +150 -523
- data/apis/devicefarm/2015-06-23/examples-1.json +5 -0
- data/apis/inspector/2015-08-18/api-2.json +208 -610
- data/apis/inspector/2015-08-18/examples-1.json +5 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/seahorse/client/handler_list.rb +4 -4
- data/lib/seahorse/client/handler_list_entry.rb +2 -1
- metadata +4 -2
data/lib/aws-sdk-core/version.rb
CHANGED
@@ -148,7 +148,7 @@ module Seahorse
|
|
148
148
|
# Yields the handlers in stack order, which is reverse priority.
|
149
149
|
def each(&block)
|
150
150
|
entries.sort.each do |entry|
|
151
|
-
yield(entry.handler_class) if entry.operations.
|
151
|
+
yield(entry.handler_class) if entry.operations.nil?
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
@@ -175,10 +175,10 @@ module Seahorse
|
|
175
175
|
|
176
176
|
def filter(operation)
|
177
177
|
entries.inject([]) do |filtered, entry|
|
178
|
-
if entry.operations.
|
179
|
-
filtered << entry
|
178
|
+
if entry.operations.nil?
|
179
|
+
filtered << entry.copy
|
180
180
|
elsif entry.operations.include?(operation)
|
181
|
-
filtered << entry.copy(operations:
|
181
|
+
filtered << entry.copy(operations: nil)
|
182
182
|
end
|
183
183
|
filtered
|
184
184
|
end
|
@@ -27,7 +27,8 @@ module Seahorse
|
|
27
27
|
@options = options
|
28
28
|
@handler_class = option(:handler_class, options)
|
29
29
|
@inserted = option(:inserted, options)
|
30
|
-
@operations =
|
30
|
+
@operations = options[:operations]
|
31
|
+
@operations = Set.new(options[:operations]).map(&:to_s) if @operations
|
31
32
|
set_step(options[:step] || :build)
|
32
33
|
set_priority(options[:priority] || 50)
|
33
34
|
compute_weight
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
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-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- apis/datapipeline/2012-10-29/api-2.json
|
63
63
|
- apis/datapipeline/2012-10-29/paginators-1.json
|
64
64
|
- apis/devicefarm/2015-06-23/api-2.json
|
65
|
+
- apis/devicefarm/2015-06-23/examples-1.json
|
65
66
|
- apis/devicefarm/2015-06-23/paginators-1.json
|
66
67
|
- apis/directconnect/2012-10-25/api-2.json
|
67
68
|
- apis/directconnect/2012-10-25/paginators-1.json
|
@@ -108,6 +109,7 @@ files:
|
|
108
109
|
- apis/importexport/2010-06-01/api-2.json
|
109
110
|
- apis/importexport/2010-06-01/paginators-1.json
|
110
111
|
- apis/inspector/2015-08-18/api-2.json
|
112
|
+
- apis/inspector/2015-08-18/examples-1.json
|
111
113
|
- apis/iot-data/2015-05-28/api-2.json
|
112
114
|
- apis/iot/2015-05-28/api-2.json
|
113
115
|
- apis/kinesis/2013-12-02/api-2.json
|