crashbreak 0.9.7 → 0.9.8

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: aeddc67569778ac34f8fdf4d9486fa32b439b910
4
- data.tar.gz: 03f2fc08f7c55d795c83f4ec23a727783afa03b3
3
+ metadata.gz: fd8632fb1f25e7a084e471c6c75609daa428f1b9
4
+ data.tar.gz: aad96e49eea6b235b71069ab3ceac8a01ee00abf
5
5
  SHA512:
6
- metadata.gz: 19ca61684edf97c7669cad5581e832705f1af579270ff39a0ea279db1a8b75b24719d6dbb064b21085254beca20cec83c9dde2cdcef1af40289852dd8b112bd6
7
- data.tar.gz: 5e5431df098d0eb458f144d941bfe868be98759c5996df9b1eab21c2ad33677f1047ff95310c873990a1ce356ac456967b9aae8853cdde2fffbcb652bc5ba17b
6
+ metadata.gz: f484f92e3db991498e1080258cdb4e6c2f612e7fdece77c99fd6a15160d0c9d4059714bd6a2ad60b834c1c476cc7fbd0984f59e68c2b1efd440c37898e252f7d
7
+ data.tar.gz: 5cc115f292facd31a1b1d6975d8f17bc266adc728dea4b85121509757af101bfaadcd158e0841a89b963540f113c583d956a5ba831d16046b970aec36572bbff
@@ -1,3 +1,3 @@
1
1
  module Crashbreak
2
- VERSION = '0.9.7'
2
+ VERSION = '0.9.8'
3
3
  end
@@ -25,7 +25,7 @@ module Crashbreak
25
25
  end
26
26
 
27
27
  def aws_file_name
28
- @aws_file_name ||= "Crashbreak - database dump #{DateTime.now.utc}"
28
+ @aws_file_name ||= "Crashbreak - database dump #{unique_string}"
29
29
  end
30
30
 
31
31
  def dump_location
@@ -35,5 +35,10 @@ module Crashbreak
35
35
  def dump_command
36
36
  Crashbreak.configure.dumper_options[:dump_command]
37
37
  end
38
+
39
+ def unique_string
40
+ o = [('a'..'z'), ('A'..'Z')].map { |i| i.to_a }.flatten
41
+ (0...50).map { o[rand(o.length)] }.join
42
+ end
38
43
  end
39
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crashbreak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Janeczek