google_speech 0.3.1 → 0.3.2

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: 308bea0bbf8297bbe42f197906b271e789453629
4
- data.tar.gz: 4829db0fc7ceecf1c91de0b044f108bf3016eea3
3
+ metadata.gz: d75282abd8051652fe4ca75b4a8548eef3a9e94a
4
+ data.tar.gz: 8055728db0dcab07abaec90fdcb27e09f4f34cb9
5
5
  SHA512:
6
- metadata.gz: 7b536794d1d6ee96227f2a21a3928a11d83583ef982597b872520422510a873bc1cbd431cffe8f4f52a6428a74d54900aa39a2ffffc0d8b054659c5a15704792
7
- data.tar.gz: 28d88d63f1a08eccd9c36010a7cc0bfe89292487029c96528648529428b02210c9ebe09d26700e436b6157a67f733c35555d1fe10c1776336b928c3b093597c2
6
+ metadata.gz: 44d39ebd415c9648dd61b9a6c6212f2b6cc92027fece77038fdc1b0907b634e212ecbb46d07a74fcd5952e47e6c5c18e464bb5d191410d9cefe922538a779fba
7
+ data.tar.gz: 69ccedc953378a08a3cad93be6474ad7075633b70073ebcfed3cb4e0385f78a4e62419074a2f85b857a9912643ae89c354e4fce1728f647595acaa978d6345b0
@@ -9,8 +9,10 @@ module GoogleSpeech
9
9
  attr_accessor :original_file, :options, :results
10
10
 
11
11
  DEFAULT_OPTIONS = {
12
- :key => 'AIzaSyCnl6MRydhw_5fLXIdASxkLJzcJh5iX0M4',
13
- :client => SecureRandom.hex,
12
+ # :key => 'AIzaSyCnl6MRydhw_5fLXIdASxkLJzcJh5iX0M4',
13
+ # :client => SecureRandom.hex,
14
+ :key => 'AIzaSyBOti4mM-6x9WDnZIjIeyEU21OpBXqWBgw',
15
+ :client => 'chrome',
14
16
  :audio_type => 'audio/l16',
15
17
  :rate => 8000,
16
18
  :language => 'en-us',
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module GoogleSpeech
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
@@ -5,7 +5,7 @@ require 'spec_helper'
5
5
  describe GoogleSpeech::Transcriber do
6
6
 
7
7
  it 'transcribes a file' do
8
- f = File.open(File.join(File.dirname(__FILE__), 'test.wav'))
8
+ f = File.open(File.join(File.dirname(__FILE__), '../curiouscity.wav'))
9
9
 
10
10
  transcriber = GoogleSpeech::Transcriber.new(f)
11
11
  t = transcriber.transcribe
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_speech
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kuklewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-08 00:00:00.000000000 Z
11
+ date: 2014-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon