report_card 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/workers/report_card/runner.rb +1 -2
- data/lib/report_card/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5822cdf7b89f25ec936afa256af2e700a4d29739
|
4
|
+
data.tar.gz: 7dc99f1424fde5c78c894a744e4b0576101f54c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c394db0e2fc9cd8a4f396ee2fd235dae06fbe3c6ac37b524522ffa4edc3db61b5c9cc1070d0680988695e366f1216a7880b138ebd367e250e500672bcf6fc37b
|
7
|
+
data.tar.gz: badc5f22e1caedd6f399db6c419fd1ef502f7f9205c6dc94e0be40c0027ec0ef6aca6c709b6ce208b5369dbddc6560184a5bb4f5e36bfe4e164d39450a8df737
|
@@ -10,12 +10,11 @@ module ReportCard
|
|
10
10
|
tempfile = Tempfile.new(['report_card', '.csv'])
|
11
11
|
csv = CSV.open(tempfile, 'wb')
|
12
12
|
report.to_csv(csv)
|
13
|
+
csv.close
|
13
14
|
|
14
15
|
uploader = ReportCard::Uploader.new
|
15
16
|
uploader.store!(csv)
|
16
17
|
|
17
|
-
csv.close
|
18
|
-
|
19
18
|
ReportCard::Mailer.report(uploader.url, recipient_email).deliver
|
20
19
|
end
|
21
20
|
end
|
data/lib/report_card/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: report_card
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Giancola
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|