clark_kent 0.4.1 → 0.4.2

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: bf0da90652407b6328652a10fc298b45de321ab5
4
- data.tar.gz: 4032cef17661277e0d77d922a54cee4849ed82c7
3
+ metadata.gz: 333166cf8078686be04bdc9b68dd9233613357cb
4
+ data.tar.gz: dd4f288248e5a2fba743aaee8483069d08ba0067
5
5
  SHA512:
6
- metadata.gz: 03cd7d300c3b9617a12c230e775a6cfb9408cfc36cec6df88066899b5c68de330d52e08c823e613c74ebafdb9c397bc831c52a2b31cb4b8939cdf25df0dcd6ef
7
- data.tar.gz: 6b85396de8f9567b1d00aebeb01004425dd3cbf20b39518f0f9eae16509233e1ed2d6d58c34be3ebf2b0a3589ce3f110d54704a8ce8b6b71d776e66d2b5f931e
6
+ metadata.gz: c5853c17cd2084e76d32e1e58847f6b785193cdc6724a1b3f54439b40818cf1333a1252bf658b2b46ffdfa76ef23e112a1921687a64f4a99a09864969aaba5d1
7
+ data.tar.gz: 7f52820914df9731896b0ad1120c889fc5fa6e9ab7142cfad6d2f5a41749814b0ded76d3e05f5e7a3a7129060daa3a3059fb3dd0d42fd67d09155e0200625723
@@ -1,4 +1,5 @@
1
1
  module ClarkKent
2
+ require 'aws-sdk-v1'
2
3
  # load the builders
3
4
  Dir.glob(Rails.root.join('app/models/reporting/*.rb')) { |file| load file }
4
5
  class Report < ActiveRecord::Base
@@ -26,7 +27,7 @@ module ClarkKent
26
27
  report = ('ClarkKent::ReportEmail' == report_class.name) ? reportable.report : reportable
27
28
  query = reportable.get_query(params)
28
29
  row_count = reportable.get_query(params, true)
29
- bucket = Aws::S3::Bucket.new(ClarkKent::ReportUploaderBucketName)
30
+ bucket = AWS::S3::Bucket.new(ClarkKent::ReportUploaderBucketName)
30
31
  report_destination = bucket.objects[params[:report_result_name]]
31
32
  byte_count = 0
32
33
  temp_buffer = report.headers.to_csv
@@ -1,3 +1,3 @@
1
1
  module ClarkKent
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clark_kent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -133,19 +133,19 @@ dependencies:
133
133
  - !ruby/object:Gem::Version
134
134
  version: '1.0'
135
135
  - !ruby/object:Gem::Dependency
136
- name: aws-sdk
136
+ name: aws-sdk-v1
137
137
  requirement: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "<"
140
140
  - !ruby/object:Gem::Version
141
- version: '3'
141
+ version: '2'
142
142
  type: :runtime
143
143
  prerelease: false
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "<"
147
147
  - !ruby/object:Gem::Version
148
- version: '3'
148
+ version: '2'
149
149
  - !ruby/object:Gem::Dependency
150
150
  name: sqlite3
151
151
  requirement: !ruby/object:Gem::Requirement