aws-sdk-resources 2.0.47 → 2.0.48

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: 59eb13a97c0fba98833f607fd317c2e78d05be88
4
- data.tar.gz: f9bddb5d4e897b18685e3ad59d695c8e927297b9
3
+ metadata.gz: 88fe0a7962e9f135b00ec8d5629489f73b4492df
4
+ data.tar.gz: 8228380edef1723af9a73997693f01b7de75e5e6
5
5
  SHA512:
6
- metadata.gz: 0073e8f17c9559c8e6bb7163503f341258363f7f7f31f381c0a09635f51082fa8a512f036e4234e2852261f09f63a7b767e91f966a5619db0dd9aa29b38beaa2
7
- data.tar.gz: 2b493f044af356ef2182c85b08d7a3d9ac7505003bcb4513af177c92fbdf8d82ea09194aa9b80127364cfa3459daa361d8d83c817e5778a48b1268cff855bf6d
6
+ metadata.gz: 4e1b0b5666c695e4a895496174d72b46a6dd8cf07742c18daf8a1aeda946bd3e763f8809108d33686b3e4e23f5438451a37cb72ac966596e62859674d1df34d9
7
+ data.tar.gz: c341c1944f105db93e1aec0fd6cdb8c436ea91305f0f9b2edb70587846aa9e124083c7e89e8261c8b38f08a6fc7a326f66b511dae8596ba086627ee6634209eb
@@ -24,7 +24,7 @@ module Aws
24
24
  # You can invoke batch operations against collections and they will
25
25
  # invoke them on each batch.
26
26
  #
27
- # # delets all all objects in this bucket in batches of 1k
27
+ # # delete all objects in this bucket in batches of 1k
28
28
  # objects = s3.bucket('aws-sdk').objects
29
29
  # objects.delete
30
30
  #
@@ -193,7 +193,7 @@ module Aws
193
193
  end
194
194
 
195
195
  # The message portion of the @return tag for this operation. This must
196
- # be overidden in sub-classes.
196
+ # be overridden in sub-classes.
197
197
  def return_message
198
198
  raise NotImplementedError
199
199
  end
@@ -13,7 +13,7 @@ module Aws
13
13
 
14
14
  def return_message
15
15
  if plural? && structure?
16
- "an array of {Structure structures} with the following memers:\n" + data_members
16
+ "an array of {Structure structures} with the following members:\n" + data_members
17
17
  elsif structure?
18
18
  "a {Structure} with the following members:\n" + data_members
19
19
  else
@@ -21,7 +21,7 @@ module Aws
21
21
 
22
22
  def return_base_message
23
23
  if returns_data_members
24
- "Calls {#{called_operation}}, returning its reponse."
24
+ "Calls {#{called_operation}}, returning its response."
25
25
  end
26
26
  end
27
27
 
@@ -30,7 +30,7 @@ module Aws
30
30
  #
31
31
  # ## Basic Usage
32
32
  #
33
- # Waiter will polls until it is succesful, it fails by
33
+ # Waiter will polls until it is successful, it fails by
34
34
  # entering a terminal state, or until a maximum number of attempts
35
35
  # are made.
36
36
  #
@@ -87,7 +87,7 @@ module Aws
87
87
  # maximum number of attempts have been made, and the waiter is not
88
88
  # yet successful.
89
89
  #
90
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encounted
90
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
91
91
  # while polling for a resource that is not expected.
92
92
  #
93
93
  # @raise [NotImplementedError] Raised when the resource does not
@@ -6,7 +6,7 @@ module Aws
6
6
  #
7
7
  # This client uses a process called "envelope encryption". Your private
8
8
  # encryption keys and your data's plain-text are **never** sent to
9
- # Amazon S3. **If you loose you encrption keys, you will not be able to
9
+ # Amazon S3. **If you loose you encryption keys, you will not be able to
10
10
  # un-encrypt your data.**
11
11
  #
12
12
  # ## Envelope Encryption Overview
@@ -175,7 +175,7 @@ module Aws
175
175
  # @option options [Symbol] :envelope_location (:metadata) Where to
176
176
  # store the envelope encryption keys. By default, the envelope is
177
177
  # stored with the encrypted object. If you pass `:instruction_file`,
178
- # then the envelope is stored in a seperate object in Amazon S3.
178
+ # then the envelope is stored in a separate object in Amazon S3.
179
179
  #
180
180
  # @option options [String] :instruction_file_suffix ('.instruction')
181
181
  # When `:envelope_location` is `:instruction_file` then the
@@ -13,7 +13,7 @@ module Aws
13
13
  # @option options [required, OpenSSL::PKey::RSA, String] :encryption_key
14
14
  # The master key to use for encrypting objects.
15
15
  # @option options [String<JSON>] :materials_description ('{}')
16
- # A description of the encyrption key.
16
+ # A description of the encryption key.
17
17
  def initialize(options = {})
18
18
  @encryption_materials = Materials.new(
19
19
  key: options[:encryption_key],
@@ -8,7 +8,7 @@ module Aws
8
8
  # * Responds to {#encryption_materials} with an {Materials} object.
9
9
  #
10
10
  # * Responds to {#key_for}, receiving a JSON document String,
11
- # returning an ecryption key. The returned encryption key
11
+ # returning an encryption key. The returned encryption key
12
12
  # must be one of:
13
13
  #
14
14
  # * `OpenSSL::PKey::RSA` - for asymmetric encryption
@@ -24,8 +24,8 @@ module Aws
24
24
  attr_reader :multipart_threshold
25
25
 
26
26
  # @param [String,Pathname,File,Tempfile] source
27
- # @option options [requried,String] :bucket
28
- # @option options [requried,String] :key
27
+ # @option options [required,String] :bucket
28
+ # @option options [required,String] :key
29
29
  # @return [void]
30
30
  def upload(source, options = {})
31
31
  if File.size(source) >= multipart_threshold
@@ -23,8 +23,8 @@ module Aws
23
23
  attr_reader :client
24
24
 
25
25
  # @param [String,Pathname,File,Tempfile] source
26
- # @option options [requried,String] :bucket
27
- # @option options [requried,String] :key
26
+ # @option options [required,String] :bucket
27
+ # @option options [required,String] :key
28
28
  # @return [void]
29
29
  def upload(source, options = {})
30
30
  if File.size(source) < MIN_PART_SIZE
@@ -120,7 +120,7 @@ module Aws
120
120
  thread.abort_on_exception = true
121
121
  threads << thread
122
122
  end
123
- errors = threads.map(&:value).compact
123
+ threads.map(&:value).compact
124
124
  end
125
125
 
126
126
  def compute_default_part_size(source_size)
@@ -172,7 +172,7 @@ module Aws
172
172
  # * Configure a {#before_request} callback.
173
173
  #
174
174
  # ```
175
- # poller.before_reqeust do |stats|
175
+ # poller.before_request do |stats|
176
176
  # logger.info("requests: #{stats.request_count}")
177
177
  # logger.info("messages: #{stats.received_message_count}")
178
178
  # logger.info("last-timestamp: #{stats.last_message_received_at}")
@@ -223,7 +223,7 @@ module Aws
223
223
  # Registers a callback that is invoked once before every polling
224
224
  # attempt.
225
225
  #
226
- # poller.before_reqeust do |stats|
226
+ # poller.before_request do |stats|
227
227
  # logger.info("requests: #{stats.request_count}")
228
228
  # logger.info("messages: #{stats.received_message_count}")
229
229
  # logger.info("last-timestamp: #{stats.last_message_received_at}")
@@ -239,7 +239,7 @@ module Aws
239
239
  # then the poller will exit normally before making the next long
240
240
  # poll request.
241
241
  #
242
- # poller.before_reqeust do |stats|
242
+ # poller.before_request do |stats|
243
243
  # throw :stop_polling if stats.received_messages >= 100
244
244
  # end
245
245
  #
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.0.47
4
+ version: 2.0.48
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-05-28 00:00:00.000000000 Z
11
+ date: 2015-06-04 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.0.47
19
+ version: 2.0.48
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.0.47
26
+ version: 2.0.48
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: