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 +4 -4
- data/app/models/clark_kent/report.rb +2 -1
- data/lib/clark_kent/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 333166cf8078686be04bdc9b68dd9233613357cb
|
4
|
+
data.tar.gz: dd4f288248e5a2fba743aaee8483069d08ba0067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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
|
data/lib/clark_kent/version.rb
CHANGED
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.
|
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: '
|
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: '
|
148
|
+
version: '2'
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
150
|
name: sqlite3
|
151
151
|
requirement: !ruby/object:Gem::Requirement
|