nifty-report 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module Nifty
9
9
  end
10
10
 
11
11
  def filename
12
- @name.downcase.gsub(' ', '.') + ".#{Time.now.strftime('%F.%H:%M')}.csv"
12
+ @name.downcase.gsub(' ', '.') + ".#{Time.now.strftime('%F')}.csv"
13
13
  end
14
14
 
15
15
  def csv
@@ -34,7 +34,7 @@ module Nifty
34
34
  AWS::S3::S3Object.store(filename, csv, ENV['AWS_S3_BUCKET'])
35
35
  remote_file = AWS::S3::S3Object.find(filename, ENV['AWS_S3_BUCKET'])
36
36
 
37
- ReportMailer.report_email(email_address, remote_file.url(expires_in: 30)).deliver
37
+ ReportMailer.report_email(email_address, remote_file.url(expires_in: 30 * 60)).deliver
38
38
  end
39
39
  end
40
40
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "nifty-report"
7
- spec.version = "0.0.5"
7
+ spec.version = "0.0.6"
8
8
  spec.authors = ["Scott Albertson"]
9
9
  spec.email = ["scott@thoughtbot.com"]
10
10
  spec.summary = %q{Create reports the easy way.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nifty-report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: