fonemas 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/audioupload +3 -1
- data/lib/fonemas/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDY5ZDhjNGIwMDE0NGM0OTNhNTMyNzdhOTVkMGJiMzNhOTE2ZDA4Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjM4NDI5OTA2ZDM0YTcyOWMwNjI3ZDgwMmVhODk4N2Y1MTQzZjVmZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njg3ZTVhZmRmMTlhOTY0OTMxZDYwMzU2NzlmNTY4NzE2ODFkMzI5ZDk3NGQz
|
10
|
+
ZjI3MWU0YjUzN2YzNjAwY2FiZTE2YzU5ZWE1MWM5NjQyY2JkNzEyNDA5ZWVl
|
11
|
+
NjU2MGI1NDg3NjhkNzM2ZjhiMTYwZGFhMWRmYzgwY2FiNzgyM2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2RmMTJkYTE4Mzc0ZTJkMTY4MDAwZDViNjgxNTZjMDUwNjZiMmM0ODAzZGI5
|
14
|
+
ZjEyMWU4M2QyNzdlNjUyNDkyNzYyZjNiNTUxMTRiNTJkOGM4NDFjNGJkNDc2
|
15
|
+
MmY1NWRmYzA1NjJhYzRhMzhlYWIyZWY4NGY4NWJmNjYyNDQyY2M=
|
data/bin/audioupload
CHANGED
@@ -6,6 +6,8 @@ require 'rest_client'
|
|
6
6
|
require 'mime/types'
|
7
7
|
require 'tempfile'
|
8
8
|
filename = ARGV[1]
|
9
|
+
basename = File.basename(filename)
|
10
|
+
|
9
11
|
types = MIME::Types.type_for(filename)
|
10
12
|
valido = false
|
11
13
|
for i in types
|
@@ -14,7 +16,7 @@ for i in types
|
|
14
16
|
end
|
15
17
|
end
|
16
18
|
|
17
|
-
t = Tempfile.new(
|
19
|
+
t = Tempfile.new(basename)
|
18
20
|
|
19
21
|
if !valido
|
20
22
|
puts "convirtiendo a wav antes de subir"
|
data/lib/fonemas/version.rb
CHANGED