tesults 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/tesults.rb +3 -3
  3. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ee8de6dd8552c947659aebea45ef94cb5e6f738e
4
- data.tar.gz: 771e0d69d0f437251875edbd5f1d7f8b56c16c16
2
+ SHA256:
3
+ metadata.gz: 4597022126eecf0325be1068c1c6ca153f37e8421ddbf63963f3e1b51ef79f2a
4
+ data.tar.gz: b256ac7a4f8aa3106caacc416ae5216c8e25997398e113f359301b491665fbe4
5
5
  SHA512:
6
- metadata.gz: f4d84658b97a8f05b737c3efd110317e81ea1b25b7a92e35b1315f0872317ebfa688c24d3389bd7dfde86a8eedbee652a293e1783dee56c5e5df65844b84c922
7
- data.tar.gz: 8a8a34a60c0b6381fbe389cb41c99c0fdf343d89ebfd70f16fa84ee4bdaa19df5d69c5a52cb3ee896201a371867491d60cdd16edbb00e35312d17e0c63ce93e0
6
+ metadata.gz: ba48b9cfe2b614a717d9567282cecff1e361b28453cde854b059e8ec1f3ffbdf28857340faa4a898db6dbac2a9790b9c4da8eb6b10e8aa1d2118ccf25d65b33e
7
+ data.tar.gz: d72bb4e612d830547be69545822297d9b97195e721677125c4c561735b615337ec2d7438b347bafe13460f34a7a98d8004b24878f0a9b7661ddab9b3e2f29e67
data/lib/tesults.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'json'
2
2
  require 'uri'
3
3
  require 'net/https'
4
- require 'aws-sdk'
4
+ require 'aws-sdk-s3'
5
5
 
6
6
  class Tesults
7
7
  @@expire_buffer = 30 # 30 seconds
@@ -10,7 +10,7 @@ class Tesults
10
10
  @@uploading = []
11
11
  @@warnings = []
12
12
 
13
- def self.create_s3_cilent(credentials)
13
+ def self.create_s3_client(credentials)
14
14
  s3_client = Aws::S3::Client.new(
15
15
  region: 'us-east-1',
16
16
  access_key_id: credentials['AccessKeyId'],
@@ -50,7 +50,7 @@ class Tesults
50
50
 
51
51
  def self.transfer(file, bytes, key, auth)
52
52
  Thread.new {
53
- s3 = create_s3_cilent(auth)
53
+ s3 = create_s3_client(auth)
54
54
  increment = 1
55
55
  bytes_increment = bytes
56
56
  begin
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tesults
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Tesults
7
+ - Ajeet Dhaliwal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-22 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aws-sdk
14
+ name: aws-sdk-s3
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: aws-sdk
28
+ name: aws-sdk-s3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Tesults API library for uploading test results to Tesults in your Ruby
@@ -57,17 +57,17 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '>='
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.0.14.1
70
+ rubygems_version: 2.7.6
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Tesults API library.