hylafax 0.2.0 → 0.2.1

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: 48ac10855d7064eaadb8ccbf8f5981c626275bb6
4
- data.tar.gz: 5b01e8cde7fe8b3881803372aeb4ba97bb4265c0
3
+ metadata.gz: 5066fe24599bf4bee31ecf17ad8f087243455cc9
4
+ data.tar.gz: f367ab72c66e8797b78c097d6d6c7b2358675644
5
5
  SHA512:
6
- metadata.gz: ea62247c292a0d0667a17d247acd9f885bb17dd59217638b27f47dce1013430c2623e56dc3d85fb239773979844065fb12b3047a520c32115ee8647372f6985f
7
- data.tar.gz: e5f2bf5d99fe1738c11c6803f3e7494cb7e7e96c9a166d14b989da0713685d3b6341ffe744fd517eee017ddec492829071f6c2c848bdc09c515ed8ff816776a6
6
+ metadata.gz: e4c888f7b3cd9aa97e054bc54771f7bb839802a1fa198a94a3b50a013d6d71e3974f0646170cf0a4a19bf1524103d9224f16837498f76b487a66155efb8d0fdc
7
+ data.tar.gz: 535c81b39e1afc2e4c53032efe681755beadbc4511117d66c69aaf6cc97f0c759fd9d1ca27351e159ce035679ad4cb34893014691471979cfd557c526f509224
@@ -1,6 +1,7 @@
1
1
  module HylaFAX
2
2
  class SendFax < Command
3
3
  DEFAULT_TMP_DIR = 'tmp'
4
+ DOCUMENT_PREFIX = 'doc.'
4
5
 
5
6
  attr_reader :dialstring, :document, :tmp_dir, :job_id
6
7
 
@@ -35,7 +36,8 @@ module HylaFAX
35
36
  end
36
37
 
37
38
  def document_filename
38
- @document_filename ||= Digest::MD5.file(document).hexdigest
39
+ @document_filename ||= DOCUMENT_PREFIX +
40
+ Digest::MD5.file(document).hexdigest
39
41
  end
40
42
 
41
43
  def document_uploaded?
@@ -1,3 +1,3 @@
1
1
  module HylaFAX
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hylafax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Björn Albers
@@ -98,5 +98,5 @@ rubyforge_project:
98
98
  rubygems_version: 2.6.10
99
99
  signing_key:
100
100
  specification_version: 4
101
- summary: hylafax-0.2.0
101
+ summary: hylafax-0.2.1
102
102
  test_files: []