aws-sdk-resources 2.1.15 → 2.1.16

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: bb93e4083971457203168dcf7755e9d75db77c56
4
- data.tar.gz: 58f874d3b3318a97e7d76bc85caf7d2db2d40b16
3
+ metadata.gz: 002d7a176b0e53aa9cf07a311935c5e1149136c0
4
+ data.tar.gz: 6f5c9a6b3fa345b5747f883b10011416e49f5167
5
5
  SHA512:
6
- metadata.gz: d48673e7d4deeabda9d73a1f65d79179eb67210ddb5dd6de9908bd3f8a0b0454e901c5b07a86d41c550b9ed2f2eef8bd3bf32d8801e394c560ad39466799943d
7
- data.tar.gz: 29a5b425c5bd30735b3265e44bcc040382362fd72bafff1544f76ae2e5f2fd1aefd0fc60372b16a9a72a43f20c5a2edb961be82a40fb9ab92153beaf24f07124
6
+ metadata.gz: ffdf23dd5a48eb30eaecd45908af428be56425bbbf99c606be04512d3c7b2e0a1077224f6dddd8db6fd4a27b674888746122464899af502b589abafce9e53f7d
7
+ data.tar.gz: 58c9f280ebadc7ca90ade21ddad94741fa83cb962d0c2c4b64d58e6bacd37fadca5267a9fcf61c78362e6f6886924c7d2b248249555d4f5d7b71e1077d646863
@@ -17,6 +17,7 @@ module Aws
17
17
  # @option options [Client] :client
18
18
  def initialize(options = {})
19
19
  @client = options[:client] || Client.new
20
+ @thread_count = options[:thread_count] || THREAD_COUNT
20
21
  end
21
22
 
22
23
  # @return [Client]
@@ -102,7 +103,7 @@ module Aws
102
103
 
103
104
  def upload_in_threads(pending, completed)
104
105
  threads = []
105
- THREAD_COUNT.times do
106
+ @thread_count.times do
106
107
  thread = Thread.new do
107
108
  begin
108
109
  while part = pending.shift
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.15
4
+ version: 2.1.16
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-08-20 00:00:00.000000000 Z
11
+ date: 2015-08-25 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.15
19
+ version: 2.1.16
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.15
26
+ version: 2.1.16
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.5.0
109
+ rubygems_version: 2.4.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: AWS SDK for Ruby - Resources