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 +4 -4
- data/lib/hylafax/send_fax.rb +3 -1
- data/lib/hylafax/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: 5066fe24599bf4bee31ecf17ad8f087243455cc9
|
4
|
+
data.tar.gz: f367ab72c66e8797b78c097d6d6c7b2358675644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c888f7b3cd9aa97e054bc54771f7bb839802a1fa198a94a3b50a013d6d71e3974f0646170cf0a4a19bf1524103d9224f16837498f76b487a66155efb8d0fdc
|
7
|
+
data.tar.gz: 535c81b39e1afc2e4c53032efe681755beadbc4511117d66c69aaf6cc97f0c759fd9d1ca27351e159ce035679ad4cb34893014691471979cfd557c526f509224
|
data/lib/hylafax/send_fax.rb
CHANGED
@@ -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 ||=
|
39
|
+
@document_filename ||= DOCUMENT_PREFIX +
|
40
|
+
Digest::MD5.file(document).hexdigest
|
39
41
|
end
|
40
42
|
|
41
43
|
def document_uploaded?
|
data/lib/hylafax/version.rb
CHANGED
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.
|
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.
|
101
|
+
summary: hylafax-0.2.1
|
102
102
|
test_files: []
|