upcloudify 0.0.2 → 0.0.3

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: 7d8a948dfd0ed2f1d7bae599ed5e7e77e1705290
4
- data.tar.gz: 766c25974e8fbbc199efd327320ff0d61294f8d7
3
+ metadata.gz: ca722e487d4c17a7b5ccc2098583d9d736319b79
4
+ data.tar.gz: e030b5f7783420f82bb6d93f5d73758b487c47ae
5
5
  SHA512:
6
- metadata.gz: 0a39864b67f6ae921db5edf541cef2c56c98afa9736674421d8ade2ec2e9ebecc7b38ef8eb744041871e8c015bda333802a426d1c2c65cf08ff7541778283724
7
- data.tar.gz: c9efeb87df6f2d139d7f4ab8d2d65ddbff8ce34e54cd8223a66785bf62a81dcd0f0d05071b955070e3821f075bc06780ce572378813d7a5eb36d8da38a025bed
6
+ metadata.gz: b3d9d095441995cb79acea9e7f69e51417d401de1bdd5adcca8577adc3cf04b622c774e3aa84e0d49993c31a50771dd37f6f5027994d67d537c01d9b9edb22ac
7
+ data.tar.gz: e4edcd2d8e70b521e9a9e3c81fd51d25a9f1b864621ed44a7c0c99d4c34bfc8818b5ada57a11fd2f47c41927df458eecf6a9771176d0ba336cc15b36103731b0
@@ -1,3 +1,3 @@
1
1
  module Upcloudify
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/upcloudify.rb CHANGED
@@ -4,6 +4,7 @@ require 'zip/zip'
4
4
  require 'zippy'
5
5
  require 'pony'
6
6
  require 'fog'
7
+ require 'date'
7
8
 
8
9
  module Upcloudify
9
10
  include GemConfig::Base
@@ -45,7 +46,7 @@ module Upcloudify
45
46
  filename,
46
47
  attachment,
47
48
  options={suffix: " generated on #{Time.now.to_s}",
48
- expiration: Time.now.next_month.end_of_month,
49
+ expiration: (Date.today + 30).to_time,
49
50
  from: 'upcloudify',
50
51
  subject: 'your file is attached',
51
52
  body: 'your report is linked '})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upcloudify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - parasquid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-21 00:00:00.000000000 Z
11
+ date: 2013-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler