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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWNjYjljOTZkOGRmNTY4MTg0ZWExNGQ2M2JiZDVjNWRjZTRiMzZlOA==
4
+ ZDY5ZDhjNGIwMDE0NGM0OTNhNTMyNzdhOTVkMGJiMzNhOTE2ZDA4Yg==
5
5
  data.tar.gz: !binary |-
6
- Njc0NTM0NjM2NDI1NjBhNmY3YTJkOGY5MmQ0ZDA4N2Q4ZDU2OWQzNg==
6
+ NjM4NDI5OTA2ZDM0YTcyOWMwNjI3ZDgwMmVhODk4N2Y1MTQzZjVmZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTczMzM5ZWUwNmU4MmJkYTVlZmU1MDFlMDg2OTQ0NzQxMjA5NDExZmEwMTBh
10
- YzRiZDlkOGMxMTZlYjI2NmUyMjM3MWFjMmIxNjM0ZWJhNDg0OTQ2ODcwNTBl
11
- NDQwZmU1YTA2YTY0NjJlMDE3ZWI5MDdhNDI3NTlkOWE5YzMzMzg=
9
+ Njg3ZTVhZmRmMTlhOTY0OTMxZDYwMzU2NzlmNTY4NzE2ODFkMzI5ZDk3NGQz
10
+ ZjI3MWU0YjUzN2YzNjAwY2FiZTE2YzU5ZWE1MWM5NjQyY2JkNzEyNDA5ZWVl
11
+ NjU2MGI1NDg3NjhkNzM2ZjhiMTYwZGFhMWRmYzgwY2FiNzgyM2Y=
12
12
  data.tar.gz: !binary |-
13
- ZTU1MDM1MTA3YzRlNDVmZDc3ODEzNzNiZmJiOWQ3NjVlOWQ4NWU4YzdmZDM1
14
- MTQwZTA5YzEzMDZlOWQxNGY0M2E5Njc0YjA3OTUxMmI4ODU1OTNhY2Y4NjVh
15
- MTgwODgyYTk4MzU1MzYxNjMxZTliMTg1ZjA4N2Y5MWFmNjNjZDI=
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(filename)
19
+ t = Tempfile.new(basename)
18
20
 
19
21
  if !valido
20
22
  puts "convirtiendo a wav antes de subir"
@@ -1,3 +1,3 @@
1
1
  module Fonemas
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fonemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Bahamondez Honores