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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5d0cde0e86097416d0234ead33d2836f4e08c7a
4
- data.tar.gz: d176ea1309c0e618ccf718fd8c4320a2b3948831
3
+ metadata.gz: ecb6ee82e68044804b2f9f8f48ae17b1efba91d8
4
+ data.tar.gz: 037eb2c0c5797237a8e4ceca742c3b3fc1979b83
5
5
  SHA512:
6
- metadata.gz: 5dfea7cabd9b210116fd21644d34740793f785df799b954c79bdc452f0ec11155575465f0d9ac6bd6b4c1fc2df2a8ca96902c142c99ff15c6a5182761e970f55
7
- data.tar.gz: 9b8dc6e9fcd908b6bf0ddc2e6e9c4a36c89ba398ccb11016ed2668c188339b953a4e8c4c58bf8c8025b7ae1b3903170871617fd8e6a808a6d68164ede85af3aa
6
+ metadata.gz: f2f737ae0fb30507c08b1ce15f2602fd58878542891c4383d0266d5868831939ea908bc0427812a0e0b790b34ecc64d40c954ebb5c89b2b2043d0c59065d7cd5
7
+ data.tar.gz: '0482606f761cadf74ed55b59c7fd81983346ff3d814f090a7205c849324e53d78f823d9829ac2e98dde1cf9cf82a0b9568db6ff28480db46c4cebffb4d5ae777'
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
4
- - 2.2.3
3
+ - 2.3.4
4
+ - 2.4.2
5
5
  branches:
6
6
  only: master
@@ -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.2.1'
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({ bucket: bucket, key: key }, target: local_file)
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
@@ -1,3 +1,3 @@
1
1
  class BulkProcessor
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  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.0
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: 2016-01-26 00:00:00.000000000 Z
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.2.1
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.2.1
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.4.5
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: