bulk-processor 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/bulk-processor.gemspec +1 -1
- data/lib/bulk_processor/s3_file.rb +2 -1
- data/lib/bulk_processor/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecb6ee82e68044804b2f9f8f48ae17b1efba91d8
|
4
|
+
data.tar.gz: 037eb2c0c5797237a8e4ceca742c3b3fc1979b83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2f737ae0fb30507c08b1ce15f2602fd58878542891c4383d0266d5868831939ea908bc0427812a0e0b790b34ecc64d40c954ebb5c89b2b2043d0c59065d7cd5
|
7
|
+
data.tar.gz: '0482606f761cadf74ed55b59c7fd81983346ff3d814f090a7205c849324e53d78f823d9829ac2e98dde1cf9cf82a0b9568db6ff28480db46c4cebffb4d5ae777'
|
data/.travis.yml
CHANGED
data/bulk-processor.gemspec
CHANGED
@@ -26,7 +26,7 @@ success or failure report
|
|
26
26
|
|
27
27
|
spec.add_development_dependency 'activejob', '~> 4'
|
28
28
|
spec.add_development_dependency 'bundler'
|
29
|
-
spec.add_development_dependency 'dynosaur', '~> 0.
|
29
|
+
spec.add_development_dependency 'dynosaur', '~> 0.3'
|
30
30
|
spec.add_development_dependency 'pry-byebug', '~> 3'
|
31
31
|
spec.add_development_dependency 'rake', '~> 10.4'
|
32
32
|
spec.add_development_dependency 'rspec', '~> 3.3'
|
@@ -26,7 +26,8 @@ class BulkProcessor
|
|
26
26
|
# @yields [File] a local copy of the remote file
|
27
27
|
def open
|
28
28
|
with_temp_file do |local_file|
|
29
|
-
client.get_object(
|
29
|
+
object = client.get_object(bucket: bucket, key: key)
|
30
|
+
local_file.write(object.body.read)
|
30
31
|
local_file.rewind
|
31
32
|
yield local_file
|
32
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulk-processor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Collier, Justin Richard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: '0.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: '0.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry-byebug
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,9 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.6.11
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: Background process CSV data
|
194
194
|
test_files: []
|
195
|
-
has_rdoc:
|